Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^4: Expat.pm and Parser.pm 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: Expat.pm and Parser.pm errors
in thread Expat.pm and Parser.pm 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 ./test01.pl line 138. cb_ticker: []


Comment on Re^4: Expat.pm and Parser.pm errors
Select or Download Code
Re^5: Expat.pm and Parser.pm 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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2014-07-12 20:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (241 votes), past polls