joker0927 has asked for the wisdom of the Perl Monks concerning the following question:
When ran as c:>test.pl /?use strict; package SAR; &get_args (@ARGV); sub get_args { my @help = <DATA>; ($ARGV[0] eq "/?") && (die @help); } return 1; __DATA__ testing 1 testing 2 testing 3
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: perlapp, die, and __DATA__
by grep (Monsignor) on Apr 25, 2003 at 04:36 UTC | |
by integral (Hermit) on Apr 25, 2003 at 06:44 UTC | |
|
Re: perlapp, die, and __DATA__
by JamesNC (Chaplain) on Apr 25, 2003 at 08:54 UTC | |
by integral (Hermit) on Apr 25, 2003 at 10:47 UTC | |
|
Re: perlapp, die, and __DATA__
by Anonymous Monk on Apr 25, 2003 at 04:48 UTC | |
|
Re: perlapp, die, and __DATA__
by joker0927 (Novice) on Apr 25, 2003 at 17:59 UTC |