N
Nicolas Fleury
Hi,
I make a script to run on Windows with ActivePerl and I would like to
make the script run with a -p or -n argument, but I want the script to
be called by its extension, which means I cannot do as on Unix and use
the #! syntax.
Is there a way to specify these parameters with a use clause, as with
"use warnings" for "perl -w"? Is the only solution to add other
extensions, like .plp and .pln, for scripts to be called with "perl -p"
and "perl -n" (or write it by hand)?
Thx
Nicolas Fleury
I make a script to run on Windows with ActivePerl and I would like to
make the script run with a -p or -n argument, but I want the script to
be called by its extension, which means I cannot do as on Unix and use
the #! syntax.
Is there a way to specify these parameters with a use clause, as with
"use warnings" for "perl -w"? Is the only solution to add other
extensions, like .plp and .pln, for scripts to be called with "perl -p"
and "perl -n" (or write it by hand)?
Thx
Nicolas Fleury