Rob Dixon wrote:
> You then have '$CGI::strong' and '$main::strong' as synonyms for
> the same subroutine. There is still, however, no 'Schedule::strong'.
Should have been 'CGI::strong' and 'main::strong'.
My apologies.
Rob
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional command
John W . Krahn wrote:
> On Friday 06 June 2003 13:22, Rob Dixon wrote:
> > Katy Brownfield wrote:
> > > On Fri, 6 Jun 2003 18:16:26 +0100, Rob Dixon
> > > <[EMAIL PROTECTED]>
> > >
> > > wrote:
> > > > John W. Krahn wrote:
> > > > > Mark Anderson wrote:
> > > > > > B) You should NEVER use map in a
Kris,
Thanks for the suggestion, but I'm not sure what the benefit is. I
like objects. The goal of my current effort is to objectify an
unbelievably ugly mass of spaghetti code. I am a C++ programmer by
trade. But I don't see what the use of a CGI object gets me here.
Rob
--- Kristofer Hoch
Rob Richardson wrote:
> --- Kristofer Hoch <[EMAIL PROTECTED]> wrote:
> > Rob,
> > Have you considered useing the object oriented
> > method? It is a little bit more complicated, BUT it
> > will work.
> >
> > use strict;
> > use warnings
> > use CGI;
> > my $CgiObject = new CGI;
> >
> > my $STRI
From: Tassilo von Parseval <[EMAIL PROTECTED]>
> On Fri, Jun 06, 2003 at 10:33:21PM -0700 R. Joseph Newton wrote:
> > Francis Henry wrote:
> > > The following is a note from a colleague of which I am skeptical:
> > >
> > > "fyi
> > > .pl used to be used for both executables and libraries.
>
Hi!
I am not sure if this can be done or not, but I want to create a counter on
the fly so to speak.
foreach $id ( @IDS ) {
$cnt = "$id"."_cnt";
$cnt++;
}
All I get is "item_cnt". Is there a way to do this?
Thanks,
Jerry
Hi Jerry
I'm not sure, but maybe this is what you mean:
my @IDS = qw (a b c d e f g);
my $c=0;
foreach my $id (@IDS){
$c++;
$id.=$c;
print "$id\n";
}
# Hans
On Sunday, June 8, 2003, at 09:41 PM, Jerry Preston wrote:
Hi!
I am not sure if this can be done or not, but I want
Hi All,
I am new to this group and recently started using Perl. I would like to
know whether it is possible to fit a quadrilateral if four points are known in 3-D
space ? if so, I would like to get some idea about the algorithm to do that in Perl.
Any help is appreciated.
Thanks
Rega
On Sunday 08 June 2003 21:41, Jerry Preston wrote:
What you want isn't very clear (in the way of output) but let me take a shot
here...
#!/usr/bin/perl -w
use strict;
my @IDS = qw(5 10 15 20 25 30 35 40);
my $cnt = 0;
for my $id ( @IDS )
{
print 'id: '. $id;
$id++;
$cnt = $id . '_
Rob Richardson wrote:
> Dave,
>
> Your response dovetails nicely with my next question.
I don't think the list has a response from Dave at the time of writing?
> The module I'm working in begins as follows:
>
> use warnings;
> use strict;
> use CGI qw/:standard center strong *big delete_all/;
's
Rob,
Have you considered useing the object oriented
method? It is a little bit more complicated, BUT it
will work.
use strict;
use warnings
use CGI;
my $CgiObject = new CGI;
my $STRING = "There are not any trains running on thi
day.Use the date dropdowns above to select
adifferent day.";
my
11 matches
Mail list logo