in reply to Running perl functions from a command line
If you want to run each function separately, put them each into their own script, and run the script from a batch file.
foo.bat:
perl -w foo.pl %1 %2 %3
foo.pl:
#!/usr/bin/perl -w # sub foo { my ( $var1, $var2, $var3 ) = @_; # More code follows, using the passed parameters. }
That should work.
--t. alexLife is short: get busy!
Update:: Added parameter list on Perl script.
In Section
Seekers of Perl Wisdom