Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: What's your favourite method of untainting?

by rinceWind (Monsignor)
on Dec 14, 2005 at 11:13 UTC ( #516585=note: print w/ replies, xml ) Need Help??


in reply to What's your favourite method of untainting?

A blessed horn of a unicorn untaints everything

Is a 'horn' synonymous with a reference I wonder :). There's potential for a new Acme:: module here.

--

Oh Lord, won’t you burn me a Knoppix CD ?
My friends all rate Windows, I must disagree.
Your powers of persuasion will set them all free,
So oh Lord, won’t you burn me a Knoppix CD ?
(Missquoting Janis Joplin)


Comment on Re: What's your favourite method of untainting?
Re^2: What's your favourite method of untainting?
by mrborisguy (Hermit) on Dec 16, 2005 at 18:43 UTC

    I'll bite.

    Note: Untested. And no, I'm not uploading this.

        -Bryan

    Update: It seems my untested code did have a flaw! Thanks ambrus++.

      I think this is wrong:

      ($foo) = ($variable =~ /^(.*)$/g);
      shouldn't you add an s switch to the regexp so that it would match multi-line strings?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (9)
As of 2014-10-21 22:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (112 votes), past polls