in reply to Re: Can't write files (even redirected from shell)
in thread Can't write files (even redirected from shell)
I no longer have the exact code, but it was along the lines of:
use IO::File; my $file = IO::File->new(">carddb.txt") or die $!;
And further down, where it says print STDERR $result; it read $file->print($result) or die $!;.
Ultimately, there was also a $file->close; at the end of the file too.
And thank you for the reminder about LWP::Simple::get_store, but I didn't actually want to keep the whole page.
0x596F752068617665206265656E2068657865642E
|
|---|