In a message dated 4/15/2004 3:19:04 PM Eastern Daylight Time, [EMAIL PROTECTED] writes: >I'm trying to create a script with where you can put a flag to the script or >not >fx run it like: [Rest snipped]
It's best not to deal with @ARGV directly if you want to do the fancy stuff. Look into Getopt::Std or Getopt::Long. perldoc Getopt::Long perldoc Getopt::Std -will (the above message is double rot13 encoded for security reasons) Most Useful Perl Modules -strict -warnings -Devel::DProf -Benchmark -B::Deparse -Data::Dumper -Clone (a Godsend) -Perl::Tidy -Beautifier -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>