---
name: "Data::Session::Base"
section: "3pm"
platform: "linux"
package: "libdata-session-perl"
version: "1.18-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Data::Session::Base"
---

# Data::Session::Base(3pm)

A persistent session manager

## NAME

Data::Session::Base - A persistent session manager

## Synopsis

See Data::Session for details.

## Description

Provide a set of methods for all derived classes, including **log()**.

## Method: new()

This class is never used on its own.

## Method: log($s)

Print the string to STDERR.

If `$s` is empty, use '' (the empty string), to avoid a warning message.

Lastly, the string is output preceded by a '#', so it does not interfere with test output. That is, log($s) emulates diag `$s`.

## Support

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

## Author

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

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

## Copyright

Australian copyright (c) 2010, Ron Savage.

```
        All Programs of mine are 'OSI Certified Open Source Software';
        you can redistribute them and/or modify them under the terms of
        The Artistic License, a copy of which is available at:
        http://www.opensource.org/licenses/index.html
```
