in reply to Re^5: LWP - content_cb
in thread LWP - content_cb

Thanks, works flawless. I take from your code

open(IN,"> $infile") or die "$_\n"; print IN $data;

And now my script are working...Really thanks for help.

Replies are listed 'Best First'.
Re^7: LWP - content_cb
by Anonymous Monk on Feb 16, 2012 at 01:36 UTC

    except that the variable should be $!, not $_.   $_ won't hold a useful value when the open fails...