in reply to while(eval $c){} with self-modifying $c.

Perl won't get confused, but you might!

I can't believe that this is the best way to accomplish whatever you're trying to do.

  • Comment on Re: while(eval $c){} with self-modifying $c.

Replies are listed 'Best First'.
Re: Re: while(eval $c){} with self-modifying $c.
by strredwolf (Chaplain) on Nov 24, 2000 at 21:59 UTC
    It's an idle throught. I was thinking of the code in $c progressively expanding out $c itself. So eval will copy $c eval that copy? Hmmm...

    --
    $Stalag99{"URL"}="http://stalag99.keenspace.com";