Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Building an array, "stripes on a wall"

by wind (Priest)
on Jun 12, 2011 at 03:38 UTC ( [id://909279]=note: print w/replies, xml ) Need Help??


in reply to Building an array, "stripes on a wall"

my $wall_height = 50; my $stripe = 11; my @stripe = map {$_ * $stripe} (1..int($wall_height/$stripe)); print "@stripe"; =prints 11 22 33 44 =cut

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2024-04-25 18:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found