saberworks has asked for the wisdom of the Perl Monks concerning the following question:
And of course it gets put into a sub when it gets dropped into the class, thus the issue with the globals.my ($sku, $description, $price, $qty); foreach my $item (@items) { ($sku, $description, $price, $qty) = @$item; write(PURCHASEORDER); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: format declaration in a class
by broquaint (Abbot) on May 25, 2004 at 02:39 UTC | |
by saberworks (Curate) on May 25, 2004 at 04:06 UTC | |
|
Re: format declaration in a class
by Stevie-O (Friar) on May 25, 2004 at 03:03 UTC | |
|
Re: format declaration in a class
by jmcnamara (Monsignor) on May 25, 2004 at 19:47 UTC |