Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

modifying a string in place

by davidj (Priest)
on Jan 19, 2006 at 18:11 UTC ( #524306=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    andromeda:davidj perl_test > cat f.txt
    ^this^
    ...
    ^test^
    ^david#jenkins^
    ^ cinea#jenkins ^
    
  2. or download this
    andromeda:davidj perl_test > cat out.txt
    ^this^
    ...
    ^test^
    ^ddaavviidd#jjeennkkiinnss^
    ^  cciinneeaa#jjeennkkiinnss  ^
    
  3. or download this
    #!/usr/bin/perl
    
    ...
    }
    close(FILE);
    close(OUT);
    
  4. or download this
    #!/usr/bin/perl
    
    ...
    }
    close(FILE);
    close(OUT);
    
  5. or download this
    andromeda:davidj perl_test > perl test.pl
                  Rate 2nd string   In place
    2nd string 28969/s         --       -17%
    In place   35112/s        21%         --
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (6)
As of 2014-11-27 06:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (180 votes), past polls