Beefy Boxes and Bandwidth Generously Provided by pair Networks Cowboy Neal with Hat
Welcome to the Monastery
 
PerlMonks  

Re: format conversion, please help

by ww (Bishop)
on Apr 06, 2013 at 19:04 UTC ( #1027293=note: print w/ replies, xml ) Need Help??


in reply to format conversion, please help

If "ugly is as ugly does," your code ain't ugly.

That's not to say you're wrong is assuming there are more perl-ish ways, especially including those that don't require recourse to a system utility, line 5, "$header=`cut -f1,2,$_ ...." But whether those are more effective, more elegant or less "ugly" is pretty much in the eye of the beholder... and what amounts to self-deprecation is far from obligatory. Remember,

TIMTOWTDI

Maybe you'll consider labeling your issues with code that works, as a search for other ways to do it.


If you didn't program your executable by toggling in binary, it wasn't really programming!


Comment on Re: format conversion, please help
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (8)
As of 2014-04-18 06:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (462 votes), past polls