Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^2: Using Number Ranges in a Dispatch Table

by oko1 (Deacon)
on Feb 19, 2012 at 17:06 UTC ( [id://954880]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    # Ooops!
    print join ",", @foo, "\n";
    ...
        map {
            tr(td($_->[0]), td($_->[1])) } @foo,
            ...
    
  2. or download this
    # De-oopsed.
    print join(",", @foo), "\n";
    ...
        map({
            tr(td($_->[0]), td($_->[1])) } @foo),
            ...
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (6)
As of 2024-04-24 20:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found