Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Re^4: and errors

by jpinones (Initiate)
on Oct 17, 2012 at 21:03 UTC ( #999607=note: print w/ replies, xml ) Need Help??

in reply to Re^3: and errors
in thread and errors

If I print the cb_sticker  print "cb_ticker: [$cb_ticker]\n"; I have:

Use of uninitialized value $cb_ticker in concatenation (.) or string a +t ./ line 138. cb_ticker: []

Comment on Re^4: and errors
Select or Download Code
Replies are listed 'Best First'.
Re^5: and errors
by runrig (Abbot) on Oct 17, 2012 at 21:48 UTC
    Well, obviously cb_ticker is not what it's supposed to be. Why do you suppose you got that result? Maybe get() did not return anything? Maybe you did not supply a valid URL to get()? (Hint: check the value of $string1, the input to the get function. It is not a URL). You seem to be in way over your head if you can not check the input and output to your functions. You need to do much less and make sure that step is correct before proceeding to the next step.
      I replaced "get(" by "system (cat(" to insert all the xml content to $cp_sticker but did not work...
        I am tempted to quote MJD here, but I will refrain...

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (13)
As of 2015-10-07 13:08 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (184 votes), past polls