Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^2: Felling a tree JAPH

by MidLifeXis (Monsignor)
on Sep 04, 2013 at 14:23 UTC ( [id://1052351]=note: print w/replies, xml ) Need Help??


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

$ perl -v This is perl, v5.8.8 built for msys $ perl 20130830.1052349.japh.pl Malformed prototype for main::_: _ at 20130830.1052349.japh.pl line 2.

--MidLifeXis

Replies are listed 'Best First'.
Re^3: Felling a tree JAPH
by Grimy (Pilgrim) on Sep 04, 2013 at 15:01 UTC
    Well then, just replace this _ with a $. It should work the same way, I only chose _ for aesthetic reasons.

    EDIT: Never mind trying, it won’t work, actually. Here’s a fixed version:

    sub'DESTROY{print${sub'_($){bless\pop}pop}->[0]} _[J,_[q q q,_[o^O,_[q[,]],_[k,_[r],_[e]],_[h,_[c ],_[a]]],_[v80,_[l],_[r],_[e],],],_[u,_[a,_[h,_[ r],_[e],],_[n,_[t],_[o],],],_[q[s],_[$"],_[t]]]]
    Tested on 5.8, 5.10, 5.14 and 5.16.

      Cool. It works. I will take a bit of time to look at this later.

      --MidLifeXis

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (5)
As of 2024-03-28 16:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found