ukryule has asked for the wisdom of the Perl Monks concerning the following question:
(Incidentally my problem is parsing an HTML::Element object)@children = $h->content_list; foreach $c (@children) { if (is_scalar($c)) { print "$c\n"; } else { $c->do_something(); } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How do you identify a reference?
by belg4mit (Prior) on May 09, 2002 at 04:34 UTC | |
|
Re: How do you identify a reference?
by dsb (Chaplain) on May 09, 2002 at 17:38 UTC |