[ABE.pm] Text::Template Q
Faber J. Fedor
faber at linuxnj.com
Mon Jul 31 09:37:47 PDT 2006
Can someone run the attached files and tell me what you see? If you
have Text::Template installed, you can run this in any directory with
'perl test.pl'.
IIUC, you should see on STDOUT the following:
[your prompt at here]$ perl test.pl
outfile = test.out
report_destination = GLOB(0x804cbdc)
and an output file called test.out that contains this output:
Date is 20060101
0
1
2
3
4
5
6
7
8
9
10
What I'm seeing is all of the above on STDOUT and two blanks lines in
test.out.
--
Regards,
Faber Fedor
President
Linux New Jersey, Inc.
908-320-0357
800-706-0701
http://www.linuxnj.com
-------------- next part --------------
{
print "Date is $date\n" ;
my $i;
for ($i = 0; $i<= 10; $i++) {print "$i\n"};
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.pl
Type: application/x-perl
Size: 608 bytes
Desc: not available
Url : http://mail.pm.org/pipermail/abe-pm/attachments/20060731/a67b223c/attachment.bin
More information about the ABE-pm
mailing list