CGI::Se...:Default(3)
β¨ NAME β¨
okay so bestie, welcome to the CGI::Session::Test::Default(3) manual page from the User Contributed Perl Documentation π
β the header shows it all abbreviated as CGI::Se...:Default(3), but the full manual name is CGI::Session::Test::Default. And what does it do? It does exactly this: Run a suite of tests for a given CGI::Session::Driver. no cap, that's the whole vibe. π¦
πΈ new()
my $t = CGI::Session::Test::Default->new(
# These are all optional, with default as follows
dsn => "driver:file",
args => undef,
tests => 77,
);
This creates a brand-new test object, and you can override some defaults if you want. They're all optional, and the defaults are literally right there: dsn defaults to "driver:file", args defaults to undef, and tests defaults to 77. cute, iconic, flexible. π
π number_of_tests()
my $new_num = $t->number_of_tests($new_num);
A setter/accessor method that affects the number of tests to run. Timing is everything, bestie β use it after new() has been called and before run(). That's the window. β
π¦ run()
$t->run();
Runs the test suite. And if you're wondering how to set related options, go check new() β that's where the setup lives. periodt. π₯
perl v5.42.2 Β· 2026-07-28 Β· CGI::Se...:Default(3) β bye bestie, go run those tests π
β¨
π¦ where this page comes from
- alpine 3.24: perl-cgi-session-doc 4.49-r0 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms