Red Viper has asked for the wisdom of the Perl Monks concerning the following question:
Hello Monks,
This is my first post. I started reading the Programming Perl Book, the one with the Camel. And it tells me to say "Howdy World" by coding this:
print "Howdy, World\n";Instead I found a website that suggested I use this and it worked:
perl -e "print 'Howdy World'"So what is going on? Is this an update since the book was written or is this just something Strawberry Perl uses
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: why does -e work and not \n on strawberry perl
by wjw (Priest) on Jun 05, 2014 at 04:09 UTC | |
by Red Viper (Novice) on Jun 05, 2014 at 05:44 UTC | |
|
Re: why does -e work and not \n on strawberry perl
by no_slogan (Deacon) on Jun 05, 2014 at 03:31 UTC | |
| A reply falls below the community's threshold of quality. You may see it by logging in. |