Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: chopping lots of characters

by Abigail-II (Bishop)
on Jun 24, 2004 at 11:45 UTC ( #369294=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $i = 4;
    chop $string while $i -- && length $string;
    
  2. or download this
    my $i = 4;
    1 while $i -- && defined chop $string;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://369294]
help
Chatterbox?
[Discipulus]: Thou art good erix?
[erix]: I thaught it was a poor's workhouse (~19th C) - lemme look it up...
Discipulus has decided to use old english because of 'thou'..
[erix]: hm, apparently almshouses are still around
[Discipulus]: yes poor's workhouse, what they had more than their souls and some bone?
[LanX]: erix alms = Almosen
[erix]: yeah, Aalmoes (Niederlaendisch)
[erix]: italian alma may be unrelated
[choroba]: Alma in Hungarian is apple
[choroba]: Alma

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (11)
As of 2017-11-23 20:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (338 votes). Check out past polls.

    Notices?