Re: store Array in hash ?
- From: shawnhcorey@xxxxxxxx (Mr. Shawn H. Corey)
- Date: Thu, 30 Mar 2006 16:49:37 -0500
On Thu, 2006-30-03 at 13:23 -0800, John W. Krahn wrote:
Did you actually try that?
$ perl -le'my $test{$setup}{opt} = q[OK]; print $test{$setup}{opt}'
syntax error at -e line 1, near "$test{"
Execution of -e aborted due to compilation errors.
Oops. Make that:
$test{$setup}{opt} = 'OK';
--
__END__
Just my 0.00000002 million dollars worth,
--- Shawn
"For the things we have to learn before we can do them,
we learn by doing them."
Aristotle
* Perl tutorials at http://perlmonks.org/?node=Tutorials
* A searchable perldoc is at http://perldoc.perl.org/
.
- References:
- store Array in hash ?
- From: Michael Gale
- Re: store Array in hash ?
- From: John W. Krahn
- Re: store Array in hash ?
- From: Mr. Shawn H. Corey
- Re: store Array in hash ?
- From: John W. Krahn
- store Array in hash ?
- Prev by Date: Re: Counting specific elements in a XML object
- Next by Date: Re: the only difference is the 'x' after '/g'
- Previous by thread: Re: store Array in hash ?
- Next by thread: the only difference is the 'x' after '/g'
- Index(es):
Relevant Pages
|