Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Re^2: Felling a tree JAPH

by MidLifeXis (Monsignor)
on Sep 03, 2013 at 20:31 UTC ( #1052176=note: print w/replies, xml ) Need Help??

in reply to Re: Felling a tree JAPH
in thread Felling a tree JAPH

Interesting. 5.8.9, Windows.

$ perl Just another Perl hacker,

Do you get the same results every time, or does it change on each run?

Update: s/Win/Windows/ for clarity :-)


Replies are listed 'Best First'.
Re^3: Felling a tree JAPH
by Grimy (Pilgrim) on Sep 04, 2013 at 07:49 UTC

    For a given version, I get a consistent result. I reckon the discrepancies between different version are due to internal changes to the GC.

    Relying on DESTROY is problematic, because the order in which thingies are GCd is unspecified.

      That is true. Since they are consistent per version (I wonder if per platform makes any difference), I should see if I can reorder the data to make it work out on each :-)


        What about making the letters depend on the following one?
        sub DESTROY { print $_[0][0] } $p = bless [$_, $p] for reverse split //, 'Just another Perl hacker,';
        Update: Does not work in a different version. Ignore.
        لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (8)
As of 2019-12-11 14:56 GMT
Find Nodes?
    Voting Booth?

    No recent polls found