Anyone use this module? I can't seem to use a file handle for the stream. The syntax:
use HTML::Stream qw(:funcs);
open (FP,">$htmlfile") || die "Could not open file $htmlfile for write\: $!\n";
$ht =3D HTML::Stream->new (FP);
$ht->text("This is a test\n");
gives me an empty file named $htmlfile.
replace the third line with=20
$ht =3D HTML::Stream->new /*STDOUT;
I do get:
This is a test
on the console.
I'm a perl newbie so I could be doing a million things wrong. Anyone anna point my
tricycle back in the right direction?
Jonah Jackson
Senior Network Engineer
iKnowMed
[EMAIL PROTECTED]
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]