Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

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

by Anonymous Monk
on Mar 29, 2006 at 18:18 UTC ( #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
Node Status?
node history
Node Type: perlquestion [id://540026]
Approved by Corion
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2018-07-18 05:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?















    Results (383 votes). Check out past polls.

    Notices?