Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

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

by AnomalousMonk (Archbishop)
on Jul 09, 2020 at 02:20 UTC ( [id://11119058]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub fancy_map {
      my ($opt, $list) = @_;
    ...
        }
      } @{$list};
    }
    
  2. or download this
    c:\@Work\Perl\monks>perl -wMstrict -le
    "my @list = qw(foo bar baz boff quux);
    ...
    original: foo bar baz boff quux
    returned: OOf ARb AZb OFFb UUXq
    original: OOf ARb AZb OFFb UUXq
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2024-04-18 05:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found