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/
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

Reply via email to