Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

CGI::Application::Plugin::Session (Why does CPAN hate me?)

by Anonymous Monk
on Mar 29, 2006 at 18:18 UTC ( [id://540026]=perlquestion: print w/replies, xml ) Need Help??

Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

CGI::Session seems to work but...
when trying to install CGI::Application::Plugin::Session
perl 01_basic.t 1..15 ok 1 - use CGI::Application::Plugin::Session; Error executing run mode 'test_mode': Can't use string ("CGI::Session" +) as a HASH ref while "strict refs" in use at /usr/local/lib/perl5/si +te_perl/5.8.8/CGI/Session.pm line 143. at 01_basic.t line 13 # Looks like you planned 15 tests but only ran 1. # Looks like your test died just after 1.

Replies are listed 'Best First'.
Re: CGI::Application::Plugin::Session (Why does CPAN hate me?)
by cees (Curate) on Mar 29, 2006 at 23:21 UTC

    Notice that the error actually occurs in CGI::Session, not CGI::Application::Plugin::Session. What you are seeing is a bug was introduced into CGI::Session in the latest release (v4.10). This was just reported on the mailing list a few hours ago.

    There should be a new version out real soon, but in the mean time, you can downgrade your version of CGI::Session to an older version, and things should start to work.

Re: CGI::Application::Plugin::Session (Why does CPAN hate me?)
by Arunbear (Prior) on Mar 29, 2006 at 18:58 UTC
    try this:
    cpan> force install CGI::Application::Plugin::Session
      Tried it; but alas I then get the same error when I try to use it in a program.
        can you post the code you are using which produces the error?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://540026]
Approved by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (2)
As of 2024-04-24 17:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found