[16503] in Perl-Users-Digest
Perl-Users Digest, Issue: 3915 Volume: 9
daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Fri Aug 4 14:06:31 2000
Date: Fri, 4 Aug 2000 11:05:19 -0700 (PDT)
From: Perl-Users Digest <Perl-Users-Request@ruby.OCE.ORST.EDU>
To: Perl-Users@ruby.OCE.ORST.EDU (Perl-Users Digest)
Message-Id: <965412318-v9-i3915@ruby.oce.orst.edu>
Content-Type: text
Perl-Users Digest Fri, 4 Aug 2000 Volume: 9 Number: 3915
Today's topics:
Re: any ideas? hamed53@my-deja.com
bug in localtime()??? <mikek@worldwebserver.com>
Re: bug in localtime()??? (Greg Bacon)
Re: bug in localtime()??? <tony_curtis32@yahoo.com>
Re: bug in localtime()??? <mikek@worldwebserver.com>
Re: bug in localtime()??? fperkins@my-deja.com
Re: bug in localtime()??? <andras@mortgagestats.com>
Re: bug in localtime()??? <tony_curtis32@yahoo.com>
Re: bug in localtime()??? (Marcel Grunauer)
Re: bug in localtime()??? <andras@mortgagestats.com>
Re: bug in localtime()??? <mjcarman@home.com>
Re: bug in localtime()??? <mikek@worldwebserver.com>
Re: bug in localtime()??? <mikek@worldwebserver.com>
Re: bug in localtime()??? <andras@mortgagestats.com>
Re: bug in localtime()??? <godzilla@stomp.stomp.tokyo>
Re: bug in localtime()??? <mikek@worldwebserver.com>
Re: bug in localtime()??? <red_orc@my-deja.com>
Re: CGI.pm not passing ampersands properly <ewald@electronicfrontiers.com>
Re: Comparing strings in an array (Abigail)
Re: Directory mover <russ_jones@rac.ray.com>
Re: execute a Perl script in another Perlscript <my@email.adr>
Re: five lines of NQL or 45 lines of Perl hmmmm...... <russ_jones@rac.ray.com>
Re: five lines of NQL or 45 lines of Perl hmmmm...... <care227@attglobal.net>
Re: Gee, thanks for all the help :-( <russ_jones@rac.ray.com>
Re: Gee, thanks for all the help :-( <red_orc@my-deja.com>
Re: get files from other servers aaron@preation.com
Re: get files from other servers nobull@mail.com
Digest Administrivia (Last modified: 16 Sep 99) (Perl-Users-Digest Admin)
----------------------------------------------------------------------
Date: Fri, 04 Aug 2000 17:05:51 GMT
From: hamed53@my-deja.com
Subject: Re: any ideas?
Message-Id: <8met5c$u8$1@nnrp1.deja.com>
hey, thanks for the reply but when i visited your website to check out
the demo of the script i came acroos this error:
Software error:
Can't call method "datestamp" on an undefined value at
/web/geeksalad/cgi-bin/icons/FooBBS.pl line 76.
have a at it! ;)
regards
Hamed
In article <8ani5.57574$fR2.576371@news1.rdc1.mi.home.com>,
clintp@geeksalad.org (Clinton A. Pierce) wrote:
> [Posted and mailed]
>
> In article <8mcsm1$ia3$1@nnrp1.deja.com>,
> hamed53@my-deja.com writes:
> > I am very interested at how deja.com displays the threads (and the
> > replies to those threads) using that three structured view...
> >
> > does anyone know any perl script that does the same thing with
> > displaying threads and replies? (exactly like the tree views in
> > deja.com?)
>
> Not EXACTLY like that...but the FooBBS code I hacked up has a class
> for maintaining message threads and some display logic for actually
> putting the threads in HTML properly stacked.
>
> Everything else is just icing.
>
> --
> Clinton A. Pierce Teach Yourself Perl in 24 Hours!
> clintp@geeksalad.org for details see
http://www.geeksalad.org
> "If you rush a Miracle Man,
> you get rotten Miracles." --Miracle Max, The Princess Bride
>
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
Date: Fri, 04 Aug 2000 15:52:51 GMT
From: "Mike King @work" <mikek@worldwebserver.com>
Subject: bug in localtime()???
Message-Id: <398AE6DE.E83BB439@worldwebserver.com>
I know that with perl 5, localtime returns 100 for the year 2000. I've
fixed this by adding 1900 to the year.
However, I'm getting a weird bug here. August is 8, but localtime is
returning 7 for the month right now. I'm running WinNT, and my clock is
set properly, as well as the data and time in my BIOS.
Anyone know what could be wrong? My code is below:
($DAY, $MONTH, $YEAR) = (localtime)[3,4,5];
$YEAR += 1900;
-Mike K.
------------------------------
Date: Fri, 04 Aug 2000 15:56:08 GMT
From: gbacon@HiWAAY.net (Greg Bacon)
Subject: Re: bug in localtime()???
Message-Id: <solpso8vdbm131@corp.supernews.com>
In article <398AE6DE.E83BB439@worldwebserver.com>,
Mike King @work <mikek@worldwebserver.com> wrote:
: However, I'm getting a weird bug here. August is 8, but localtime is
: returning 7 for the month right now. I'm running WinNT, and my clock is
: set properly, as well as the data and time in my BIOS.
Go back and reread the documentation on localtime in the perlfunc
manpage. You'll find that there is no bug.
Greg
--
I prefer dark chocolate, especially with nuts, but that doesn't mean I should
legislate that you have to eat it.
-- Bjarne Stroustrup
------------------------------
Date: 04 Aug 2000 11:15:34 -0500
From: Tony Curtis <tony_curtis32@yahoo.com>
Subject: Re: bug in localtime()???
Message-Id: <87em45gfyx.fsf@limey.hpcc.uh.edu>
>> On Fri, 04 Aug 2000 15:52:51 GMT,
>> "Mike King @work" <mikek@worldwebserver.com> said:
> I know that with perl 5, localtime returns 100 for the
> year 2000. I've fixed this by adding 1900 to the year.
Yes, that's what's meant to happen.
> However, I'm getting a weird bug here. August is 8, but
> localtime is returning 7 for the month right now. I'm
> running WinNT, and my clock is set properly, as well as
> the data and time in my BIOS.
> Anyone know what could be wrong?
Nothing at all is wrong :-)
$ perldoc -f localtime
and $mon is the month itself, in the range `0..11'
with 0 indicating January and 11 indicating
December. $year is the number of years since
1900. That is, $year is `123' in year 2023.
You might want to look at
$ perldoc POSIX
for strftime() which makes time/date formatting very easy.
hth
t
--
"With $10,000, we'd be millionaires!"
Homer Simpson
------------------------------
Date: Fri, 04 Aug 2000 16:18:29 GMT
From: "Mike King @work" <mikek@worldwebserver.com>
Subject: Re: bug in localtime()???
Message-Id: <398AECDF.A8CFAA7B@worldwebserver.com>
Greg Bacon wrote:
>
> Go back and reread the documentation on localtime in the perlfunc
> manpage. You'll find that there is no bug.
Nope didn't help.
perldoc perlfunc
found the localtime entry. According to the doc, localtime()[4] returns
the numeric month. August is 8. I am being returned 7. Why?
-Mike K.
------------------------------
Date: Fri, 04 Aug 2000 16:24:32 GMT
From: fperkins@my-deja.com
Subject: Re: bug in localtime()???
Message-Id: <8meqnq$uug$1@nnrp1.deja.com>
And if you still can't find why it's not a bug, keep in mind that some
stuff starts at 0
ie First object in array is [0]...
Frank
In article <398AE6DE.E83BB439@worldwebserver.com>,
"Mike King @work" <mikek@worldwebserver.com> wrote:
>
> I know that with perl 5, localtime returns 100 for the year 2000. I've
> fixed this by adding 1900 to the year.
>
> However, I'm getting a weird bug here. August is 8, but localtime is
> returning 7 for the month right now. I'm running WinNT, and my clock
is
> set properly, as well as the data and time in my BIOS.
>
> Anyone know what could be wrong? My code is below:
>
> ($DAY, $MONTH, $YEAR) = (localtime)[3,4,5];
> $YEAR += 1900;
>
> -Mike K.
>
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
Date: Fri, 04 Aug 2000 12:36:52 -0500
From: Andras Malatinszky <andras@mortgagestats.com>
Subject: Re: bug in localtime()???
Message-Id: <398AFF33.FEDAD782@mortgagestats.com>
Greg Bacon wrote:
> In article <398AE6DE.E83BB439@worldwebserver.com>,
> Mike King @work <mikek@worldwebserver.com> wrote:
>
> : However, I'm getting a weird bug here. August is 8, but localtime is
> : returning 7 for the month right now. I'm running WinNT, and my clock is
> : set properly, as well as the data and time in my BIOS.
>
> Go back and reread the documentation on localtime in the perlfunc
> manpage. You'll find that there is no bug.
>
> Greg
> --
> I prefer dark chocolate, especially with nuts, but that doesn't mean I should
> legislate that you have to eat it.
> -- Bjarne Stroustrup
You know, Greg, if you want to be so friggin' unhelpful, that's up to you, but
why do you bother replying then. Just to teach Mike a lesson? Or is it to share
your pearl of wisdom about dark chocolate?
Andras
------------------------------
Date: 04 Aug 2000 11:41:35 -0500
From: Tony Curtis <tony_curtis32@yahoo.com>
Subject: Re: bug in localtime()???
Message-Id: <878zudgerk.fsf@limey.hpcc.uh.edu>
>> On Fri, 04 Aug 2000 12:36:52 -0500,
>> Andras Malatinszky <andras@mortgagestats.com> said:
> You know, Greg, if you want to be so friggin' unhelpful,
> that's up to you, but why do you bother replying
> then. Just to teach Mike a lesson? Or is it to share
> your pearl of wisdom about dark chocolate?
Pointing someone to the correct documentation where the
answer can be found is "friggin' unhelpful"?
If you know where the answers are, and how to get there,
you'll be able to help yourself in the future. Just being
told "0" now won't help the OP find answers to different
questions later on.
Teach a man to fish etc.
--
"With $10,000, we'd be millionaires!"
Homer Simpson
------------------------------
Date: Fri, 04 Aug 2000 16:47:02 GMT
From: marcel@codewerk.com (Marcel Grunauer)
Subject: Re: bug in localtime()???
Message-Id: <slrn8olsqq.bsm.marcel@gandalf.local>
On Fri, 04 Aug 2000 12:36:52 -0500, Andras Malatinszky
<andras@mortgagestats.com> wrote:
>Greg Bacon wrote:
>
>> Go back and reread the documentation on localtime in the perlfunc
>> manpage. You'll find that there is no bug.
>
>You know, Greg, if you want to be so friggin' unhelpful, that's up to you, but
>why do you bother replying then. Just to teach Mike a lesson? Or is it to share
>your pearl of wisdom about dark chocolate?
Maybe it's to lure people like you into the open, so they can be properly
killfiled.
--
Marcel
sub AUTOLOAD{($_=$AUTOLOAD)=~s;^.*::;;;y;_; ;;print} Just_Another_Perl_Hacker();
------------------------------
Date: Fri, 04 Aug 2000 12:47:47 -0500
From: Andras Malatinszky <andras@mortgagestats.com>
Subject: Re: bug in localtime()???
Message-Id: <398B01C2.C8C4946B@mortgagestats.com>
"Mike King @work" wrote:
> I know that with perl 5, localtime returns 100 for the year 2000. I've
> fixed this by adding 1900 to the year.
>
> However, I'm getting a weird bug here. August is 8, but localtime is
> returning 7 for the month right now. I'm running WinNT, and my clock is
> set properly, as well as the data and time in my BIOS.
>
> Anyone know what could be wrong? My code is below:
>
> ($DAY, $MONTH, $YEAR) = (localtime)[3,4,5];
> $YEAR += 1900;
>
> -Mike K.
This is a feature, not a bug. The month in localtime is represented by a
number ranging from 0 to 11. January is represented by 0, February is 1...
you get the picture: the code for August is 7. This may seem
counter-inuitive at first, but comes in real handy in constructs like
$monthcode=(localtime)[4];
@months=qw(January February March April May June July August September
October November December);
$month=$months[$monthcode];
Andras
------------------------------
Date: Fri, 04 Aug 2000 11:13:49 -0500
From: Michael Carman <mjcarman@home.com>
Subject: Re: bug in localtime()???
Message-Id: <398AEBBD.607CB7B2@home.com>
"Mike King @work" wrote:
>
> However, I'm getting a weird bug here. August is 8, but localtime is
> returning 7 for the month right now.
>
> Anyone know what could be wrong?
Yes, you failed to read the documentation. Go to a command prompt and
type 'perldoc -f localtime' The answers you seek are there.
-mjc
------------------------------
Date: Fri, 04 Aug 2000 16:57:55 GMT
From: "Mike King @work" <mikek@worldwebserver.com>
Subject: Re: bug in localtime()???
Message-Id: <398AF61E.2882C570@worldwebserver.com>
Tony Curtis wrote:
>
> $ perldoc -f localtime
>
> and $mon is the month itself, in the range `0..11'
> with 0 indicating January and 11 indicating
> December. $year is the number of years since
> 1900. That is, $year is `123' in year 2023.
perldoc perlfunc does not detail that (at least on my system). I am
sorry. Thanks for your help. I knew how to solve my problem (add 1 to
$MONTH) but didn't know if this was a proper solution, if this would
cause problems at a later time.
-Mike
------------------------------
Date: Fri, 04 Aug 2000 16:58:58 GMT
From: "Mike King @work" <mikek@worldwebserver.com>
Subject: Re: bug in localtime()???
Message-Id: <398AF65D.14E56990@worldwebserver.com>
Andras Malatinszky wrote:
>
> This is a feature, not a bug. The month in localtime is represented by a
> number ranging from 0 to 11. January is represented by 0, February is 1...
> you get the picture: the code for August is 7. This may seem
> counter-inuitive at first, but comes in real handy in constructs like
>
> $monthcode=(localtime)[4];
> @months=qw(January February March April May June July August September
> October November December);
> $month=$months[$monthcode];
I understand now. I did not comprehend this while reading the docs.
Thanks.
-Mike
------------------------------
Date: Fri, 04 Aug 2000 13:01:30 -0500
From: Andras Malatinszky <andras@mortgagestats.com>
Subject: Re: bug in localtime()???
Message-Id: <398B04FA.61976FDF@mortgagestats.com>
Tony Curtis wrote:
> >> On Fri, 04 Aug 2000 12:36:52 -0500,
> >> Andras Malatinszky <andras@mortgagestats.com> said:
>
> > You know, Greg, if you want to be so friggin' unhelpful,
> > that's up to you, but why do you bother replying
> > then. Just to teach Mike a lesson? Or is it to share
> > your pearl of wisdom about dark chocolate?
>
> Pointing someone to the correct documentation where the
> answer can be found is "friggin' unhelpful"?
>
> If you know where the answers are, and how to get there,
> you'll be able to help yourself in the future. Just being
> told "0" now won't help the OP find answers to different
> questions later on.
>
> Teach a man to fish etc.
>
> --
> "With $10,000, we'd be millionaires!"
> Homer Simpson
No, I think the right way to answer a question like that is the way you
did it in your other post, in which you both answered Mike's question
and pointed him to the source of more info. Telling the guy to RTFM, as
Greg did, was no help at all as it turned out from Mike's subsequent
posts.
Andras
------------------------------
Date: Fri, 04 Aug 2000 10:15:47 -0700
From: "Godzilla!" <godzilla@stomp.stomp.tokyo>
Subject: Re: bug in localtime()???
Message-Id: <398AFA43.2B2F00D6@stomp.stomp.tokyo>
"Mike King @work" wrote:
> Tony Curtis wrote:
(snippage)
> > $ perldoc -f localtime
> perldoc perlfunc does not detail that (at least on my system). I am
> sorry. Thanks for your help. I knew how to solve my problem (add 1 to
> $MONTH) but didn't know if this was a proper solution, if this would
> cause problems at a later time.
"...if this would cause problems at a later time."
Absolutely stunning pun! * laughs *
Doesn't it just annoy you to have Sissified Geeks
jump up and down while screaming at you to read some
gibberish documentation which does not hold a single
clue about your needed answer?
Rocket Scientists! Go read the FAQ! It will tell you
nothing about your question!
Heh!
Eighty bagillion articles full of mule manure
references to a FAQ, mule manure screaming about
not RTFM and, not a single answer.
Actually this month thing is a bug. Long ago, oh so
very long ago but not in another galaxy, the programmer
who wrote this localtime function, well, he is missing
a thumb on his left hand. Inherently, in counting with
his fingers to figure out coding, he begins,
" zero... "
and counts from zero upward.
Godzilla!
------------------------------
Date: Fri, 04 Aug 2000 16:55:52 GMT
From: "Mike King @work" <mikek@worldwebserver.com>
Subject: Re: bug in localtime()???
Message-Id: <398AF5A3.C5425963@worldwebserver.com>
Why does everyone in this group assume the person asking the question
hasn't read the docs? I HAVE read the docs, and it does not detail why I
am being returned the wrong value for month localtime()[4].
Maybe I am missing something in the docs, but I am certainly reading
them!
-Mike K.
Michael Carman wrote:
>
> "Mike King @work" wrote:
> >
> > However, I'm getting a weird bug here. August is 8, but localtime is
> > returning 7 for the month right now.
> >
> > Anyone know what could be wrong?
>
> Yes, you failed to read the documentation. Go to a command prompt and
> type 'perldoc -f localtime' The answers you seek are there.
>
> -mjc
------------------------------
Date: Fri, 04 Aug 2000 17:10:02 GMT
From: Rodney Engdahl <red_orc@my-deja.com>
Subject: Re: bug in localtime()???
Message-Id: <8metd5$17o$1@nnrp1.deja.com>
In article <398AECDF.A8CFAA7B@worldwebserver.com>,
"Mike King @work" <mikek@worldwebserver.com> wrote:
>
>
> Greg Bacon wrote:
> >
> > Go back and reread the documentation on localtime in the perlfunc
> > manpage. You'll find that there is no bug.
>
> Nope didn't help.
>
> perldoc perlfunc
>
> found the localtime entry. According to the doc, localtime()[4]
> returns the numeric month. August is 8. I am being returned 7. Why?
>
as the localtime section continues:
The array elements are numeric, and come straight out of a struct tm.
In particular this means that $mon has the range 0..11 . . .
Now, if January is 0, and August is [January] + 7 . . .
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
Date: Fri, 4 Aug 2000 13:53:26 -0400
From: "Edward Waldspurger" <ewald@electronicfrontiers.com>
Subject: Re: CGI.pm not passing ampersands properly
Message-Id: <8mevuq$qbt$1@triox.mtcibs.com>
Even if I use $name = param('name'), the contents of the form field after
the ampersand do not get saved in $name.
I am using POST. This happens both in IE 5 and Netscape 4. The query
string is not in the log file.
The problem still seems to be with my Perl. The data is being sent from the
browser to the script. After the script gets the data, the param function
does not seem to be doing what I am expecting. Am I using param correctly,
or should I use another method to get the data from the form?
--
Edward Waldspurger
Electronic Frontiers Consulting, Inc.
------------------------------
Date: 04 Aug 2000 13:20:49 EDT
From: abigail@foad.org (Abigail)
Subject: Re: Comparing strings in an array
Message-Id: <slrn8olur1.pjo.abigail@alexandra.foad.org>
dtd2 (dtd2@ukc.ac.uk) wrote on MMDXXX September MCMXCIII in
<URL:news:398AA29F.6C4@ukc.ac.uk>:
@@ Hi all.
@@ I've just started learning Perl, so I'm still groping in the dark.
@@ Does anyone know if there is a way to check through an array of unknown
@@ size, check if any of the srings appear more than once, and then print
@@ out those strings which are duplicated?
Yes, that's in the FAQ.
Abigail
--
$_ = "\112\165\163\1648\141\156\157\164\150\145\1628\120\145"
. "\162\1548\110\141\143\153\145\162\0128\177" and &japh;
sub japh {print "@_" and return if pop; split /\d/ and &japh}
------------------------------
Date: Fri, 04 Aug 2000 10:19:47 -0500
From: Russ Jones <russ_jones@rac.ray.com>
Subject: Re: Directory mover
Message-Id: <398ADF13.E3AA03C8@rac.ray.com>
BUCK NAKED1 wrote:
>
> I overlooked that Net:FTP module does not work on Unix.
I use Net::FTP on HP/UX all the time, talking to other HP's, to
Solaris, AIX, Novell and PC's.
As I recall, though, there was some kind of problem with Net::FTP and
an older release of Perl, still Perl 5, but maybe 5.004 or something
like that. Maybe that's it?
--
Russ Jones - HP OpenView IT/Operatons support
Raytheon Aircraft Company, Wichita KS
russ_jones@rac.ray.com 316-676-0747
Quae narravi, nullo modo negabo. - Catullus
------------------------------
Date: Fri, 04 Aug 2000 13:42:54 -0400
From: AvastYeMatey <my@email.adr>
Subject: Re: execute a Perl script in another Perlscript
Message-Id: <398B009D.F0C03F69@email.adr>
nobull@mail.com wrote:
> "Timothy H. Schilbach" <tschilbach@aodinc.com> writes upside down:
>
> > <johands@hotmail.com> wrote in message news:8m4uiq$kc0$1@nnrp1.deja.com...
>
> > > how do i execute an cgi-script(written in Perl) within another cgi-
> > > script (written in Perl).
> > >
> > > So i have a cgi-script and then somewhere in this cgi-script i want
> > > another cgi-script to be executed.
>
> > This is an excellent question. If you find out please clue me in :-)
>
> No it's not! It's a damn awfull question. Not least because there
> are actully two completely different questions the OP could actually be
> asking. But don't take my word for it - go to deja.com (or your
> favourate Usenet search engine) and see the answers given the last 100
> or so times this exact question was asked.
Holy Moly! Temper, temper there Mr. Schilbach. If he says he feels it's an
excellent question let him have his feeling. There's no reason for the
nastiness.
Avast
------------------------------
Date: Fri, 04 Aug 2000 10:12:05 -0500
From: Russ Jones <russ_jones@rac.ray.com>
Subject: Re: five lines of NQL or 45 lines of Perl hmmmm......
Message-Id: <398ADD45.158F7D80@rac.ray.com>
Jonathan Stowe wrote:
>
> On Thu, 03 Aug 2000 12:20:45 -0400 Drew Simonis wrote:
> > Jonathan Stowe wrote:
> >>
> >> I dont buy things from spammers.
> >
> > But do you eat spam sandwiches?
>
> No I'm vegetarian.
>
Can you tutor my dog?
--
Russ Jones - HP OpenView IT/Operatons support
Raytheon Aircraft Company, Wichita KS
russ_jones@rac.ray.com 316-676-0747
Quae narravi, nullo modo negabo. - Catullus
------------------------------
Date: Fri, 04 Aug 2000 11:24:02 -0400
From: Drew Simonis <care227@attglobal.net>
Subject: Re: five lines of NQL or 45 lines of Perl hmmmm......
Message-Id: <398AE012.EF43CFD1@attglobal.net>
Russ Jones wrote:
>
> Jonathan Stowe wrote:
> >
> > On Thu, 03 Aug 2000 12:20:45 -0400 Drew Simonis wrote:
> > > Jonathan Stowe wrote:
> > >>
> > >> I dont buy things from spammers.
> > >
> > > But do you eat spam sandwiches?
> >
> > No I'm vegetarian.
> >
>
> Can you tutor my dog?
>
To eat spam sandwiches?
------------------------------
Date: Fri, 04 Aug 2000 10:29:52 -0500
From: Russ Jones <russ_jones@rac.ray.com>
Subject: Re: Gee, thanks for all the help :-(
Message-Id: <398AE170.F584BB66@rac.ray.com>
Phil Hawkins wrote:
>
> Java was easier than this...
>
FORTRAN's easier than this, too, why don't you try it?
Their news group isn't as f****** nice, though.
--
Russ Jones - HP OpenView IT/Operatons support
Raytheon Aircraft Company, Wichita KS
russ_jones@rac.ray.com 316-676-0747
Quae narravi, nullo modo negabo. - Catullus
------------------------------
Date: Fri, 04 Aug 2000 15:09:22 GMT
From: Rodney Engdahl <red_orc@my-deja.com>
Subject: Re: Gee, thanks for all the help :-(
Message-Id: <8memas$rds$1@nnrp1.deja.com>
In article <8mehh4$5ua$1@news.news-service.com>,
"Brendon Caligari" <brendon@shipreg.com> wrote:
> >
> > Java was easier than this...
>
> Java IS easier.
>
>
but:
1. you STILL have to install it
2. you STILL need a different java bytecode interpreter or JITC for each
development/deployment platform
3. you STILL need to read the documentation
Perl, java, APL, PL/1, whatever. You still need to follow the rules.
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
Date: Fri, 04 Aug 2000 15:05:49 GMT
From: aaron@preation.com
Subject: Re: get files from other servers
Message-Id: <8mem47$r4t$1@nnrp1.deja.com>
In article <3992c5e6.49476755@news.newsguy.com>,
kcivey@cpcug.org (Keith Calvert Ivey) wrote:
> "Louie G. Kim" <gk@bncol.com> wrote:
>
> >Is there any way to get files from other servers?
> >
> >When i am on server A, I want to get fileA from server B or
> >I want to display fileA at server B.
>
> That depends on how you're communicating between the servers.
> For example, if you're using HTTP, you might want to check out
> the LWP module, especially LWP::Simple.
If I wanted to communited using a HTML form POST how what would I do, I
use LWP::Simple right now for HTML form GET actions, but what about
POSTS, can that be done? Any suggestions?
Aaron H.
Preation Web Development
CollegeUnited.com
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
Date: 04 Aug 2000 18:03:41 +0100
From: nobull@mail.com
Subject: Re: get files from other servers
Message-Id: <u9hf91t0uq.fsf@wcl-l.bham.ac.uk>
"Louie G. Kim" <gk@bncol.com> writes:
> Is there any way to get files from other servers?
Just curious: why do you think the answer to this question will be
different when you ask it today from it was when someone else asked it
yesterday and someone else the day before that and so on?
If you don't think the answer will be differnt why did you ask the
question again?
--
\\ ( )
. _\\__[oo
.__/ \\ /\@
. l___\\
# ll l\\
###LL LL\\
------------------------------
Date: 16 Sep 99 21:33:47 GMT (Last modified)
From: Perl-Users-Request@ruby.oce.orst.edu (Perl-Users-Digest Admin)
Subject: Digest Administrivia (Last modified: 16 Sep 99)
Message-Id: <null>
Administrivia:
The Perl-Users Digest is a retransmission of the USENET newsgroup
comp.lang.perl.misc. For subscription or unsubscription requests, send
the single line:
subscribe perl-users
or:
unsubscribe perl-users
to almanac@ruby.oce.orst.edu.
| NOTE: The mail to news gateway, and thus the ability to submit articles
| through this service to the newsgroup, has been removed. I do not have
| time to individually vet each article to make sure that someone isn't
| abusing the service, and I no longer have any desire to waste my time
| dealing with the campus admins when some fool complains to them about an
| article that has come through the gateway instead of complaining
| to the source.
To submit articles to comp.lang.perl.announce, send your article to
clpa@perl.com.
To request back copies (available for a week or so), send your request
to almanac@ruby.oce.orst.edu with the command "send perl-users x.y",
where x is the volume number and y is the issue number.
For other requests pertaining to the digest, send mail to
perl-users-request@ruby.oce.orst.edu. Do not waste your time or mine
sending perl questions to the -request address, I don't have time to
answer them even if I did know the answer.
------------------------------
End of Perl-Users Digest V9 Issue 3915
**************************************