![]() |
|
Don't ask to ask, just ask | |
PerlMonks |
Re: Re: while modifierby Anonymous Monk |
on Sep 21, 2001 at 01:05 UTC ( #113704=note: print w/replies, xml ) | Need Help?? |
my $foo_text; # this also works $foo_text is not being initialized to $_ ? I thought my $foo_text .= $_ while (<DATA>); was the same as a declaration/initialization statement my $foo_text = "text";
In Section
Seekers of Perl Wisdom
|
|