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

Re^2: Switch the odd/even elements of an array (OT: no CPAN constraint)

by jaredor (Deacon)
on Mar 05, 2011 at 04:24 UTC ( #891536=note: print w/ replies, xml ) Need Help??


in reply to Re: Switch the odd/even elements of an array (OT: no CPAN constraint)
in thread Switch the odd/even elements of an array

Sorry, I should have been more precise: The lack of CPAN is a fact at my place of employ, not a policy.

The scripts I write are just for myself to get my work done. The maintenance problem happens when a friend asks to use one of my scripts. I could tell them to put my personal bin directory in the front of their PATH, but my conscience compels me instead to give them a script that works without any dependencies upon my environment. Why, hello perl5.8 with no CPAN. (Now when I get laid off, my friends' scripts will still keep on working :-)

This was a request for an idiom, so I'm not that concerned about copying code and corresponding quality concerns.

That being said, there are lot of excellent answers here.


Comment on Re^2: Switch the odd/even elements of an array (OT: no CPAN constraint)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2014-07-24 05:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (157 votes), past polls