Yeah, this seems to be a Perl 5 vs Perl 5.6 issue.  In the third version
of the Camel on page 283 it says:

        We could also have dereferenced it as &{ $HoF{lc $cmd} }(), 
        or, as of the 5.6 release of Perl, simply $HoF{lc $cmd}().

On Mon, 2002-05-13 at 11:56, Damir Horvat wrote:
> On 13 May 2002 11:30:08 -0400 Chas Owens <[EMAIL PROTECTED]> wrote:
> 
> > On Mon, 2002-05-13 at 11:05, Damir Horvat wrote:
> > > Hi!
> > > 
> > > I'm not using strict 
> > 
> > You should be.
> > 
> > > and $err{'usage'}() does not work.
> > 
> > It works for me.  I am using Perl 5.6.1 on a Red Hat box.  What is your
> > configuration?
> 
> bash-2.05a$ perl -v
> 
> This is perl, version 5.005_03 built for i386-freebsd
> 
> Copyright 1987-1999, Larry Wall
> 
> Perl may be copied only under the terms of either the Artistic License or
> the GNU General Public License, which may be found in the Perl 5.0 source
> kit.
> 
> Complete documentation for Perl, including FAQ lists, should be found on
> this system using `man perl' or `perldoc perl'.  If you have access to the
> Internet, point your browser at http://www.perl.com/, the Perl Home Page.
> 
> bash-2.05a$ uname -a
> FreeBSD pxna.hide.voljatel.si 4.4-RELEASE FreeBSD 4.4-RELEASE #5: Tue Mar
> 19 09:48:23 CET 2002    
> [EMAIL PROTECTED]:/usr/src/sys/compile/PXNA  i386
> 
> 
> old... anyway, thanks.
> 
>       Damir
-- 
Today is Pungenday the 60th day of Discord in the YOLD 3168
Hail Eris!

Missile Address: 33:48:3.521N  84:23:34.786W


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to