Re: Yet another package problem

2005-09-16 Thread Ovid
--- 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 r

Re: Yet another package problem

2005-09-16 Thread Bob Showalter
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"|; }

Yet another package problem

2005-09-16 Thread Luinrandir
ive up. I have 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,

FW: How to install AppConfig package?

2004-08-13 Thread Siegfried Heintze
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

Re: A question on Radio buttons in the CGI::Form package

2004-07-27 Thread Wiggins d Anconia
> 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 > >Radio 2 > >This obviously precludes me from

A question on Radio buttons in the CGI::Form package

2004-07-27 Thread Kasturirangan Rangaswamy
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 Radio 2 This obviously precludes me from using the 'radio_group' method as that does

RE: br -- problem caused by "Package"?

2003-06-07 Thread Charles K. Clarkson
7;main::br' which can 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 s

Re: br -- problem caused by "Package"?

2003-06-07 Thread Dave K
ll/; > > use ScheduleDay; > use Train; > > package Brtest; Try instead: my $testString = CGI::br; HTH -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: br -- problem caused by "Package"? -- my bad

2003-06-07 Thread Rob Richardson
Greetings again! I could of course be wrong... I just found that I had "use warnings" and "use strict" commented out in the module that compiled! Excuse me for a while while I track down a hundred or so violations that uncommenting them uncovered. RobR --- Rob Richardson <[EMAIL PROTECTED]> wr

Re: br -- problem caused by "Package"?

2003-06-07 Thread Rob Richardson
mer and so I should 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 Brt

[CGI ERR] Global symbol "" requires explicit package name ...

2002-10-18 Thread Colby
'.') 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

Re: [CGI ERR] Global symbol "" requires explicit package name ...

2002-10-18 Thread fliptop
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/curl

Re: Error: requires explicit package name

2002-08-30 Thread t
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" > > [...] > >

Re: Error: requires explicit package name

2002-08-30 Thread Felix Geerinckx
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]' ); > } >

Error: requires explicit package name

2002-08-30 Thread t
quot;$auto" requires explicit 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"

Re: package

2001-07-17 Thread Pierre Smolarek
use my example: my ($key, $value)=split(/=/,$key_value); www.perldoc.com and look up 'my' - Original Message - From: "Guillaume Denizot" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 17, 2001 6:17 PM Subject: package Hello, When I

package

2001-07-17 Thread Guillaume Denizot
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 lin