Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Strange behaviour (bug?) of use strict 'vars'

by ariels (Curate)
on Jun 23, 2002 at 12:15 UTC ( #176590=note: print w/replies, xml ) Need Help??


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

It looks like a bug. I get the buggy behaviour on 5.6.1 (<samp>This is perl, v5.6.1 built for sun4-solaris</samp>), but not on 5.005_03 (<samp>This is perl, version 5.005_03 built for sun4-solaris</samp>).

I think we need abigail-II...

Update

I get the same results (no error message, i.e. the bug is exercised) with v5.6.1 on i686-linux, IP27-irix and alpha-dec_osf.

(Temporary) update2

particle suggests I mention, until the editors fix the node title, that it's really strange behaviour of use strict 'subs': it relates to the use of a bareword.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://176590]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (9)
As of 2016-09-30 12:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (565 votes). Check out past polls.