[ABE.pm] Text::Template Q
Faber J. Fedor
faber at linuxnj.com
Wed Jul 26 11:39:34 PDT 2006
On 26/07/06 14:04 -0400, Ricardo SIGNES wrote:
> * "Faber J. Fedor" <faber at linuxnj.com> [2006-07-26T13:26:47]
> > I now want to redirect the output to a file, so I thought simply
> > doing this would work:
> >
> > open(OUTFILE, "> $myfile");
> > my $report_destination = \*OUTFILE;
> > printHeader();
>
> You are using antique file handles.
"Antique"?! I never got the memo!
> The all-caps, all-global filehandles will come back to haunt you some day.
And today was that day; when I switch to the new (?) style, T::T worked
perfectly.
So WTF is the difference between the two styles?
--
Regards,
Faber Fedor
President
Linux New Jersey, Inc.
908-320-0357
800-706-0701
http://www.linuxnj.com
More information about the ABE-pm
mailing list