Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
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??


in reply to why does this perl routine error?

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

Replies are listed 'Best First'.
Re^2: why does this perl routine error?
by robertw (Sexton) on Sep 07, 2012 at 20:45 UTC

    Thank I will look into this now:) I am happy when i finally program with strict and warnings on since I can declare lexicals strictly and make easily reusable modules:)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://992371]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2016-08-27 20:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (387 votes). Check out past polls.