in reply to Re: sending data thru a sub routine
in thread sending data thru a sub routine
and i guess for each file i can do something like the following psuedocode to send it to the subroutine correct?system_prompt>my_script.pl $file1 system_prompt>my_script.pl $file2
my $file1 = 'extracted/file1; sub infile($file1); #will this be passed to ARGV[0]? #THEN further in the script... my $file2 = 'extracted/file2; sub infile(file2); #will this be sent to ARGV[0] as well after the fi +rst file?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: sending data thru a sub routine
by kcott (Archbishop) on May 11, 2014 at 21:16 UTC | |
by james28909 (Deacon) on May 12, 2014 at 01:54 UTC | |
|
Re^3: sending data thru a sub routine
by Laurent_R (Canon) on May 11, 2014 at 21:02 UTC | |
by james28909 (Deacon) on May 12, 2014 at 01:44 UTC | |
by Laurent_R (Canon) on May 12, 2014 at 06:15 UTC |