[9519] in Perl-Users-Digest
Perl-Users Digest, Issue: 3111 Volume: 8
daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Fri Jul 10 05:07:26 1998
Date: Thu, 9 Jul 98 18:00:18 -0700
From: Perl-Users Digest <Perl-Users-Request@ruby.OCE.ORST.EDU>
To: Perl-Users@ruby.OCE.ORST.EDU (Perl-Users Digest)
Perl-Users Digest Thu, 9 Jul 1998 Volume: 8 Number: 3111
Today's topics:
Re: -w on production code (was Re: better way of gettin (Mike Stok)
Re: -w on production code (was Re: better way of gettin <tchrist@mox.perl.com>
Re: -w on production code (was Re: better way of gettin <ljz@asfast.com>
Re: -w on production code (was Re: better way of gettin <rick.delaney@shaw.wave.ca>
Calling up a gif within the return html of a perl scrip <racso1983@SPAMLESS.mainsite.com>
Re: Calling up a gif within the return html of a perl s (Bob Trieger)
Re: Calling up a gif within the return html of a perl s <wallsr@jcave.com>
Re: Calling up a gif within the return html of a perl s (Craig Berry)
Re: Calling up a gif within the return html of a perl s (Abigail)
Re: Choosing DBMS: friendly to Linux, Apache, Perl, Jav (Milton)
Re: h2n (Mike Stok)
Re: h2n (Jeffrey Drumm)
Re: Indexing servers <pkeefe@ix.netcom.com>
Re: Serial Port problems... (Matthew H. Gerlach)
System calls: both STDOUT and return value? nospam@domain.com
Re: System calls: both STDOUT and return value? (Craig Berry)
Re: what's wrong with this code? <markc@relationships.com>
Re: Where is perldoc? <gwynne@utkux.utk.edu>
Re: Where is perldoc? <gwynne@utkux.utk.edu>
Re: y2k nospam@domain.com
Digest Administrivia (Last modified: 8 Mar 97) (Perl-Users-Digest Admin)
----------------------------------------------------------------------
Date: 9 Jul 1998 23:06:10 GMT
From: mike@stok.co.uk (Mike Stok)
Subject: Re: -w on production code (was Re: better way of getting the last modified file?)
Message-Id: <6o3id2$3o5@news-central.tiac.net>
In article <900015627.577625@elaine.drink.com>,
Alan Barclay <gorilla@elaine.drink.com> wrote:
>Why not keep everyone happy, and make a -W option, for no-warnings,
>and make it a compile time option if -w or -W is the default.
>
>People who want warnings can add -w to their script
>People who don't want warnings can add -W to their scripts
>People who don't care leave their scripts alone
>
>Perl installers who want warnings on by default can enable default -w
>Perl installers who don't want warnings on by default can disable default -w
>
>If you're on a system where you didn't install perl, and aren't happy
>with the default, and don't want to change all your scripts, then you
>can add -w or -W to PERL5OPT
>
>Any problems with this approach?
Why not leave it as it is? People who want warnings can use -w...
Mike
--
mike@stok.co.uk | The "`Stok' disclaimers" apply.
http://www.stok.co.uk/~mike/ | PGP fingerprint FE 56 4D 7D 42 1A 4A 9C
http://www.tiac.net/users/stok/ | 65 F3 3F 1D 27 22 B7 41
stok@colltech.com | Collective Technologies (work)
------------------------------
Date: 9 Jul 1998 23:43:06 GMT
From: Tom Christiansen <tchrist@mox.perl.com>
Subject: Re: -w on production code (was Re: better way of getting the last modified file?)
Message-Id: <6o3kia$2p2$1@csnews.cs.colorado.edu>
[courtesy cc of this posting sent to cited author via email]
In comp.lang.perl.misc,
mike@stok.co.uk (Mike Stok) writes:
:Why not leave it as it is? People who want warnings can use -w...
Yes, that's how it shall stay, Mike. I wouldn't worry.
What Larry wrote about -w being the #1 bug is really just a whimsical
thought. I think you can rest assured that Larry really wouldn't want
to remove someone' s freedom of choice about the amount of pain they want.
I simply believe in pain now when I'm expecting it, not pain
later when it doesn't run right and doesn't tell me why.
--tom
--
"Many folks want nothing more than to live and let learn." --Larry Wall
------------------------------
Date: 09 Jul 1998 20:00:38 -0400
From: Lloyd Zusman <ljz@asfast.com>
Subject: Re: -w on production code (was Re: better way of getting the last modified file?)
Message-Id: <ltoguy60d5.fsf@asfast.com>
On NPGE - IV, abigail@fnx.com (Abigail) writes:
> Lloyd Zusman (ljz@asfast.com) wrote on MDCCLXXIII September MCMXCIII in
> <URL: news:ltu34r5hw8.fsf@asfast.com>:
> ++
> ++ Perhaps you consider japh's and the Roman Numeral date displayer to be
> ++ exceptions to your rule; if so, I take this to be quite reasonable and
> ++ I would totally agree with you ... just like I also consider it to be
> ++ quite reasonable to leave out the very useful and eminently helpful
> ++ `-w' and `use strict;' in certain other occasional cases, as well.
>
> I don't consider any of the quoted examples as good programming
> practise, so I consider your argument moot.
Well, your japh's and other much-appreciated snippets of code are
living proof that there are occasional valid uses for things that do
not fit your definition of "good programming practise".
And I contend that there are occasionally other instances where it's
also preferable to deviate in one or more ways from your particular
idea of "good programming practise"; in this case, the use of `-w' and
`use strict;'.
I guess you and I will just have to agree to disagree on this point.
But then again, I shouldn't be presumptuous: I can only speak for
myself, and at least *I'm* willing to agree to this. :)
--
Lloyd Zusman ljz@asfast.com
perl -e '$n=170;for($d=2;($d*$d)<=$n;$d+=(1+($d%2))){for($t=0;($n%$d)==0;
$t++){$n=int($n/$d);}while($t-->0){push(@r,$d);}}if($n>1){push(@r,$n);}
$x=0;map{$x+=(($_>0)?(1<<log($_-0.5)/log(2.0)+1):1)}@r;print"$x\n"'
------------------------------
Date: Fri, 10 Jul 1998 00:22:18 GMT
From: Rick Delaney <rick.delaney@shaw.wave.ca>
To: tina@tech.scandinaviaonline.se
Subject: Re: -w on production code (was Re: better way of getting the last modified file?)
Message-Id: <35A5600C.D5A90788@shaw.wave.ca>
Tina Marie Holmboe wrote:
>
>
> The company I work for have a set of programming guidelines. These
> guidelines are for the most part ignored (another discussion), but
> what is often *not* ignored is adding -w to production code.
>
Except by you.
If wading through the error log is what's mainly bugging you, why not
just make a perl script that will filter out junk that's not yours.
Better yet, a script that reads the log and e-mails the warnings to
their owner every night.
Just a suggestion. (But you might prefer to keep your friends :-)
--
Rick Delaney
rick.delaney@shaw.wave.ca
------------------------------
Date: Thu, 9 Jul 1998 19:37:56 -0400
From: "Racso" <racso1983@SPAMLESS.mainsite.com>
Subject: Calling up a gif within the return html of a perl script.
Message-Id: <6o3kbp$8ti$1@usenet51.supernews.com>
I have searched through the FAQ and spent a number of hours
over on Deja News looking for the answer to my question, but
with no luck. On Deja News I came very close since this question
seems to have been asked countless times, but the answers that
have been given don't help me much. So I've come in person
to ask you wonderful wizards of Perl if you could help this
lowly Perl Newbie out.
I am using Matt Wright's Perl Guestbook, but with the html output
slightly modified for the look I desire. In the return html that
the script gives, where it might usaully say "Thank You" to the user,
I want an image to appear within the html.
In Deja news, I found things like this:
--------------------------------------
$output = "image.gif";
# output image
print "Content-type: image/gif\n\n";
open(IMAGE, $output);
binmode(IMAGE);
while(<IMAGE>) {print ;}
close(IMAGE);
--------------------------------------
But I'm not too sure how to make it work. Infact, I'm not sure if this
is what *would* be used for what I need.
Here's what I want to do, if it will help you help me:
--------------------------------------
Sub return_html {
print "Content-type: text/html\n\n";
print "<!doctype html public \"-//W3C//DTD HTML 3.2//EN\">\n";
print "<html lang=\"en\"><head><title>Message Added: $subject</title>\n";
print "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=ISO-8859-1\">\n";
<-snipped->
print " <td width=\"150\" align=\"center\" valign=\"top\"><img src=\"DESIRED IMAGE
URL\"><td>\n";
<-snipped rest->
--------------------------------------
From what I've read from old posts on Deja News, plus various web pages, I *think*
I'm supposed to have the script call the image up and put it into a variable, and then
I could just put the variable within the html above. My question is, is that what
I must do and if so, how do I go about doing it?
I hope I've given you enough here to be able to help me, and if you can help,
I couldn't begin to show my appreciation! Serisously.
Thanks for your time.
--Racso
Henry D. Archut
------------------------------
Date: Thu, 09 Jul 1998 23:52:19 GMT
From: sowmaster@juicepigs.com (Bob Trieger)
Subject: Re: Calling up a gif within the return html of a perl script.
Message-Id: <6o3l7q$g2f$1@strato.ultra.net>
Not mailed due to assenine address munging.
"Racso" <racso1983@SPAMLESS.mainsite.com> wrote:
-> I have searched through the FAQ and spent a number of hours
-> over on Deja News looking for the answer to my question, but
-> with no luck.
>>> snip <<<
This is an HTML question, not perl, nor even CGI.
Why not
print '<IMG SRC="http://your.address.com/your.gif">';
Bob Trieger
sowmaster@juicepigs.com
" Cost a spammer some cash: Call 1-800-400-1972
Ext: 1949 and let the jerk that answers know
that his toll free number was sent as spam. "
------------------------------
Date: 10 Jul 1998 00:10:02 GMT
From: "Rob W. Walls" <wallsr@jcave.com>
Subject: Re: Calling up a gif within the return html of a perl script.
Message-Id: <01bdab97$0bf726c0$484347ce@robwalls>
If I understand your question, all you have to do is put the .gif file on
your web server and print "<img src=\"xxx.gif\">"...in your return_html
code.
If you want to send a code selected image, use print "<img
src=\"",$imagename,"\>"...
wallsr@jcave.com
Racso <racso1983@SPAMLESS.mainsite.com> wrote in article
<6o3kbp$8ti$1@usenet51.supernews.com>...
> I have searched through the FAQ and spent a number of hours
> over on Deja News looking for the answer to my question, but
> with no luck. On Deja News I came very close since this question
> seems to have been asked countless times, but the answers that
> have been given don't help me much. So I've come in person
> to ask you wonderful wizards of Perl if you could help this
> lowly Perl Newbie out.
>
> I am using Matt Wright's Perl Guestbook, but with the html output
> slightly modified for the look I desire. In the return html that
> the script gives, where it might usaully say "Thank You" to the user,
> I want an image to appear within the html.
>
> In Deja news, I found things like this:
>
> --------------------------------------
> $output = "image.gif";
>
> # output image
> print "Content-type: image/gif\n\n";
> open(IMAGE, $output);
> binmode(IMAGE);
> while(<IMAGE>) {print ;}
> close(IMAGE);
> --------------------------------------
> But I'm not too sure how to make it work. Infact, I'm not sure if this
> is what *would* be used for what I need.
>
> Here's what I want to do, if it will help you help me:
> --------------------------------------
> Sub return_html {
> print "Content-type: text/html\n\n";
> print "<!doctype html public \"-//W3C//DTD HTML 3.2//EN\">\n";
> print "<html lang=\"en\"><head><title>Message Added:
$subject</title>\n";
> print "<meta http-equiv=\"Content-Type\" content=\"text/html;
charset=ISO-8859-1\">\n";
> <-snipped->
> print " <td width=\"150\" align=\"center\"
valign=\"top\"><img src=\"DESIRED IMAGE
> URL\"><td>\n";
> <-snipped rest->
> --------------------------------------
>
> From what I've read from old posts on Deja News, plus various web
pages, I *think*
> I'm supposed to have the script call the image up and put it into a
variable, and then
> I could just put the variable within the html above. My question is, is
that what
> I must do and if so, how do I go about doing it?
>
> I hope I've given you enough here to be able to help me, and if you can
help,
> I couldn't begin to show my appreciation! Serisously.
>
> Thanks for your time.
>
> --Racso
> Henry D. Archut
>
>
>
------------------------------
Date: 10 Jul 1998 00:01:45 GMT
From: cberry@cinenet.net (Craig Berry)
Subject: Re: Calling up a gif within the return html of a perl script.
Message-Id: <6o3ll9$b5c$2@marina.cinenet.net>
Racso (racso1983@SPAMLESS.mainsite.com) wrote:
: Here's what I want to do, if it will help you help me:
: --------------------------------------
: Sub return_html {
: print "Content-type: text/html\n\n";
: print "<!doctype html public \"-//W3C//DTD HTML 3.2//EN\">\n";
: print "<html lang=\"en\"><head><title>Message Added: $subject</title>\n";
: print "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=ISO-8859-1\">\n";
: <-snipped->
: print " <td width=\"150\" align=\"center\" valign=\"top\">
: <img src=\"DESIRED IMAGE URL\"><td>\n";
: <-snipped rest->
: --------------------------------------
So do that! Just generate regular ol' HTML, with an <img> tag aimed at
the image you want to display. Use a full-path url, since you're
presumably in cgi-bin, and you'll be grabbing the image from the 'htdocs'
part of the tree. Oh, and use a here doc to save yourself mucho typing.
Assuming your desired image is at local url /foo/bar.gif, here's how I'd
rewrite your code:
sub return_html
{
print <<END_OF_HTML;
Content-type: text/html
<!doctype html public "-//W3C//DTD HTML 3.2//EN">
<html lang="en"><head><title>Message Added: $subject</title>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<-snipped->
<td width="150" align="center" valign="top">
<img src="/foo/bar.gif"><td>
<-snipped->
END_OF_HTML
}
I've left in some rather weird and questionable header stuff; I'd also
tend to do this using CGI.pm, saving myself from seeing some of the gorier
details of getting the header right. But the general form given above
should work just fine. Think about it -- why wouldn't it? <img> tags
are resolved at the browser; put one in the HTML generated by a CGI, and
it'll get treated just like any other <img> tag.
CGI Rule One: The browser can't tell what's generating the HTML it reads.
---------------------------------------------------------------------
| Craig Berry - cberry@cinenet.net
--*-- Home Page: http://www.cinenet.net/users/cberry/home.html
| Member of The HTML Writers Guild: http://www.hwg.org/
"Every man and every woman is a star."
------------------------------
Date: 10 Jul 1998 00:57:48 GMT
From: abigail@fnx.com (Abigail)
Subject: Re: Calling up a gif within the return html of a perl script.
Message-Id: <6o3ouc$lpa$27@client3.news.psi.net>
Racso (racso1983@SPAMLESS.mainsite.com) wrote on MDCCLXXIII September
MCMXCIII in <URL: news:6o3kbp$8ti$1@usenet51.supernews.com>:
++
++ I am using Matt Wright's Perl Guestbook,
Please use 'rm' while debugging.
Abigail
--
perl5.004 -wMMath::BigInt -e'$^V=new Math::BigInt+qq;$^F$^W783$[$%9889$^F47$|88768$^W596577669$%$^W5$^F3364$[$^W$^F$|838747$[8889739$%$|$^F673$%$^W98$^F76777$=56;;$^U=substr($]=>$|=>5)*(q.25..($^W=@^V))=>do{print+chr$^V%$^U;$^V/=$^U}while$^V!=$^W'
------------------------------
Date: Fri, 10 Jul 1998 00:01:40 GMT
From: m.hewitt@worldnet.att.net (Milton)
Subject: Re: Choosing DBMS: friendly to Linux, Apache, Perl, Java
Message-Id: <6o3lhs$g7l@bgtnsc02.worldnet.att.net>
At precisely, Thu, 09 Jul 1998 12:24:07 -0700
ID: <35A518D7.1B43@Non-HP-USA-om42.om.hp.com>
Newsgroup: news:comp.databases
Matt Houseman proclaimed:
>Your best bet to create a robust app is to choose InterBase given
>the choices available right now for Linux. Have a look at:
>http://www.interbase.com (Lots of downloadable software for Linux)
>I think that you'll find that it meets all of your criteria:
> - RedHat
> - IBPerl
> - InterClient JDBC driver
>Matt Houseman
I agree, BUT Interbase 4 will only run on RedHat 4.2.
Interbase 5, coming in 3qtr98 will run on RedHat 5.x
--
+++++++++++++++++++++++++;;;;;;;;;;;;;;;;;;;;;;;;;;
Milton B. Hewitt
CAUCE member - http://www.cauce.org
Proud supporter of the Microsoft Boycott Campaign
http://www.abctec.com/~msbc/
+++++++++++++++++++++++++;;;;;;;;;;;;;;;;;;;;;;;;;;
------------------------------
Date: 9 Jul 1998 23:10:08 GMT
From: mike@stok.co.uk (Mike Stok)
Subject: Re: h2n
Message-Id: <6o3ikg$3o5@news-central.tiac.net>
In article <35A530B4.4910@pandore.qc.ca>,
Sebastien Perreault <wolverine@pandore.qc.ca> wrote:
>Could someone tell me where I could find h2n,
>
>That script could make my life easier...
>
>It's the script that changes de hosts into db. files...
/pub/examples/nutshell/dnsbind on ftp.ora.com might be one place to look.
Hope this helps,
Mike
--
mike@stok.co.uk | The "`Stok' disclaimers" apply.
http://www.stok.co.uk/~mike/ | PGP fingerprint FE 56 4D 7D 42 1A 4A 9C
http://www.tiac.net/users/stok/ | 65 F3 3F 1D 27 22 B7 41
stok@colltech.com | Collective Technologies (work)
------------------------------
Date: Fri, 10 Jul 1998 00:09:55 GMT
From: drummj@mail.mmc.org (Jeffrey Drumm)
Subject: Re: h2n
Message-Id: <35a55249.690139188@news.mmc.org>
[posted and mailed]
On Thu, 09 Jul 1998 21:05:58 GMT, Sebastien Perreault
<wolverine@pandore.qc.ca> wrote:
>Could someone tell me where I could find h2n,
>
>That script could make my life easier...
>
>It's the script that changes de hosts into db. files...
^^
A script that turns German hosts into db. files, now that would be
something!
;-)
>Thanks
The URL should be in the O'Reilly _DNS and BIND_ book; since you know about
h2n, you probably have the book (I did, but one of my fellow cow orkers
must've borrowed it). It's definitely somewhere on www.ora.com, though, and
if I was dialed in right now, I'd find it for you. Unfortunately, you'll
have to do a little web diving yourself . . .
Good luck!
--
Jeffrey R. Drumm, Systems Integration Specialist
Maine Medical Center Information Services
420 Cumberland Ave, Portland, ME 04101
drummj@mail.mmc.org
"Broken? Hell no! Uniquely implemented." -me
------------------------------
Date: Wed, 8 Jul 1998 20:38:48 -0400
From: "Pete Keefe" <pkeefe@ix.netcom.com>
Subject: Re: Indexing servers
Message-Id: <6o3nqk$srs@sjx-ixn10.ix.netcom.com>
This may sound too easy but if assuming you are running on NT and you are
using Microsoft's IIS why not just install the free Microsoft Index Server -
it's quite an impressive package that cross references all kinds of
documents.
Clinton Gormley wrote in message <6nvcrn$hds$1@taliesin.netcom.net.uk>...
>I want to build a web site that works a bit like the Microsoft Knowledge
>Base - so a searchable index of articles - probably a key word search
rather
>than full text indexing.
>
>I'd like to do this with Perl as it's the scripting language with which I
am
>most familiar.
>
>I don't have buckets of money to fling around, and ISPs in this country are
>not crazy about putting huge databases onto their own servers meaning I'd
>have to buy my own, unless I can build something simple.
>
>Any ideas?
>
>Clint
>
>
>
------------------------------
Date: Thu, 9 Jul 1998 23:55:30 GMT
From: gerlach@netcom.com (Matthew H. Gerlach)
Subject: Re: Serial Port problems...
Message-Id: <gerlachEvuqGI.D3w@netcom.com>
In article <ercoEvu2CI.DD1@netcom.com> erco@netcom.com (Greg Ercolano) writes:
>zibblepies@my-dejanews.com wrote:
>> I'm having problems getting a serial port to respond.
>
I have found a very easy to talk to UNIX serial ports from perl is to use
the Expect module to talk to a serial program like ckermit, cu, or tip.
The serial program takes care of all the low-level stuff like the lock
files and what not.
Matthew
------------------------------
Date: 9 Jul 1998 23:25:54 GMT
From: nospam@domain.com
Subject: System calls: both STDOUT and return value?
Message-Id: <6o3ji2$8bu$1@picasso.op.net>
If I use backticks, then I can easily get the STDOUT of
a system call:
$out = `/bin/ls`;
If I use system(), then I can easily get the return value
of that same system call:
$rt = system("/bin/ls");
But how can I easily get *both* of these in one call?
And if you can't, then why not, really?
Here is some code which does not work.
I think I just don't understand the pipe() function here:
# START BAD CODE:
open(SAVE_STDOUT, ">&STDOUT");
pipe STDOUT,OUTPUT;
$rc = system("ls");
close STDOUT;
$out = <OUTPUT>;
open(STDOUT,"&>SAVE_STDOUT");
print " Return value = $rc \n";
print " Standard output = $out \n";
# END BAD CODE
So what is the right way to do this? I've searched all through
the Camel book, the perlipc manpages, the FAQ. There's extensive
instructions on how to handle filehandles, but nothing about
this exact scenario. Is this really, honestly impossible to do?
Am I the only one in the world who wants to do this?
Why is it so difficult?
PS: I don't think that IPC::Open3 will give you
the return value of a system call, so it's not helpful here.
Please correct me if I'm wrong about this. I've never
seen an example of this using IPC::Open3.
--
##--------------------------------
## John Nolan
## jpn acm org
##--------------------------------
------------------------------
Date: 9 Jul 1998 23:48:17 GMT
From: cberry@cinenet.net (Craig Berry)
Subject: Re: System calls: both STDOUT and return value?
Message-Id: <6o3ks1$b5c$1@marina.cinenet.net>
nospam@domain.com wrote:
: If I use backticks, then I can easily get the STDOUT of
: a system call:
:
: $out = `/bin/ls`;
:
: If I use system(), then I can easily get the return value
: of that same system call:
:
: $rt = system("/bin/ls");
:
: But how can I easily get *both* of these in one call?
$out = `/bin/ls`;
$rt = $?;
No real need to do that second assignment, of course; you can just use $?
where you want the return value. See 'perldoc perlvar'.
: And if you can't, then why not, really?
As if Perl wouldn't let you do that! :-)
---------------------------------------------------------------------
| Craig Berry - cberry@cinenet.net
--*-- Home Page: http://www.cinenet.net/users/cberry/home.html
| Member of The HTML Writers Guild: http://www.hwg.org/
"Every man and every woman is a star."
------------------------------
Date: Thu, 9 Jul 1998 16:30:58 -0700
From: "Mark Castillo" <markc@relationships.com>
Subject: Re: what's wrong with this code?
Message-Id: <35a551a4.0@newsread.exodus.net>
it works when i manually ping the ip or hostname.
when I substitue an IP for a hostname in the script, I get the same results.
Thank you for your time, I will check into my setup....
John Porter wrote in message <35A534C3.2446@min.net>...
>Mark Castillo wrote:
>>
>> hi, every time i run this it always says prints "Down!".
>> I try it with other hosts, and it always says it.
>
>Works fine for me. Maybe there's something wrong with your
>IP configuration, e.g. DNS. Did you try it with IP numbers
>too? What happens when you use the 'ping' command at the
>prompt? As in
> % ping localhost
>
>--
>John Porter
------------------------------
Date: Thu, 9 Jul 1998 20:32:49 -0400
From: "Bob Gwynne" <gwynne@utkux.utk.edu>
Subject: Re: Where is perldoc?
Message-Id: <6o3nlh$fb8$1@gaia.ns.utk.edu>
You must use perldoc as a command, followed by the name of the document you
want to call. I suggest that you begin by typing "perldoc perldoc" (sans
quotes) at the prompt. That will get you started.
Bob Gwynne
Speech Comm
University of Tennessee
Scott Erickson wrote in message <35a4e4c7.693961303@news.mr.net>...
>
>I have seen many references to something called perldoc, yet, I have
>never found this program and I am unable to call it from the Unix
>command line. Am I misunderstanding how it is to be used? Where is
>this app normally placed?
>
>Scott.
------------------------------
Date: Thu, 9 Jul 1998 20:43:20 -0400
From: "Bob Gwynne" <gwynne@utkux.utk.edu>
Subject: Re: Where is perldoc?
Message-Id: <6o3o99$gav$1@gaia.ns.utk.edu>
I forgot to mention:
If you type perldoc perl, you can view the various sections of the Perl
manual. For example:
perl Perl overview (this section)
perltoc Perl documentation table of contents
perldata Perl data structures
.........
.........
Bob
Bob Gwynne wrote in message <6o3nlh$fb8$1@gaia.ns.utk.edu>...
>You must use perldoc as a command, followed by the name of the document you
>want to call. I suggest that you begin by typing "perldoc perldoc" (sans
>quotes) at the prompt. That will get you started.
>
>Bob Gwynne
>Speech Comm
>University of Tennessee
>
>Scott Erickson wrote in message <35a4e4c7.693961303@news.mr.net>...
>>
>>I have seen many references to something called perldoc, yet, I have
>>never found this program and I am unable to call it from the Unix
>>command line. Am I misunderstanding how it is to be used? Where is
>>this app normally placed?
>>
>>Scott.
>
>
------------------------------
Date: 9 Jul 1998 23:46:14 GMT
From: nospam@domain.com
Subject: Re: y2k
Message-Id: <6o3ko7$9ku$1@picasso.op.net>
: In article <Pine.GSO.3.96.980709103533.18394B-100000@catbert.ucdavis.edu>
: on Thu, 9 Jul 1998 10:36:51 -0700, Michael Nguyen
: <ez062634@mailbox.ucdavis.edu> says...
: > localtime() returns the year as the current year minus 1900 how will this
: > affect localtime() when 2000 comes by ... whill it return 100?
Yes, it will. And your program needs to handle that.
--
##--------------------------------
## John Nolan
## jpn acm org
##--------------------------------
------------------------------
Date: 8 Mar 97 21:33:47 GMT (Last modified)
From: Perl-Request@ruby.oce.orst.edu (Perl-Users-Digest Admin)
Subject: Digest Administrivia (Last modified: 8 Mar 97)
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.
To submit articles to comp.lang.perl.misc (and this Digest), send your
article to perl-users@ruby.oce.orst.edu.
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.
The Meta-FAQ, an article containing information about the FAQ, is
available by requesting "send perl-users meta-faq". The real FAQ, as it
appeared last in the newsgroup, can be retrieved with the request "send
perl-users FAQ". Due to their sizes, neither the Meta-FAQ nor the FAQ
are included in the digest.
The "mini-FAQ", which is an updated version of the Meta-FAQ, is
available by requesting "send perl-users mini-faq". It appears twice
weekly in the group, but is not distributed in the digest.
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 V8 Issue 3111
**************************************