Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

Re: Storable::dclone breaking compiled regular expressions

by BrowserUk (Pope)
on Nov 01, 2005 at 04:56 UTC ( #504497=note: print w/replies, xml ) Need Help??

in reply to Storable::dclone breaking compiled regular expressions

Try Clone, it doesn't appear to exhibit the same limitation:

P:\test>p1 perl> use Clone qw[clone];; perl> $foo = { bar => qr[bar] };; perl> print Dumper $foo;; $VAR1 = { 'bar' => qr/(?-xism:bar)/ }; perl> $foo2 = clone $foo;; perl> print Dumper $foo2;; $VAR1 = { 'bar' => qr/(?-xism:bar)/ };

Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
Lingua non convalesco, consenesco et abolesco. -- Rule 1 has a caveat! -- Who broke the cabal?
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2021-11-28 20:28 GMT
Find Nodes?
    Voting Booth?

    No recent polls found