Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

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

by jaredor (Curate)
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (None)
    As of 2017-04-28 09:17 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?
      I'm a fool:











      Results (519 votes). Check out past polls.