|
|
| Just another Perl shrine | |
| PerlMonks |
Re: why does this perl routine error?by jethro (Monsignor) |
| on Sep 07, 2012 at 20:42 UTC ( #992371=note: print w/ replies, xml ) | Need Help?? |
|
You have more than one split in there. If the first split can't split because the search string isn't found then the complete string would be in $url[0]. Consequently $url[1] would be undef. Same for @url1
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||