Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Hash value modification

by Tanalis (Curate)
on Jul 25, 2005 at 07:54 UTC ( [id://477712]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    foreach( @array ) { s/something/something_else/g }
    
  2. or download this
    foreach( values %hash ) { s/something/something_else/g }
    
  3. or download this
    foreach( keys %hash ) {
      $hash{$_} =~ s/something/something_else/g;
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (5)
As of 2024-03-28 21:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found