On Mon, Jul 12, 2010 at 15:21, redtigra <redti...@gmail.com> wrote: > Rob, > > GREAT thanks, your explanantion is very detailed and very clear. Looks > like I don't have a clear understanding regarding -n option, so I have > something for reading for the evening :) snip
When trying to understand what Perl is doing behind the scenes it is often useful to use [B::Deparse][1]: perl -MO=Deparse -ne 'print "foo\n"' yields: LINE: while (defined($_ = <ARGV>)) { print "foo\n"; } [1]: http://perldoc.perl.org/B/Deparse.html -- Chas. Owens wonkden.net The most important skill a programmer can have is the ability to read. -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/