Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Removing chars from a word from an array

by ikegami (Patriarch)
on Jan 24, 2006 at 16:05 UTC ( [id://525215]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $word = 'abracadabra';
    my @list = qw( a b c d e );
    ...
    
    print("remaining word: ", $word, "\n");  # raaabra
    print("remaining list: ", @list, "\n");  # e
    
  2. or download this
    remaining word: raaabra
    remaining list: e
    
  3. or download this
    remaining word: rr
    remaining list: e
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2024-04-19 19:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found