Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Perl::Critic says don't modify $_ in list functions and other things

by choroba (Cardinal)
on Jul 09, 2020 at 05:37 UTC ( [id://11119065]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    chomp( my @list = <$fh> );
    
  2. or download this
    my @ids = map s/ /_/gr, 
              grep defined,
              @base;
    
  3. or download this
    for (@$list) {
        if (ref) {
    ...
            $_ = ...;
        }
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (6)
As of 2024-04-19 13:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found