Edited by Rococi on 10/16/02 12:44 PM (server time).
# Iterate through each file attached to the workflowforeach my $file_path (@filename){ # If file is a DCR, then call the generate subfunctions. if($file_path =~ /templatedata\\.*\\data\\/i) { my $generated_page; # Get path of the DCR my $dcr_path = "$area_path\\$file_path"; # Use the name of the DCR as the generated page name and add a .asp extension ($generated_page = $file_path) =~ s/^templatedata\\.*\\data\\([a-z0-9_\s]+)(\.?)(.*)$/$iw_mount$area_path\\Builders\\$1\.asp/i; &generate_page($dcr_path,$generated_page,$builder_page_template); }}