Beefy Boxes and Bandwidth Generously Provided by pair Networks Bob
Think about Loose Coupling
 
PerlMonks  

Re^4: Scalar followed by parenthetical...

by Anonymous Monk
on May 19, 2013 at 05:39 UTC ( #1034194=note: print w/ replies, xml ) Need Help??


in reply to Re^3: Scalar followed by parenthetical...
in thread Scalar followed by parenthetical...

But isn't %_ immune to strict in the same way and for the same reasons as $_ and @_?

Maybe technically :) but according to the current documentation it shouldn't be, because unlike "$a" and "$b" the hash "%_" isn't used by sort or any perl feature

OTOH, perlvar, which lists $a and $b, also says these types are exempt from strict-vars

so what about %_? Makes sense to me for strict-vars to compain , its not like it requires extra chars like %{_} or ${^SNACKS}

curious http://perl5.git.perl.org/perl.git?a=search&h=HEAD&st=grep&s=%25_, http://perl5.git.perl.org/perl.git/blob?f=t/japh/abigail.t#l483


Comment on Re^4: Scalar followed by parenthetical...
Re^5: Scalar followed by parenthetical...
by BrowserUk (Pope) on May 19, 2013 at 06:18 UTC

    See perlvar (for 5.10) when there was a section entitled "Technical Note on the Syntax of Variable Names", which contained the paragraph:

    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.

    Seems to have disappeared from later versions.


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.
      It's still there. It was just moved to the top in 5.14.
        It was just moved to the top

        ... and the title was changed. Not a problem, except it negated my search.


        With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
        Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
        "Science is about questioning the status quo. Questioning authority".
        In the absence of evidence, opinion is indistinguishable from prejudice.
        Science is about questioning the status quo. Questioning authority

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (11)
As of 2014-04-24 09:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (565 votes), past polls