Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
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?
[oakbox]: Anyone else having difficulty looking at search.cpan.org?
[oakbox]: I keep getting a proxy error.
[marto]: try http://metacpan. org/
[marto]: I can't access search.cpan right now either. I prefer the metacpan search and general formatting anyway. Also it seems faster
[oakbox]: Yeah, the front page of cpan.org uses metacpan.org now for search results
[oakbox]: but there are a billion links 'out there' linking to search.cpan.org.
[marto]: yep :)
[Discipulus]: being her marto, can you explain what "Par for the course I'm afraid." means?
Discipulus here..
[marto]: "what is normal or expected in any given circumstances."

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (6)
As of 2017-07-26 10:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (388 votes). Check out past polls.