>>>>> "Glenn" == Glenn Linderman <[EMAIL PROTECTED]> writes:

Glenn> No, but the documentation for strict is some of what I reread
Glenn> before making a fool of myself arguing with Damian, and it says
Glenn> nothing about barewords, as far as I could read.

Even this part? ...

       strict subs
             This disables the poetry optimization, generating a
             compile-time error if you try to use a bareword
             identifier that's not a subroutine, unless it
             appears in curly braces or on the left hand side of
             the "=>" symbol.

                 use strict 'subs';
                 $SIG{PIPE} = Plumber;       # blows up
                 $SIG{PIPE} = "Plumber";     # just fine: bareword in curlies always ok
                 $SIG{PIPE} = \&Plumber;     # preferred form

Looks pretty direct to me.  Maybe that was further than you could
read? :)

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[EMAIL PROTECTED]> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

Reply via email to