in reply to Re: Re: Re: chomp any data structure recursively
in thread chomp any data structure recursively

I always thought and assumed the for modifier would set $_ ...
(You did see it, didn't you? It's just before the sub's closing curly.)

2;0 juerd@ouranos:~$ perl -e'undef christmas' Segmentation fault 2;139 juerd@ouranos:~$

Replies are listed 'Best First'.
Re: Re: Re: Re: Re: chomp any data structure recursively
by merlyn (Sage) on Dec 21, 2001 at 01:55 UTC
    Argh. You do have a for, waaaaaaaay down there. OK, I'm gonna write this one down as a tough-to-maintain snippet then. Seeing that, you're fine.

    -- Randal L. Schwartz, Perl hacker