"...Who broke our code"
I'm not sure. Probably it was the author?
It might be easier to install perlbrew instead of rewriting your beloved toolchain:
karls-mac-mini:hook karl$ perl -MPOSIX=tmpnam -e 1
Unimplemented: POSIX::tmpnam(): use File::Temp instead at /Users/karl/
+perl5/perlbrew/perls/perl-5.26.2/lib/5.26.2/darwin-2level/POSIX.pm li
+ne 185.
Unimplemented: POSIX::tmpnam() at -e line 0.
BEGIN failed--compilation aborted.
karls-mac-mini:hook karl$ perlbrew list
5.14.2threads
perl-5.16.2
perl-5.16.3
perl-5.17.7
perl-5.18.0
perl-5.18.1
perl-5.18.2
perl-5.18.2threads
perl-5.20.0
perl-5.20.0threads
perl-5.22.1-threads
perl-5.24.1threads
* perl-5.26.2
karls-mac-mini:hook karl$ perlbrew use perl-5.24.1threads
karls-mac-mini:hook karl$ perl -MPOSIX=tmpnam -e 1
Yes, i know ... it's just a callow idea for the rescue in a hurry.
Best regards, Karl
«The Crux of the Biscuit is the Apostrophe»
perl -MCrypt::CBC -E 'say Crypt::CBC->new(-key=>'kgb',-cipher=>"Blowfish")->decrypt_hex($ENV{KARL});'Help
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|