Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Re: One of these things is not like the others...

by 2teez (Vicar)
on Oct 22, 2013 at 18:42 UTC ( #1059248=note: print w/replies, xml ) Need Help??

in reply to One of these things is not like the others...

Hi writch,
The "broken" code is running fine on half a dozen machines w/o so much as a burp. Any ideas what might have changed to make this dev box notice it?
Are all your machine running the same version of Perl?
Check the push you probably get the reason for this as:

Starting with Perl 5.14, push can take a scalar EXPR, which must hold a reference to an unblessed array. The argument will be dereferenced automatically. This aspect of push is considered highly experimental. The exact behaviour may change in a future version of Perl.
Thus the following advise was given:
To avoid confusing would-be users of your code who are running earlier versions of Perl with mysterious syntax errors, put this sort of thing at the top of your file to signal that your code will work only on Perls of a recent vintage: use 5.014; # so push/pop/etc work on scalars (experimental)
Other monks were faster than I.....Ah!

If you tell me, I'll forget.
If you show me, I'll remember.
if you involve me, I'll understand.
--- Author unknown to me
  • Comment on Re: One of these things is not like the others...

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1059248]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (7)
As of 2018-05-27 05:18 GMT
Find Nodes?
    Voting Booth?