Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

Re: why does this perl routine error?

by toolic (Bishop)
on Sep 07, 2012 at 20:40 UTC ( #992369=note: print w/ replies, xml ) Need Help??

in reply to why does this perl routine error?

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:

@url = split( /Realtime koers $aandeel/, $html ); print scalar(@url), "\n"; # show number of elements in array

See also:

Comment on Re: why does this perl routine error?
Select or Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (14)
As of 2015-11-24 22:36 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 (664 votes), past polls