Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

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

by wind (Priest)
on Jun 12, 2011 at 03:38 UTC ( #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


Comment on Re: Building an array, "stripes on a wall"
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2014-07-29 00:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (210 votes), past polls