Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Bad news for IO::Handle magic

by broquaint (Abbot)
on Jul 07, 2004 at 03:35 UTC ( #372262=note: print w/replies, xml ) Need Help??


in reply to Bad news for IO::Handle magic

This probably does deserve a better warning but you can find this behaviour documented in the Technical Note on the Syntax of Variable Names section in perlvar, where it is noted that ...
Perl identifiers that begin with digits, control characters, or punctuation characters are exempt from the effects of the "package" declaration and are always forced to be in package "main"; they are also exempt from "strict 'vars'" errors. A few other names are also exempt in these ways:
               ENV             STDIN
               INC             STDOUT
               ARGV            STDERR
               ARGVOUT         _
               SIG
HTH

_________
broquaint

Replies are listed 'Best First'.
Re^2: Bad news for IO::Handle magic
by bunnyman (Hermit) on Jul 07, 2004 at 15:34 UTC
    But strict 'vars' is different than strict 'refs'.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://372262]
help
Chatterbox?
[Eily]: marto after an additional read I started to see the light actually. And choroba's link was helpful as well :)
[Corion]: I'll send my colleague who doesn't yet know the people there, and I'll do production duty instead.
[GotToBTru]: ugh. Thanks Corion
[shmem]: meh. setting up a SIG{__DIE__} before loading Net::SSLeay still triggers Can't locate object method "tid" via package "threads" at /usr/share/perl/5. 20/XSLoader.pm

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (10)
As of 2017-07-26 15:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (396 votes). Check out past polls.