(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(); } }
In reply to How do you identify a reference? by ukryule
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |