in reply to Re^3: Scripts work when run individually but not when run as one compiled script
in thread Scripts work when run individually but not when run as one compiled script
You probably meant it implicitly, but delimiters cannot be word characters (or alphanumerical characters).
Heheh, try it
$ perl -le" $_ = q\e\; s OeOEO; print " E $ perl -MO=Deparse -le" $_ = q\e\; s OeOEO; print " BEGIN { $/ = "\n"; $\ = "\n"; } $_ = 'e'; s/e/E/; print $_; -e syntax OK $ perl -le" $_ = q 1e1; s 1e1E1; print " E $ perl -MO=Deparse -le" $_ = q 1e1; s 1e1E1; print " BEGIN { $/ = "\n"; $\ = "\n"; } $_ = 'e'; s/e/E/; print $_; -e syntax OK
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Scripts work when run individually but not when run as one compiled script
by shmem (Chancellor) on Jan 20, 2016 at 09:04 UTC | |
|
Re^5: Scripts work when run individually but not when run as one compiled script
by Laurent_R (Canon) on Jan 20, 2016 at 13:57 UTC | |
by shmem (Chancellor) on Jan 24, 2016 at 21:00 UTC |