commented out a lot of stuff in search of the problem.
The program runs fine till it calls on the Inn.pl package in the line below
marked
if I comment it out it completes the HTML code.
when I put it back in , the program, and the HTML code just stops.
I'm gonna go have lunch and get some duct tape
Luinrandir wrote:
###
Inn.pl #
##
package Inn;
Buy
{}
Sell
{}
Talk
{}
Sleep
{}
Delivery
{}
Work
{
# GameTime(.1);
# SendOff();
print qq|Well afraid I do all my own work Try another business|;
}
...
Did
--- Luinrandir [EMAIL PROTECTED] wrote:
Ok.. as asked for..the code and I hate to do this cause i'm gonna
get
told how everything i'm doing is wrong..
from the way I lay out the code to the way I write code to the way I
don't
use every damn modual under the sun
With all due respect,
I'm sorry if this appears twice. I sent it once, but I don't believe I was
subscribed to the list at the time!
I forgot to mention my main question: how do I download and install
AppConfig?
I'm trying to install bugzilla on Windows XP 2003 and the installation
procedure says that I need to
Hi,
I am trying to generate radio buttons using the CGI::Form package.
My radio buttons need to be vertically aligned with some other HTML
elements in between them. For e.g.
Radio 1
some HTML elements
Radio 2
This obviously precludes me from using the 'radio_group' method
Hi,
I am trying to generate radio buttons using the CGI::Form package.
My radio buttons need to be vertically aligned with some other HTML
elements in between them. For e.g.
Radio 1
some HTML elements
Radio 2
This obviously precludes me from using the 'radio_group
Rob,
I tried another program to illustrate the br problem. Here is the
entire program:
Not really - the packages ScheduleDay and Train are missing
#!/usr/bin/perl
use warnings;
use strict;
use CGI qw/:standard center *big delete_all/;
use ScheduleDay;
use Train;
package Brtest
be as consistent as
possible between the two languages.
I tried another program to illustrate the br problem. Here is the
entire program:
#!/usr/bin/perl
use warnings;
use strict;
use CGI qw/:standard center *big delete_all/;
use ScheduleDay;
use Train;
package Brtest;
my $testString = br;
When I
be written as 'br' or 'br()'.
: use ScheduleDay;
: use Train;
:
: package Brtest;
We have left package main and are now in package
'Brtest'.
: my $testString = br;
There is no subroutine defined as 'br' which is
shorthand for 'Brtest::br'. So 'br' must be a bareword
which is not allowed
On Wed, 16 Oct 2002 at 19:33, Colby opined:
[snip]
C:Global symbol requires explicit package name at ./myscript.cgi line
C:60, 70, 90, 108
[snip]
C:I've gone over the code with a fine-tooth comb as it were, checked for
C:the usual (missing semi-colons, right parenthesis/curly braces, etc
C
'.')
However, the web host that I've just signed up with (running RH Linux
with Apache 1.3.? and Perl 5.6.1) won't execute my script and returns
the following errors when run from the command line:
_
Global symbol requires explicit package name at ./myscript.cgi line
package name
i have been looking through my perl and cgi books to try to figure out what this
means, but am
totally at a loss.
i have declared it two different ways, and both ways it comes back with the same error:
if ($Country eq Argentina)
{my $auto = $q-param( '[EMAIL PROTECTED
on Fri, 30 Aug 2002 13:58:47 GMT, [EMAIL PROTECTED] (T) wrote:
Global symbol $auto requires explicit package name
[...]
if ($Country eq Argentina)
{my $auto = $q-param( '[EMAIL PROTECTED]' );
}
and
if ($Country eq Argentina)
{$auto = $q-param( '[EMAIL
Felix
Thanks! That was just what i needed:)
thia
--- Felix Geerinckx [EMAIL PROTECTED] wrote:
on Fri, 30 Aug 2002 13:58:47 GMT, [EMAIL PROTECTED] (T) wrote:
Global symbol $auto requires explicit package name
[...]
if ($Country eq Argentina)
{my $auto = $q-param
Hello,
When I execute: perl my_cgi_lib.m,
I have this problem:
Global symbol $key requires explicit package name at
/usr/lib/perl5/5.6.0/my_cgi_lib.pm line 34.
Global symbol $key requires explicit package name at
/usr/lib/perl5/5.6.0/my_cgi_lib.pm line 38.
Global symbol $key requires explicit
15 matches
Mail list logo