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

Re: The accidental fractal

by jwkrahn (Monsignor)
on Sep 23, 2006 at 21:14 UTC ( #574549=note: print w/ replies, xml ) Need Help??


in reply to The accidental fractal

You can shorten this:
for $r (@a) { $b[$r][$_] = $" for @a }
To this:
@b = ([($")x@a])x@a;
You can also shorten this:
print map{ @{$e[$_]}, $/ } @a;
using the for statment modifier:
print @{$e[$_]}, $/ for @a;

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (4)
As of 2016-06-25 21:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (327 votes). Check out past polls.