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: []

Replies are listed 'Best First'.
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...