Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
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


Comment on Re: why does this perl routine error?
Select or Download Code
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 exploiting the Monastery: (11)
As of 2015-07-06 07:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (70 votes), past polls