that doesn't really work. if you have a large list and don't want to spell
out each individual elements, try generating the format list yourself and
then just eval it in run time like:
#!/usr/bin/perl -w
use strict;
my @a = (1..5);
my $eval = <<
Hi,
I wrote perl script so as to have a formatted list however it doesnt
work.It cant take a list as its value.It has to be $variable. Does anyone
know a workaround.
Many Thanks
Mandar
format TABLE =
===
A
Guru^Garzah wrote:
>
> Say I have a list like this
> DOGFEMALE DALMATION62 POUNDS299.00320.00
> DOGFEMALE DALMATION12 POUNDS280.00320.00
> DOGGERMAN SHEPARD48 POUNDS290.00330.00
> CAT FEMALE PERSIAN 8 POUNDS219.00300.00
> CATMALE C
Say I have a list like this
DOGFEMALE DALMATION62 POUNDS299.00320.00
DOGFEMALE DALMATION12 POUNDS280.00320.00
DOGGERMAN SHEPARD48 POUNDS290.00330.00
CAT FEMALE PERSIAN 8 POUNDS219.00300.00
CATMALE CALICO 9POUNDS219.00