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

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

by Lady_Aleena (Curate)
on Jul 09, 2020 at 23:09 UTC ( #11119110=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      if ($raw_value && $raw_value =~ /\d+\*\d+/) {
        $total_value = eval($raw_value); # performs multiplication
    ...
        $base_value = $assets->{$lookup_asset} ? $assets->{$lookup_asset} 
    +: 0;
        $total_value = $amount * $base_value;
      }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (5)
As of 2021-01-17 23:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?