note
peppiv
I can't seem to get it right. I understand using the '>' to open a file to overwrite, but no matter how I try to make the syntax work, I fail.<br><br>
How do I get from here<br><br>
<code>
my $fh = new FileHandle "> $self->{'filename'}";
</code>
to here?<br><br>
<code>
my $pdf = new PDF::Create ('filename' => '/html/mypdf.pdf',
'PageMode' => 'UseNone',
);
</code>
Even trying this
<code>
my $pdf = new PDF::Create "> ('filename' => '/html/mypdf.pdf',
'PageMode' => 'UseNone',
)";
</code>
and giving the pdf file 777 permissions doesn't work. Please help!<br><br>
<i>peppiv</i><br><br>
248905
248970