|Perl Monk, Perl Meditation|
Re^3: Lexical scoping like a foxby convenientstore (Pilgrim)
|on Jan 13, 2008 at 16:26 UTC||Need Help??|
Excellent tutorial for me(newbie)
Couple other questions/comments
1)using input record separator as newline indicator is very interesting. Never seen it before but works well. Any reason?
I am assuming it's just a style issue?
2)Below code from tutorial does not work when I insert my next to variable.. can someone explain this?
3)can someone explain further on "lexical variables are declared at compile-time, not initialised?
Is this because BEGIN runs during compile-time? I sneaked in a new my $foo = something inside of BEGIN
block and execution of the code came out w/ foo is something during BEGIN phase