Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^2: unexpected modify hash in a distance with grep { $_ } (inconsistent behaviour of aliasing)

by LanX (Saint)
on Dec 20, 2019 at 18:39 UTC ( [id://11110447]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
     
    #!/usr/bin/perl 
    
    ...
    sub tst {
        warn "y: ",$_[0] ;
    }
    
  2. or download this
    C:/Perl_524/bin\perl.exe  d:/tmp/pm/grep_autovivify.pl 
    Use of uninitialized value $_ in warn at d:/tmp/pm/grep_autovivify.pl 
    +line 13.
    ...
              'b',
              'a'
            ];
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (6)
As of 2024-03-28 13:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found