Ryan Perry <mailto:[EMAIL PROTECTED]> wrote:
: How can I do this correctly?
:
:
: foreach my $col (@columns) {
: my %{$col} = (
: string => "$col",
: number => [EMAIL PROTECTED]
: );
: push (@graph, \%{$col});
: }
That depends on what you are really trying to do.
Can you explain what that is in words?
foreach my $col (@columns) {
push @graph,
{
string => "@$col",
number => $col,
};
}
HTH,
Charles K. Clarkson
--
Mobile Homes Specialist
254 968-8328
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>