Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
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 monastery is silent...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (4)
As of 2017-12-16 09:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (449 votes). Check out past polls.

    Notices?