Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

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?

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2015-11-30 10:29 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (769 votes), past polls