Good catch.  I was typing most of it in on the fly.

At 12:49 PM 1/16/2003 -0500, John Abreau wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Content-Type: text/plain; charset=us-ascii

Charles Reitzel <[EMAIL PROTECTED]> writes:

[snip]
> BEGIN
> {
>    $HomeDir = '/usr/local/foo';
>    $Foo = 'foo';
>    @Bar = ( qw(Foo Baz Bar) );
>    %Baz = { Foo => $Foo, Bar = \@Bar };
> }
[snip]

The %Baz is broken; it should be

     %Baz = ( Foo => $Foo, Bar = \@Bar );

since it's a hash, not a reference to a hash.


- --
John Abreau / Executive Director, Boston Linux & Unix
Email [EMAIL PROTECTED] / WWW http://www.abreau.net / PGP-Key-ID 0xD5C7B5D9
PGP-Key-Fingerprint 72 FB 39 4F 3C 3B D6 5B E0 C8 5A 6E F1 2C BE 99


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Exmh version 2.5 07/13/2001

iQCVAwUBPibwsVV9A5rVx7XZAQLHnQQArcRVA0bIeQseS5VehUrgWGbDUTGxSBTl
2TeD98HLZ9wa9LJSm5yp0TiZ7CFvdcuxWFMfphF5AScP8Jpn6J+pacD70ZhHJqWK
hBz9R96FISPj0mkYDYNFq1/5VnAtnnp8pdwEFUyKDnkWHQDOrywoeAQMS0zxPL3f
hWanAUyo04g=
=9dV3
-----END PGP SIGNATURE-----

_______________________________________________
Boston-pm mailing list
[EMAIL PROTECTED]
http://mail.pm.org/mailman/listinfo/boston-pm
_______________________________________________
Boston-pm mailing list
[EMAIL PROTECTED]
http://mail.pm.org/mailman/listinfo/boston-pm

Reply via email to