Think about Loose Coupling | |
PerlMonks |
Re: chomp any data structure recursivelyby gbarr (Monk) |
on Dec 21, 2001 at 19:11 UTC ( [id://133765]=note: print w/replies, xml ) | Need Help?? |
I thought I would comment because not one of the solutions given handle a reference to a reference. So here is my non-recursive solution.
Of course even this is not complete as there could be a reference to a GLOB, which could contain a SCALAR, HASH and ARRAY. But who would use those :)
In Section
Cool Uses for Perl
|
|