Do you know where your variables are? | |
PerlMonks |
Re^2: LWP UserAgent and Simple keeping headers in contentby fx (Pilgrim) |
on Nov 30, 2010 at 00:38 UTC ( [id://874403]=note: print w/replies, xml ) | Need Help?? |
Ah....potentially more info from me now! Just tried a simple command line "get" and "getstore" and it all works ok. Just re-examined my code and I'm actually calling my "get" or "getstore" from within a thread. Now I know threads can cause issues, but is this connected somehow? The "get" is just about working...but not quite completely working. The program isn't completely crashing out or anything...it's just not doing exactly what I think it should. Could there be any specific reason why running a UserAgent "get" inside a thread causes it to store slightly different data compared to calling when not threading?.... fx, Infinity is Colourless
In Section
Seekers of Perl Wisdom
|
|