mikelawrence
Programmer
I've inherited some code that parses some pages on a website, a new version of that website went up and now my code no longer downloads a simple home page. I think i've narrowed the problem to 2 lines of code which are
$cjar=HTTP::Cookies->new (file=>"../cookies/cookies.txt", autosave=>1, ignore_discard=>0) ;
$uat->cookie_jar($cjar) ;
I'm getting a message cannot call method "cookie_jar" on an undefined value which I guess means that the HTTP::Cookies->new has failed.
Anyone any ideas? Any help would be much appreciated.
Thanks
Mike
$cjar=HTTP::Cookies->new (file=>"../cookies/cookies.txt", autosave=>1, ignore_discard=>0) ;
$uat->cookie_jar($cjar) ;
I'm getting a message cannot call method "cookie_jar" on an undefined value which I guess means that the HTTP::Cookies->new has failed.
Anyone any ideas? Any help would be much appreciated.
Thanks
Mike