Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

RE: Generating a Pattern

by fundflow (Chaplain)
on Jul 25, 2000 at 01:29 UTC ( #24194=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    @a = (1);
    for (1..10) {
    ...
        { $na[-1] == $_ ? $na[-2]++ : push @na, (1, $_) }
      @a=@na;
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (14)
As of 2014-07-10 14:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (212 votes), past polls