iaw4 has asked for the wisdom of the Perl Monks concerning the following question:
gives me an erroruse JSON qw(-convert_blessed_universally); my $test = qr/^[\w\@\.]+$/; print to_json($test);
encountered object '(?^:^\w\@\.+$)', but neither allow_blessed nor convert_blessed settings are enabledwhat is the proper syntax to get this going? advice appreciated.
/iaw
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: JSON saving regex?
by GrandFather (Saint) on Jan 27, 2012 at 02:32 UTC | |
|
Re: JSON saving regex?
by thargas (Deacon) on Jan 27, 2012 at 13:16 UTC | |
by The Perlman (Scribe) on Jan 27, 2012 at 21:09 UTC |