in reply to why does -e work and not \n on strawberry perl
Perhaps the confusion lies in the fact that the first example is intended to be in a script file, while the second is intended to run from the command line?
Full code for the first one would be something like
Obviously your second one is working, so there is not much question about that...#!(path/to/perl.exe) use strict; use warnings; print "Howdy, World\n";
...the majority is always wrong, and always the last to know about it...
Insanity: Doing the same thing over and over again and expecting different results...
A solution is nothing more than a clearly stated problem...otherwise, the problem is not a problem, it is a facct
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: why does -e work and not \n on strawberry perl
by Red Viper (Novice) on Jun 05, 2014 at 05:44 UTC |