On Jun 19 2001, Bob Mangold wrote: > my ($line) = "hello"; > foreach $line (<>){ > ..... whatever > } > print $line; This code snippet will print "hello", since the foreach loop gives its iterator variable an implicit declaration with "local", AFAIK. []s, Roger... -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Rogério Brito - [EMAIL PROTECTED] - http://www.ime.usp.br/~rbrito/ =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
- Re: getting memory info from system perl
- Re: getting memory info from system Chris Hedemark
- variable losing it's value Bob Mangold
- Re: variable losing it's value perl
- Re: variable losing it's value Jeff 'japhy' Pinyan
- Re: variable losing it's value Bob Mangold
- Re: variable losing it's value Chas Owens
- Re: variable losing it's value Michael Fowler
- Re: variable losing it's value Eric Beaudoin
- Re: variable losing it's value Michael Fowler
- Re: getting memory info from system Rogério Brito
- Re: getting memory info from system Chas Owens
- Re: getting memory info from system Chris Hedemark
- Re: getting memory info from system Chas Owens