473,513 Members | 2,669 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Undefined subroutine CGI::Vars

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

Jul 19 '05 #1
0 3393

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
2014
by: Tombo | last post by:
Hi, I'm trying to get PHP running as a CGI app on Tomcat. I've managed to do sufficent Tomcat setup to get it to invoke the PHP interpreter, but all I get is the feared "No input file specified."...
1
3268
by: conglomco | last post by:
I a trying to make a form that displays the results of radio buttons, to the user, and at the same time parses the results to an html file to be uses on a larger page. I have some debugging commands...
0
1019
by: ara.t.howard | last post by:
i've been wading through the docs and usenet for a bit now trying to figure out how to setup cgi to run in cgi on a stock rhe box - which is of course configured to run mod_php. the reason i need...
3
1913
by: Ticool | last post by:
Hello, I found this site to be very helpful in learning perl, but now I seem to be stumped and wonder if one of experts could assit me with this little problem.... On my web form I have a...
2
3437
by: Bob Bruyn | last post by:
I've recently installed Apache 2 and php 5.2 on my WIndows XP machine. Everything is up and running. I'm passing some vars via the URL. It works fine online:...
4
1744
by: pcaisse | last post by:
I'm having issues sharing global variables with Explorer. This problem probably has a simple answer (as with most newbie questions). The script.pl file: #!/usr/bin/perl -w use strict; use...
3
2017
by: =?Utf-8?B?Sm9yZ2UgQWx2ZXM=?= | last post by:
Hi. I am trying to do a CGI in C#. I have found code and explanation in http://west-wind.com/weblog/posts/1143.aspx : using System; using System.IO; using System.Collections; using...
7
1661
by: pagarwalla1234 | last post by:
Hi, Below is the part of code from a test FW I am working on : sub run { my $self = shift; $self->SUPER::LogDirGen( ); # priti my $config = new Config::Simple( $self->{ config }...
4
6279
by: mattehz | last post by:
Hey there, I am trying to upload old source files and came across these errors: Warning: Invalid argument supplied for foreach() in /home/mattehz/public_html/acssr/trunk/inc_html.php on line 59...
0
7257
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7157
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7535
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7098
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7521
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
5084
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3232
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1591
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
455
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.