Undefined subroutine CGI::Vars

Discussion in 'Perl' started by Mark, Jul 26, 2004.

  1. Mark

    Mark Guest

    I want to store my request variables as a hash and have the code:

    use CGI qw:)standard);
    use CGI qw:)cgi-lib);

    use CGI::Carp qw(fatalsToBrowser);
    use strict;
    my $q = new CGI;
    my $params = $q->Vars;

    but the server is giving me an error message:

    "Undefined subroutine CGI::Vars"

    but I'm not sure why.

    Thanks
    Mark
     
    Mark, Jul 26, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Jon

    app vars and cache vars

    Jon, Dec 14, 2004, in forum: ASP .Net
    Replies:
    3
    Views:
    404
  2. Linuxguy123
    Replies:
    7
    Views:
    705
    Paddy O'Loughlin
    Feb 20, 2009
  3. caccolangrifata
    Replies:
    18
    Views:
    404
    Chris Torek
    Jul 22, 2011
  4. Mark

    Undefined subroutine CGI::Vars

    Mark, Jul 26, 2004, in forum: Perl Misc
    Replies:
    16
    Views:
    395
  5. king
    Replies:
    5
    Views:
    189
Loading...

Share This Page