Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
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 musing on the Monastery: (5)
As of 2015-07-06 00:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (68 votes), past polls