|
|
| There's more than one way to do things | |
| PerlMonks |
Re: why does this perl routine error?by toolic (Chancellor) |
| on Sep 07, 2012 at 20:40 UTC ( #992369=note: print w/ replies, xml ) | Need Help?? |
|
The 1st "Use of uninitialized value in split" warning message you get is because the @url array does not have more that one element. Therefore, $url[1] is undefined. You can prove this to yourself by adding this debug line:
See also:
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||