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/




-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to