logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Data::Session::Serialize::DataDumper - A persistent session manager

Author

       Data::Session was written by Ron Savage <ron@savage.net.au> in 2010.

       Home page: <http://savage.net.au/index.html>.

Case-Sensitive Options

       See "Case-sensitive Options" in Data::Session for important information.

Description

       Data::Session::Serialize::DataDumper allows Data::Session to manipulate sessions with Data::Dumper.

       To use this module do this:

       o Specify a driver of type DataDumper as Data::Session -> new(type=> '... serialize:DataDumper')

       The Data::Dumper options used are:

               $d -> Deepcopy(0);
               $d -> Indent(0);
               $d -> Purity(1);
               $d -> Quotekeys(1);
               $d -> Terse(0);
               $d -> Useqq(0);

Method: Freeze($Data)

       Returns $data frozen by Data::Dumper.

Method: New()

       Creates a new object of type Data::Session::Serialize::DataDumper.

       "new()"  takes a hash of key/value pairs, some of which might mandatory. Further, some combinations might
       be mandatory.

       The keys are listed here in alphabetical order.

       They are lower-case because they are (also) method names, meaning they can be called to set  or  get  the
       value at any time.

       o verbose => $integer
           Print to STDERR more or less information.

           Typical values are 0, 1 and 2.

           This key is normally passed in as Data::Session -> new(verbose => $integer).

           This key is optional.

Method: Thaw($Data)

       Returns $data thawed by Data::Dumper.

Name

       Data::Session::Serialize::DataDumper - A persistent session manager

Support

       Log a bug on RT: <https://rt.cpan.org/Public/Dist/Display.html?Name=Data-Session>.

Synopsis

       See Data::Session for details.

See Also