Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

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

by AnomalousMonk (Bishop)
on Jul 09, 2020 at 02:20 UTC ( #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
Node Status?
node history
Node Type: note [id://11119058]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (8)
As of 2021-03-04 09:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favorite kind of desktop background is:











    Results (101 votes). Check out past polls.

    Notices?