Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^2: What operator should perl5porters use for safe dereferencing?

by de-merphq (Beadle)
on May 29, 2012 at 15:29 UTC ( #973048=note: print w/replies, xml ) Need Help??


in reply to Re: What operator should perl5porters use for safe dereferencing?
in thread What operator should perl5porters use for safe dereferencing?

I am curious what relevance you think Safe has, and why you would consider a deprecated module mandatory?

Update: oh, maybe it is not deprecated.

---
alter ego of demerphq
  • Comment on Re^2: What operator should perl5porters use for safe dereferencing?

Replies are listed 'Best First'.
Re^3: What operator should perl5porters use for safe dereferencing?
by thomas895 (Chaplain) on May 29, 2012 at 16:01 UTC

    Safe, while perhaps not the best example, does allow execution without the risk of your program dieing. I guess it's for the folks who have something against eval.

    ~Thomas~
    I believe that the source code to life is written in Perl :-)
      Um, no, eval prevents dieing, Safe prevents ops you don't allow (in theory) like exit, system, etc

        Safe can -- if (ab)used correctly -- prevent your program from dieing as well.

        ~Thomas~
        I believe that the source code to life is written in Perl :-)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://973048]
help
Chatterbox?
[GotToBTru]: time for some C8H10N4O2 for me
[ambrus]: GotToBTru: wait, you tell only the atom totals of what you want? Is that like ordering food in a restaurant by telling only the nutrient amounts you need, or
[ambrus]: like when a medieval scientist supposedly proves his priority inventing something by having previously published an anagram of a thousand letters long summary of the invention?
[choroba]: Progress! Nowadays, you can write a Perl script to generate such an anagram!
[GotToBTru]: i like to order my chemicals a-la-carte ambrus ;)

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (8)
As of 2016-12-06 13:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (104 votes). Check out past polls.