Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (18)
As of 2015-07-31 17:59 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 (280 votes), past polls