Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

Re: when eval corrupts the invoker

by toma (Vicar)
on Jun 25, 2002 at 07:27 UTC ( #177033=note: print w/replies, xml ) Need Help??

in reply to when eval corrupts the invoker

It would be useful to maintain a list of CPAN modules that have unusual behavior such as Acme::Bleach. Perhaps MODULATOR could detect these modules and automatically update the list.

If these source-modifying modules all had antidotes with a common naming convention, then MODULATOR could check for self modification and run the antidote if necessary.

I wrote a program to reverse the effects of Bleach. I called it

If more people give in to the temptation of writing perl code that has unusual side effects, validation will grow in importance. There is potential for harm in many more ways than modifying source code, as merlyn points out. A validation program could use checksums, take advantage of MANIFEST information, etc. It could also be useful for checking for non-perl applications.

It should work perfectly the first time! - toma

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://177033]
[Wcool]: hi there
[Wcool]: Does anyone know how to assign STDOUT to a file var in perl6?
[choroba]: hey
[Wcool]: i.e. eequivalent of
[Wcool]: $fh_out = *STDOUT;

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (12)
As of 2017-03-23 15:46 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (289 votes). Check out past polls.