Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Re: Code Optimization v5.8.1

by jdporter (Paladin)
on May 20, 2004 at 18:42 UTC ( [id://355044]=note: print w/replies, xml ) Need Help??


in reply to Re: Code Optimization v5.8.1
in thread Code Optimization v5.8.1

Ah, that's what I was going to say!

So here's something a little different:
local $" = ';'; system qq( sed '@{[ map "s/\\<$_\\>/$_ ($acronyms{$_})/g", keys %acron +yms ]}' );
Of course, if the acronym list is long, the above will smack into the command line length limit; in that case, it's easy enough to write a sed script file.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2024-04-26 05:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found