Your skill will accomplish what the force of many cannot |
|
PerlMonks |
HTML::LinkExtor weirdnessby skazat (Chaplain) |
on Nov 06, 2013 at 20:51 UTC ( [id://1061477]=perlquestion: print w/replies, xml ) | Need Help?? |
skazat has asked for the wisdom of the Perl Monks concerning the following question: Observe the following code:
In this barebones example, I want to grab the links in found in $str, and I encapsulate all my stuff in the find_my_links() subroutine. Easy enough, and it works! Once. If I call the parse() method twice, the second time will return an empty list. Why?
-skazat
Back to
Seekers of Perl Wisdom
|
|