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

Let's get lazy

by guillaume (Pilgrim)
on Aug 28, 2001 at 19:25 UTC ( #108469=perlmeditation: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my @strings = (grep /[acgmt]{2}/, ('aa' .. 'tt'), 
                   grep /[acgmt]{3}/, ('aaa' .. 'ttt'), 
                   grep /[acgmt]{4}/, ('aaaa' .. 'tttt'));
    
  2. or download this
    my @strings = (grep /[acgmt]{2}/, lazy ('aa' .. 'tt'), 
                   grep /[acgmt]{3}/, lazy ('aaa' .. 'ttt'), 
                   grep /[acgmt]{4}/, lazy ('aaaa' .. 'tttt'));
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (11)
As of 2013-05-24 21:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best material for plates (tableware) is:









    Results (516 votes), past polls