Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
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
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 imbibing at the Monastery: (7)
As of 2015-08-02 13:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (2 votes), past polls