in reply to ExtUtils::Embed function sequence affect output?
This only works by accident. See perlrun (emphasis mine):
-e commandline
may be used to enter one line of program. If -e is given, Perl will not look for a filename in the argument list. Multiple -e commands may be given to build up a multi-line script. Make sure to use semicolons where you would in a normal program.
Or, try this:
perl -le 'print' -e '"foo"'
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: ExtUtils::Embed function sequence affect output?
by xiaoyafeng (Deacon) on Jul 16, 2013 at 14:22 UTC | |
by rjt (Curate) on Jul 16, 2013 at 16:44 UTC |