> "AG" == Anthony Gardner <[EMAIL PROTECTED]> writes:
AG> Is there another way to write to files than
AG> print OPF (< ...
AG> END
I don't get your question. How else does one write to files other
than printing to the file handle opened for writing to that file?
AG> Also, why can't I writ
Out of curiosity, what is wrong with the regular open/close/print warn("MY HANDLER => $my_particular_error_message");
syntax and keep all your messages in the error log.
darren
Anthony Gardner ([EMAIL PROTECTED]) wrote:
> All,
>
> Is there another way to write to files than
>
> print OP
Try using anonymous file handles using the gensym function in
the package Symbol;
#!/usr/bin/perl -w
use Symbol;
my $fh = gensym;
my $file = "bar";
open $fh, ">${file}" or die;
print $fh "foo\n";
close $fh;
> Is there another way to write to files than
>
> print OPF (< ...
> END
>
> I've chec