[Melbourne-pm] quirky behaviour of 'local'...

David Warring david.warring at gmail.com
Wed Jul 27 15:44:41 PDT 2011


>
>
> Not directly related the original question, but somewhat relevant I
> guess.... How does Storable::dclone compare to Clone::clone ?
>
> regards,
> Mathew
>

I'll just mention a gotcha for anyone working under Taint mode. Although
module mentions it, Clone preserves tainting of nested data,
Storable::dclone doesn't.

See attached test.
- David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/pipermail/melbourne-pm/attachments/20110728/1afec7c7/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: clone-tainting.t
Type: application/x-troff
Size: 352 bytes
Desc: not available
URL: <http://mail.pm.org/pipermail/melbourne-pm/attachments/20110728/1afec7c7/attachment.t>


More information about the Melbourne-pm mailing list