[7174] in Perl-Users-Digest
Perl-Users Digest, Issue: 799 Volume: 8
daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Thu Jul 31 11:22:02 1997
Date: Thu, 31 Jul 97 08:00:21 -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, 31 Jul 1997 Volume: 8 Number: 799
Today's topics:
Re: [Q] Can you generate "page.html#bottom" in PERL? <flavell@mail.cern.ch>
Re: [Q] Checkbox forms in Perl <mattrope@mdhost.cse.tek.com>
Re: CGI and foreign languages?? (Abigail)
CGI.pm and embedded perl epeschko@elmer.tci.com
Command-line globbing in Win32 ports (Eric Bohlman)
Re: Doubt using PERL and NT <alex@surferdude.com>
Re: efficient rounding method? <sfairey@adc.metrica.co.uk>
Errno 26 <webman@digiflyer.com>
Re: HELP: perl 5.001 WinNT <mi@ugs.com>
How to get file names from a directory <deforres@acs.ucalgary.ca>
Re: How to get file names from a directory <terjebr@pvv.ntnu.no>
Insecure path warnings with -T despite $ENV{PATH} restr <friedman@uci.edu>
Re: Output Redirection... <sfairey@adc.metrica.co.uk>
Re: Perl script won't work on AIX! (Tad McClellan)
Re: Print Web Page a la netscape <Joe.Kline@sdrc.com>
Re: resolving the csh ~user directory in perl <stuartc@ind.tansu.com.au>
Re: Splitting a filename <terjebr@pvv.ntnu.no>
Re: Substitution <mattrope@mdhost.cse.tek.com>
Super Newbie Question <nv96llu@mail.ksk.sala.se>
Re: Too many people in this group are arrogant #*(@# (R (Tad McClellan)
Re: Too many people in this group are arrogant #*(@# (R (Mike Heins)
Upcoming Win32 Perl Book (Jim Esten)
Re: www.perl.com? (Matthew D. Healy)
Digest Administrivia (Last modified: 8 Mar 97) (Perl-Users-Digest Admin)
----------------------------------------------------------------------
Date: Thu, 31 Jul 1997 00:00:13 GMT
From: "Alan J. Flavell" <flavell@mail.cern.ch>
Subject: Re: [Q] Can you generate "page.html#bottom" in PERL?
Message-Id: <Pine.A41.3.95a.970731015336.34356A-100000@sp067>
On Wed, 30 Jul 1997 bowker@iNetWebInc.com wrote:
> Seems I stated my question badly ...
and in the wrong place
> what I'm trying to do is not just
> generate HTML code from a PERL script (thanks, Stefan, that IS
> elementary), but to force
yeah, force doesn't work on the WWW, but we know what you mean...
Look, the fragment (#bottom) is actioned by the browser. You've
got to get that fragment into the URL that the browser is actioning.
Technically you can't do that. In practice you may be able to fool
the browser by sending it a redirection URL (i.e having the CGI
generate a Location: http://whatever.domain/some-path/some.html#bottom)
It's a puzzle. Try and work it out and take up further questions on
the CGI group where they're at least marginally on-charter.
If that # isn't a hash sign then it should be. This is an unfamiliar
British keyboard I'm using ;-)
------------------------------
Date: Wed, 30 Jul 1997 08:51:49 -0700
From: Matt Roper <mattrope@mdhost.cse.tek.com>
To: Adam Grayson <dyrewolf@worldnet.att.net>
Subject: Re: [Q] Checkbox forms in Perl
Message-Id: <Pine.SUN.3.95q.970730084758.18896V-100000@tekgp4.cse.tek.com>
You should give checkboxes different names. I don't even bother to set
the value in my programs. After parsing the form input I can say:
if ($in{check1}) {
### Code here
}
if ($in{check2}) {
### More code
}
If you use radio buttons (instead of checkboxes) then you should use a
single name with different values and process them like:
if ($in{rbutton} eq "op1") {
### Code here
} elsif ($in{rbutton} eq "op2") {
### more code
}
Hope this helps.
On Tue, 29 Jul 1997, Adam Grayson wrote:
> I'm new to this, so please pardon any taboos.
>
> I have an HTML form with a list of items, each with a checkbox next to
> it. The purpose of the script is to see which were checked off, and to
> run a function as a result of it. I was told by one person to give each
> checkbox the name, but different values, and by another to give each
> different names, and put "yes" as the value on each. I know that's more
> an HTML issue, but please excuse it.
>
> Thanks in advance to anyone who can help.
>
> Adam Grayson
>
> P.S. If possible, please reply via e-mail as well as posting a reply to
> the newsgroup. Thanks
>
>
==============
Matt Roper
mattrope@mdhost.cse.tek.com
------------------------------
Date: Wed, 30 Jul 1997 19:07:13 GMT
From: abigail@fnx.com (Abigail)
Subject: Re: CGI and foreign languages??
Message-Id: <EE5Bs1.LAt@nonexistent.com>
Roger Easlick (roger@ole-net.com) wrote on 1429 September 1993 in
<URL: news:<33deae26.35682609@news.voyager.net>>:
++ I am (trying to) write CGI scripts to automate my web site
++
++ http://www.ole-net.com/
++
++ which is in four languages. Can anyone tell me whether it is possible
++ to get perl to deal with the accented charaters used in German, French
++ and Spanish? I would greatly appreciate it.
Perl is 8-bit clean. As far as I know, you can encode German, French,
Spanish and English in ISO 8859-1, which is an 8 bit character set.
Perl doesn't char if the bytes it's outputting are used for letters
- it is just data. And Perl, like many other tools, use 8 bit bytes,
one byte words.
On top of that, the new standard characterset for HTML uses Unicode -
but the document itself is still encoded using an 8 bit character set.
And in fact, you can encode *all* of the possible 65k unicodes using
7bits ASCII.
Now, there are some languages out there whose characters cannot be
encoded using an 8 bit character set, or with Unicode, and you are
probably not being able to use them on the Web now - but that isn't
Perl's fault.
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=$]*(q.25..($^W=@^V))=>do{print+chr$^V%$^U;$^V/=$^U}while$^V!=$^W'
------------------------------
Date: Wed, 30 Jul 1997 18:21:46 -0600
From: epeschko@elmer.tci.com
Subject: CGI.pm and embedded perl
Message-Id: <870304437.5062@dejanews.com>
hey all --
I'm writing a book on perl, and wanted to include a couple of examples on
code written with an interpreter embedded into the www server to speed
up load times. (for example, Apache with mod_perl, which should shortly
work both on Unix and NT)
I haven't done such a thing ( yet ), and wanted to get some pointers for
good examples on how to use mod_perl with CGI.pm (if it is in fact
possible.) Doctor Stein is, unfortunately, in china at the moment. :-(
FastCGI is cool, too, and I'd like to get pointers to this, too.
Thanks for any help in advance! You'll gain my eternal thanks..
Ed
(
PS: has anybody ever used the autoloader yet on CGI.pm to speed it up?
(It's such a *hefty* overhead, after all to have perl parse 5208 lines
before even starting to execute a perl script! I'd be interested to hear
these results, too...
)
-------------------==== Posted via Deja News ====-----------------------
http://www.dejanews.com/ Search, Read, Post to Usenet
------------------------------
Date: Thu, 31 Jul 1997 01:46:29 GMT
From: ebohlman@netcom.com (Eric Bohlman)
Subject: Command-line globbing in Win32 ports
Message-Id: <ebohlmanEE5u9H.LpD@netcom.com>
The Activeware Win32 ports of 5.003 appear to contain some preprocessing
logic that expands command-line globs before filling @ARGV, so that they
behave the same way under Win32 as under Unix (where the shell expands
globs before passing them to Perl). Gurusamy Sarathy's 5.004_01 port
appears not to include this logic, and arguments including * or ? are
passed literally to @ARGV without being expanded. Am I missing some new
option I need to set to get the old behavior?
------------------------------
Date: Wed, 30 Jul 1997 11:26:54 +0100
From: "Alex" <alex@surferdude.com>
Subject: Re: Doubt using PERL and NT
Message-Id: <5rps0f$msf$1@sys10.cambridge.uk.psi.net>
Not sure if anyone replied to this, but I don't think you can do what you
are trying to. UNC names may work from the command prompt (95 and NT only)
but I haven't found a way to use them in perl scripting.
The alternative I use is to 'net use' a drive to a remote machine and then
do this instead. If you are switching between multiple machiens, you could
always do something clever like connecting a virtual drive to a machine on
the fly, referring to it as a drive letter to read/write your files, and
then deleting it at the end.
Regards,
Alex
rcosta@cenapad.unicamp.br wrote in article <869769873.2629@dejanews.com>...
> I have a matter that I can't solve. I'm using PERL for Windows NT and
>IIS Web Server. I have my page on a server where IIS is running and I
>want to see some files that are on other computer. These computers belong
>to the same network. I'm using the following command on my PERL script:
>
> $var = `dir \\\\another_computer\\sharename`;
------------------------------
Date: Wed, 30 Jul 1997 16:18:20 +0100
From: Simon Fairey <sfairey@adc.metrica.co.uk>
To: Jim Anderson <jander@ml.com>
Subject: Re: efficient rounding method?
Message-Id: <33DF5B3B.F105D9A6@adc.metrica.co.uk>
Jim Anderson wrote:
> I'd appreciate any suggestions for an efficient (yet elegant:-),
> perlish rounding method. sprintf is too slow.
>
> Thanks.
>
> (Pls e-mail a copy of the reply.)
>
> --
> Jim Anderson jander@ml.com
> Consultant-at-large jander@jander.com
> (212) 449-1598
If you can, look at http://www.dejanews.com and search for 'round
comp.lang.perl.misc'. This topic was covered in some depth recently ( I
found 14 relavent articles ).
Hope this helps.
Simon
------------------------------
Date: Wed, 30 Jul 1997 18:30:52 +0200
From: Sander Voerman <webman@digiflyer.com>
Subject: Errno 26
Message-Id: <33DF6C3C.C0C87387@digiflyer.nl>
Hi.
I've made some change's to Selena Sol's DB-manager, and I want to run
it. Now I have a problem.
When running the script through Netscape 4 I get an error message, errno
26. I've looked this one up, and it 'Text file buzy'. But when I run my
script on the commandline in linux, it works just fine.
Any Idea's?
Rool.
------------------------------
Date: Thu, 31 Jul 1997 14:58:11 +0200
From: Alfred Mickautsch <mi@ugs.com>
Subject: Re: HELP: perl 5.001 WinNT
Message-Id: <33E08BE3.6A2709BC@ugs.com>
Leonid Lamburt wrote:
> I installed perl 5.003_07 from ActiveWare on NT
>
> neither
> $files = `dir c:\somedir /B`;
> print $files;
>
> nor
> opendir MYDIR, "c:\somedir";
> @all_files = readdir MYDIR;
> print @all_files;
> works
>
> What is going on?
> (I am running the script directly on my machine)
Try this:
$files = `dir c:\\somedir /B`; # use double backslashes
print $files;
--
Alfred.Mickautsch@ugs.com
Schuler & Partner, Karl-Berner-Str. 4, 72285 Pfalzgrafenweiler
------------------------------
Date: Wed, 30 Jul 1997 17:02:26 -0600
From: Euan Forrester <deforres@acs.ucalgary.ca>
Subject: How to get file names from a directory
Message-Id: <5roh91$jvi@ds2.acs.ucalgary.ca>
I need to write a Perl script to remove old files from a specific
directory. I can find the time since the file was last accessed just fine,
but I don't know how to find out what file names exist in the directory,
so I can check them. Can anyone help me? Thanks in advance!
------------------------------
Date: 31 Jul 1997 02:26:49 +0200
From: Terje Br}ten <terjebr@pvv.ntnu.no>
Subject: Re: How to get file names from a directory
Message-Id: <kbgwwm8qd6e.fsf@otto.pvv.ntnu.no>
Euan Forrester <deforres@acs.ucalgary.ca> writes:
> I need to write a Perl script to remove old files from a specific
> directory. I can find the time since the file was last accessed just fine,
> but I don't know how to find out what file names exist in the directory,
> so I can check them. Can anyone help me? Thanks in advance!
If you f.ex. want to find the filenames of the files in directory
'/foo/bar/baz' you can use these lines of perl code:
$dir = '/foo/bar/baz';
opendir (DIRHANDLE,$dir) || die $! ;
@files = readdir(DIRHANDLE);
closedir DIRHANDLE;
Then the filenames are found in the array @files.
--
******************************************************************************
Terje Breten | "For God sent not his Son into
The Norwegian Institute of Technology --+-- the world to condemn the world;
Faculty of Physics and Mathematics | but that the world through him
E-mail: terjebr@pvv.ntnu.no | might be saved" John 3:17
******************************************************************************
------------------------------
Date: 30 Jul 1997 22:56:54 GMT
From: "Eric D. Friedman" <friedman@uci.edu>
Subject: Insecure path warnings with -T despite $ENV{PATH} restrictions
Message-Id: <5rogrm$cou@news.service.uci.edu>
Does anyone know why the following produces a warning that reads
"Insecure $ENV{PATH} while running with -T switch"
for a system call with an absolute path, no arguments, and no
variables:
system '/users/oacstaff/eee/admin/bin/log_transaction';
in a script whose PATH has been restricted explicitly:
$ENV{PATH} = '/usr/ucb:/bin:/usr/bin'; # Restrict path
I read perlsec and the FAQ section on laundering tainted data, as well
as the Camel section on p. 357, all to no avail.
TIA,
Eric
--
Eric D. Friedman
friedman@uci.edu
------------------------------
Date: Wed, 30 Jul 1997 15:59:53 +0100
From: Simon Fairey <sfairey@adc.metrica.co.uk>
To: "Sylvain St.Germain" <sgermain@nortel.ca>
Subject: Re: Output Redirection...
Message-Id: <33DF56E8.66E1A0F@adc.metrica.co.uk>
Sylvain St.Germain wrote:
> Hi all,
>
> How do you redirect the output of a perl function to
> somewhere else...
>
> Let say you need the output of Perl5 Carp::croak in a log file...
>
> Many regards,
> Sylvain.
Look in the FAQ at http://www.perl.com/FAQ. Search for the section on
redirecting output for STDERR etc. I believe it covers what you are
interested in.
Try running this:
open STDERR, ">A_LOG_FILE";
open FILE, 'A_NON_EXISTENT_FILENAME' or die "Unable to open the file:
$!";
print "\nYou have some strange filenames if you are seeing
this...!!!\n";
Then have a look at what is in 'A_LOG_FILE'.
Simon
------------------------------
Date: Wed, 30 Jul 1997 09:19:20 -0500
From: tadmc@flash.net (Tad McClellan)
Subject: Re: Perl script won't work on AIX!
Message-Id: <8hinr5.tb1.ln@localhost>
Suhail Warsi (swarsi@zeus.nmp.com) wrote:
: This script works in linux for writing to a text file, but it doesn't
: work in AIX. Anybody see something in the syntax that might cause this?
I see nothing wrong with the syntax.
I see something wrong with the programming style though,
especially after discovering that it doesn't work.
You are ignoring the return values...
: open (FILE,">>$dbfile");
: print FILE "$dbentry\n";
: close (FILE);
open (FILE,">>$dbfile") || die "could not open '$dbfile' $!";
print FILE "$dbentry\n";
close (FILE) || die "problem closing '$dbfile' $!";
See if that gives you any helpful information...
--
Tad McClellan SGML Consulting
Tag And Document Consulting Perl programming
tadmc@flash.net
------------------------------
Date: Thu, 31 Jul 1997 08:27:28 -0400
From: Joe Kline <Joe.Kline@sdrc.com>
To: cs@zip.com.au
Subject: Re: Print Web Page a la netscape
Message-Id: <33E084B0.167E@sdrc.com>
What I had in mind was a way to print a web page out from
the command line (just laziness on my part I gues).
So I guess I should look for an html2postscript converter then
basically??
Thanks,
joe
Cameron Simpson wrote:
>
> Joe Kline <Joe.Kline@sdrc.com> writes:
<<SNIP>>
> | What I am looking for is a way to print the web page the way it
> | looks viewed through a browser (something similar to the print
> | icon in netscape).
> |
> | Please inform me if I missed something in the documentation.
>
> Well
> - what's wrong with the browser's <print> function?
I want something from the command line
> - you could wrap a script around xwd and dump a view of the
> browser window - of course this doesn't work for pageslonger
> than the window
not what I really want, it would be nice if I don't
have to open a browser
> - anything else (eg PrintURL($url,$lpcmd)) requires fetching
> the page
> source, rendering it and anything else it inlines,
> transcribing to
> the printer's input language (eg PostScript)
> certainly feasible but hardly trivial
I gues this is I want, to be able to pull a page and
dump into a printer,
Looks like I get to go searching for html to postscript
converters ( is there and emoticon that
adequately conveys the joy of enlightment
but the depression of a job not yet done??)
>
> Perhaps I don't understand your needs fully.
> - Cameron Simpson, cs@zip.com.au, DoD#743
> http://www.zip.com.au/~cs/
> --
> This person is currently undergoing electric shock therapy at Agnews
> Developmental Center in San Jose, California. All his opinions are static,
> please ignore him. Thank you, Nurse Ratched
> - the sig quote of Bob "Another beer, please" Christ <bhatch@netcom.com>
--
/===============================\
| Joe Kline=>Joe.Kline@sdrc.com |
| Try not. |
| Do or do not. |
| There is no try. |
| -Yoda |
\===============================/
------------------------------
Date: 31 Jul 1997 10:18:41 +1000
From: Stuart Cooper <stuartc@ind.tansu.com.au>
Subject: Re: resolving the csh ~user directory in perl
Message-Id: <yeoracggjku.fsf@kudu.ind.tansu.com.au>
> Hi,
>
> I'm trying to find a way to resolve the csh user home directory alias
> (~user) in perl. Any ideas??
>
> thanks,
>
> mark
Mark,
Firstly; avoid the temptation to grep /etc/passwd for the username,
and fiddle the output. Methinks that isn't elegant. Also with various
NFS, security etc things in place at many sites; you mightn't be able
to find users in /etc/passwd.
Here's 2 ways of doing it. 1) is quick and dirty, 2) is more elegant.
1) If I was in the ksh or csh shell, and I wanted to find where a
user's home directory was; I would do this:
cd ~sallyf
/bin/pwd
# I call /bin/pwd to avoid any shell builtin pwd's which might report
# the highly useful ingormation "~user". /bin/pwd will tell me that it
# is /home2/users/sallyf
So; if I want this info in Perl; I can do this stuff with backticks. Only:
backticks and system call the sh shell; I need ksh. So I system ksh -c
which means "do what's in this string". I was going to do this in csh
for you; but all I could find for csh was -c "do it from first filename"
there was no nifty "do it from what's in the string".
Error handling: I only want to do the /bin/pwd if the cd ~sallyf worked.
This can be done with "cd ~sallyf && /bin/pwd"; I hoik the error message
form the cd with "cd ~sallyf 2>/dev/null && /bin/pwd".
Here's program 1:
================================================================
#! /usr/local/bin/perl -w
# homedir.pl - return a user's home directory.
# This program gives "" if username doesn't exist on the system.
$usage="$0 username";
die "Usage: $usage\n" unless ($#ARGV == 0);
$username=$ARGV[0];
$username= '~' . $username;
$homedir=`ksh -c "(cd $username 2>/dev/null && /bin/pwd)"`;
# &&- only do the /bin/pwd if the cd $username succeeds
# This program gives "" if username doesn't exist on the system.
chomp($homedir);
print "$homedir\n";
================================================================
homedir.pl in action:
$ homedir.pl
Usage: homedir.pl username
$ homedir.pl douglasl
/home/douglasl
$ homedir.pl root
/
$ homedir.pl freddy
$
# there is no user called freddy on my system, regrettably.
2) More elegant in my opinion:
The system calls that programs use to get passwd file information is
getpwnam <get entry for a given username>
and
getpwuid <getentry for a uid>
There is also getpwent which returns you the passwd information
entry-by-entry.
Here it is in action getting all the info for root.
($name,$passwd,$uid,$gid,$quota,$comment,$gcos,$dir,$shell)=getpwnam('root');
[0] [1] [2] [3] [4] [5] [6] [7] [8]
I've subscripted the list for convenience.
(Do not run this against 'root' if you are working for Intel in any way.)
All we want is the $name (to check it was a valid user) and the $dir.
$dir is the users home directory = ~user.
You can do this with ($name,$dir)=(getpwnam('root'))[0,7];
I prefer the following syntax:
($name, $dum, $dum, $dum, $dum, $dum, $dum, $dir, $dum)=getpwnam('root');
Here is program (2). It's a bit louder if you give a bad username.
================================================================
#! /usr/local/bin/perl -w
# homedir2.pl - return a user's home directory
$usage="$0 username";
die "Usage: $usage\n" unless ($#ARGV == 0);
$username=$ARGV[0];
$username=$ARGV[0];
($name,$dum,$dum,$dum,$dum,$dum,$dum,$dir,$dum)=getpwnam($username);
die "No such user $username\n" unless defined($name);
print "~$username is $dir\n";
================================================================
homedir2.pl in action:
$ homedir2.pl doglasl
No such user doglasl
$ homedir2.pl douglasl
~douglasl is /home/douglasl
$ homedir2.pl root
~root is /
$
You should be able to cast these main programs back into callable Perl
subroutines if that's what you need.
Stuart Cooper.
stuartc@ind.tansu.com.au
------------------------------
Date: 31 Jul 1997 02:16:41 +0200
From: Terje Br}ten <terjebr@pvv.ntnu.no>
Subject: Re: Splitting a filename
Message-Id: <kbgzpr4qdna.fsf@otto.pvv.ntnu.no>
"Daniel GUEGUEN" <daniel.gueguen@elantiel.fr> writes:
> I don't find the solution to split a file name :
>
> Example :
> $FicName = '<../data/customer.txt';
> ...
> ($Name,$Extension) = split(/here is the problem.../,$FicName);
> $Extension must countain 'txt' and $Name the rest of the string.
>
($Name,$Extension) = $FicName =~ m/^(.*)\.(\w*)$/;
--
******************************************************************************
Terje Breten | "For God sent not his Son into
The Norwegian Institute of Technology --+-- the world to condemn the world;
Faculty of Physics and Mathematics | but that the world through him
E-mail: terjebr@pvv.ntnu.no | might be saved" John 3:17
******************************************************************************
------------------------------
Date: Wed, 30 Jul 1997 08:59:52 -0700
From: Matt Roper <mattrope@mdhost.cse.tek.com>
To: Mark Schwartz <mcs@in.net>
Subject: Re: Substitution
Message-Id: <Pine.SUN.3.95q.970730085449.18896W-100000@tekgp4.cse.tek.com>
Try this:
#!/usr/bin/perl -w
open (CNV,"/home/httpd/cgi-bin/ftc1.cgi") || die "cannot open file";
while (<CNV>) ### Make sure you have the < and >
{
$_ =~ s/zds/ftc/g; ### The g at the end should make it change all
### occurences, not just the first in the line
}
close (CNV) || die "cannot close file";
Hope this helps.
On Tue, 29 Jul 1997, Mark Schwartz wrote:
> I have a Perl script that contains about 100 instances of the variable
> $zds.
> I wish to replace the letters 'zds' with the letters 'ftc'.
>
> So:
>
> #!/usr/bin/perl -w
>
> open (CNV,"/home/httpd/cgi-bin/ftc1.cgi") || die "cannot open file";
> while (CNV)
> {
> $_ =~ s/zds/ftc/;
> }
> close (CNV) || die "cannot close file";
>
> Nothing. No errors, but no replacement of 'zds' with 'ftc'.
>
> Thanks in advance.
>
> Mark Schwartz
> mcs@in.net
>
>
==============
Matt Roper
mattrope@mdhost.cse.tek.com
------------------------------
Date: Thu, 31 Jul 1997 14:43:25 +0100
From: Lars Luthman <nv96llu@mail.ksk.sala.se>
Subject: Super Newbie Question
Message-Id: <33E09676.2565@mail.ksk.sala.se>
I've just started using macPerl, and I have a problem:
when I try to open script files larger than a few K, a dialog box pops
up:"This file is too large to be edited with MacPerl."
I can't even run the script! There is probably a very simple solution to
this, but I haven't been able to find it.
ll
------------------------------
Date: Wed, 30 Jul 1997 09:23:00 -0500
From: tadmc@flash.net (Tad McClellan)
Subject: Re: Too many people in this group are arrogant #*(@# (Re: Checking for valid Email...)
Message-Id: <4oinr5.tb1.ln@localhost>
Parillo (lparillo@newshost.li.net) wrote:
: I did not find the FAQ in the WIN32 distribution (though I have found it
The FAQs started being included with the distribution of 5.004,
that's why it is not in your distribution...
: on the net). Also on the subject of documentation, the HTML man pages do
: not have as many links as an older version did. Last, on this thread,
: another common response is to grep the man pages. That response is
^^^^^^^^^^^^^^^^^^
So, if we said "do a word search on the man pages" it would be better?
Or, do you mean that they don't have easy access to something that
will word search a bunch of files for them?
[ a perl one-liner would do the job in that case... ]
: difficult to understand if the user has no unix experience.
: Clay Irving (clay@panix.com) wrote:
: : In <EDwIJI.Hto@nonexistent.com> abigail@fnx.com (Abigail) writes:
: : >You forgot to mention that the perl faq comes with the perl distribution.
: : I always forget to look under my nose...
--
Tad McClellan SGML Consulting
Tag And Document Consulting Perl programming
tadmc@flash.net
------------------------------
Date: 31 Jul 1997 00:24:06 GMT
From: mheins@prairienet.org (Mike Heins)
Subject: Re: Too many people in this group are arrogant #*(@# (Re: Checking for valid Email...)
Message-Id: <5rolv6$l8e$1@vixen.cso.uiuc.edu>
Randal Schwartz (merlyn@stonehenge.com) wrote:
: >>>>> "Abigail" == Abigail <abigail@fnx.com> writes:
:
: Abigail> ++ Providers don't teach people
: Abigail> ++ to go to news.answers before starting to use USENET.
:
: Abigail> Because that isn't a providers task.
:
[snip]
: The start of the most recent downfall was the day Netscape put
: a "POST" button on their web browser. Ugh.
:
I would call it the "POST-POST-POST" button. 8-)
--
Regards,
Mike Heins
This post reflects the
opinion of my employer.
------------------------------
Date: 31 Jul 1997 08:28:43 -0500
From: jesten@earth.execpc.com (Jim Esten)
Subject: Upcoming Win32 Perl Book
Message-Id: <5rq3ub$157$1@earth.execpc.com>
I had the privilege recently of reading an advance manuscript
copy of O'Reilly's upcoming book Learning Perl for Windows NT.
It is essentially a reprise of the original llama with some
windows specific chapters and additional notes regarding the
differences between platforms throughout the book....
For those interested, my thoughts on the book (by way of
background, I am a web developer for a midwest utility, doing
intranet work, mainly in perl on UNIX and Windows NT).....
If you've not yet picked up the llama (old or new) and do
your perling on a windows system, this book is a must have
for your desk. The very readable style of the authors
(Randall Schwartz, Tom Christiansen, and Erik Olson) makes
this book not just a good tutorial to get one started in
perl, but a just plain old fashioned good read!
The examples are clear and well explained and the pace of the
book lets you soak in what you need as you build on all the
basics. A new section on CGI programming features examples
based on Lincoln Stein's CGI.pm and has some handy
troubleshooting tips even the old hands can take a lesson from!
For those who have already worn out a copy or two of the llama,
you can still take a few "perls" of wisdom from the closing
chapters which are Windows specific. Although I found most of
the examples a simple repeat of the orginal llama, the addition
of the win specific items makes this a worthy read....
The book is due out in August and will in all liklihood take
its place beside the other great O'Reilly perl resources.
.... on Tom's own scale, I give it a solid 4 camels and a
hump... some new examples would have pushed it to 5 !!
Thanks to Brian at O'Reilly for the opportunity. As usual, you
folks are right on track....
Jim
------------------------------
Date: Wed, 30 Jul 1997 18:53:50 -0500
From: Matthew.Healy@yale.edu (Matthew D. Healy)
Subject: Re: www.perl.com?
Message-Id: <Matthew.Healy-3007971853500001@pudding.med.yale.edu>
In article <33ddae1e.49658275@nntp.netcruiser>, brian@brie.com (Brian
Lavender) wrote:
> What is "TTL" and more importantly, when can access the perl.com site?
> Is it "Through the Lens"? In other words, you don't know what you have
> until you see it.
TTL means "Time To Live" for nameserver entries. Whenever you type
something like www.foo.com into any network program, internally
that must be converted into a numerical IP address before a connection
can be made. Recently the perl.com site changed its numeric IP
address. But some nameservers out there still had the old address
listed in their tables.
You will be able to access www.perl.com whenever the old data ages
out from your nameserver's cache.
For this reason, good practive when moving a site is to keep new and
old BOTH going for a while, to give all the nameservers time to
update their data...
--------
Matthew.Healy@yale.edu http://ycmi.med.yale.edu/~healy/
As of 29 Jul 1997, only 885 days until Y2K....
Any person with a phone line can become a town crier with a voice
that resonates farther than it could from any soapbox.
--The US Supreme Court, overturning the Communications Decency Act
------------------------------
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 799
*************************************