Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: What's your favourite method of untainting?

by rinceWind (Monsignor)
on Dec 14, 2005 at 11:13 UTC ( [id://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?

Replies are listed 'Best First'.
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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://516585]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (1)
As of 2024-04-25 03:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found