Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^5: Should I leave behind beautiful code or readable code?

by BrowserUk (Pope)
on Apr 02, 2007 at 10:42 UTC ( #607795=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
        ...
        my @separated = map { split(' ', $_, 2) } @somearray;
        @separated    = map { uc $_ }             @separated;
        return @separated;
    }
    
  2. or download this
        ...
        return map{ split / /, uc, 2 } @somearray;
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://607795]
help
Chatterbox?
[jedikaiti]: If I had a flying home, I'd be pretty psyched. How cool would that be?
[jedikaiti]: The big question is, does it have autopilot?
[shmem]: good autonomous flyer doesn't need a pilot.
[karlgoethebier]: The One And Only Flying Home

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (12)
As of 2018-02-21 17:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When it is dark outside I am happiest to see ...














    Results (285 votes). Check out past polls.

    Notices?