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

Re: modifying a string in place

by graff (Chancellor)
on Jan 20, 2006 at 04:12 UTC ( #524394=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    for ( @whatever ) {
        if ( 1 .. 4 ) { 
            # enter this block during the first four iterations, then neve
    +r again
        }
    }
    
  2. or download this
    $_ = 0;
    while ($_<6) {
    ...
    4: False
    5: False
    6: False
    
  3. or download this
    $_ = 0
    while ($_<6) {
    ...
    4: True
    5: True
    6: True
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://524394]
help
Chatterbox?
[Discipulus]: anyway I lost 15 minutes with lc $str used by me instead of $str = lc $str

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (7)
As of 2017-06-26 11:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (577 votes). Check out past polls.