in reply to Re: Strange behaviour (bug?) of use strict 'vars'
in thread Strange behaviour (bug?) of use strict 'subs' (was: ... strict 'vars')

Hmm... My Perl 5.8.0 RC 2 (i686-linux-thread-multi-64all-ld) on linux (RedHat 7.3) gives a Bareword "foo" not allowed while "strict subs" in use at - line 5. on that code. It also raises an error on the orgininal post when use strict is in effect.

Can anyone test this on another 5.8.0 RC 2 ?

-- Joost downtime n. The period during which a system is error-free and immune from user input.

Replies are listed 'Best First'.
Re: Re: Re: Strange behaviour (bug?) of use strict 'vars'
by Anonymous Monk on Jun 25, 2002 at 03:34 UTC
    My mistake. It appears I wasn't calling the perl I thought I was. 5.8.0-RC2 (linux) does raise exceptions on the code just as Joost observes. My apologies for any confusion.