[8587] in Perl-Users-Digest

home help back first fref pref prev next nref lref last post

Perl-Users Digest, Issue: 2204 Volume: 8

daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Sun Mar 29 14:17:27 1998

Date: Sun, 29 Mar 98 11:00:36 -0800
From: Perl-Users Digest <Perl-Users-Request@ruby.OCE.ORST.EDU>
To: Perl-Users@ruby.OCE.ORST.EDU (Perl-Users Digest)

Perl-Users Digest           Sun, 29 Mar 1998     Volume: 8 Number: 2204

Today's topics:
    Re: Calling all Newbies <stackhou@execpc.com>
    Re: CGI - Multiple values in an associative array (Jason Gloudon)
    Re: Datagram problem (Jason Gloudon)
    Re: File::Find <jhi@alpha.hut.fi>
    Re: getting a URL and Reading across the web (Charles Packer)
    Re: getting a URL and Reading across the web (Jason Gloudon)
        Introduction to Perl DBI <vrm@arrakis.es>
    Re: Is there a "Newsgroup" for Newbies to Perl? <stackhou@execpc.com>
    Re: Is there a "Newsgroup" for Newbies to Perl? (Tad McClellan)
    Re: Null Strings vs. 0 Integer Values <rjk@coos.dartmouth.edu>
    Re: Perl *is* programming (was Re: Is there a "Newsgrou <gwynne@utkux.utk.edu>
    Re: Perl *is* programming (was Re: Is there a "Newsgrou (brian moore)
    Re: Perl *is* programming (was Re: Is there a "Newsgrou (Lasse =?ISO-8859-1?Q?Hiller=F8e?= Petersen)
    Re: PROPOSAL: The Perl Dictionary <merlyn@stonehenge.com>
    Re: proposal: while $line (<FILE>) (Mike Stok)
    Re: Showing Automatic File Statistics with a Hyperlink <bholzman@mail.earthlink.net>
    Re: SUID for scripts; system(), et al. <ptrainor@bbn.com>
        URGENT!!!!!   Looking simple file manager in perl <unstud88@wine.cteh.ac.il>
    Re: Use Perl to update Monolith server <rootbeer@teleport.com>
        Wanted Perl4 Calculator <snuffy@execpc.com>
    Re: What does this one liner do? <rootbeer@teleport.com>
    Re: What does this one liner do? <rjk@coos.dartmouth.edu>
    Re: What does this one liner do? <rjk@coos.dartmouth.edu>
        Digest Administrivia (Last modified: 8 Mar 97) (Perl-Users-Digest Admin)

----------------------------------------------------------------------

Date: Sun, 29 Mar 1998 06:30:25 -0600
From: Mark Stackhouse <stackhou@execpc.com>
Subject: Re: Calling all Newbies
Message-Id: <6flf56$1rl@newsops.execpc.com>

Sneex is doing just what you suggested for us.  He's a
system administrator so it will me done right.  Be sure to
reply to him
via e-mail if you'd like to be included. See: Anouncement
(Re: was Calling All Newbies).

--
Mark Stackhouse

***********************************************************************

homepage: http://www.execpc.com/~stackhou

"The best things in life aren't things."
--Art Buchwald

***********************************************************************
> 
> So please, people learning perl out there and feeling alone with all
> the books and documentation, go ahead and try to find a way to build
> something like a virtual study group or maybe - in far future - a
> virtual perl university.
> 
> Chris - a sometimes lonesome perl learner.
> 
> --
>         Wir suchen neue AussenMitarbeiterInnen... (S.Pernar@Link-Goe)


------------------------------

Date: Sun, 29 Mar 1998 15:15:54 GMT
From: jgloudon@manitoba.bbn.com (Jason Gloudon)
Subject: Re: CGI - Multiple values in an associative array
Message-Id: <slrn6hspam.a94.jgloudon@manitoba.bbn.com>

Tom Mornini <tmornini@netcom.com> wrote:
>Tom Phoenix (rootbeer@teleport.com) wrote:
>
>: Associative array - We call them "hashes" now.
>
>A rose, by any other name...
>
>: > - but what kind of strain does that put on the server? 
>
>: Perl doesn't care. :-) But you could ask in a newsgroup about servers, if
>: that's what you need. 
>
>This is a really assinine response to this question.
                  asinine
>
>: Good luck!
>
>Do you really mean that? I remember when this newsgroup was really an
>amazing resource. While I freely admit that there are far too many

It is a great spell checking resource.

-- 
Jason Gloudon


------------------------------

Date: Sun, 29 Mar 1998 15:19:21 GMT
From: jgloudon@manitoba.bbn.com (Jason Gloudon)
Subject: Re: Datagram problem
Message-Id: <slrn6hsph6.a94.jgloudon@manitoba.bbn.com>

JY <nospam@nospam.com> wrote:
>I'd need help with the following :  I'd need a Perl script that sends a
>datagram (via UDP) to a Java applet server.  The Java applet would beep
>when it gets the datagram and also display it's contents.

You can write it yourself.
man IO::Socket or perldoc IO::Socket.

-- 
Jason Gloudon


------------------------------

Date: 29 Mar 1998 17:29:10 +0300
From: Jarkko Hietaniemi <jhi@alpha.hut.fi>
Subject: Re: File::Find
Message-Id: <oeera3lzi2x.fsf@alpha.hut.fi>


epa@datcon.co.uk (Ed Avis) writes:
> script.  I'm using Perl for Win32, which doesn't include find2perl as

Does that distribution not have 'perldoc'? *)  The command

	perldoc File::Find

would have told you among other things the following:

	$File::Find::name contains "$File::Find::dir/$_".
	You are chdir()'d to $File::Find::dir when the
	function is called.  

*) If it doesn't, you do have the File::Find documentation anyway,
   the documentation is embedded to the module itself...the "perldoc"
   knows how to unearth the doc.

-- 
$jhi++; # http://www.iki.fi/~jhi/
        # There is this special biologist word we use for 'stable'.
        # It is 'dead'. -- Jack Cohen


------------------------------

Date: 29 Mar 1998 15:40:28 GMT
From: packer@shell.clark.net (Charles Packer)
Subject: Re: getting a URL and Reading across the web
Message-Id: <slrn6hsqrc.kq8.packer@shell.clark.net>

In article <351D1BF2.45C946F0@fccjmail.fccj.cc.fl.us>, Webmaster wrote:
>Kevin Cook - Home wrote:
>> It appears as though I (kevin Cook) and charles packer have the same
>> (similar) question...
>  That happens a lot around here.  I have only been a regular reader for
>a few months, but I have seen the same questions questioned and answered
>over and over and over...


I saw Kevin Cook's posting (but not Webmaster's followup) 
before I posted. I wasn't sure what he meant, actually.
In any case, my Mosaic version 1 that I'm using now with
Linux can't read www.perl.com due to whatever advanced HTML
features it's using, but I had more luck with the URLs given
by Peter Perchansky's followup.



-- 
packer@clark.net
http://www.clark.net/pub/whatnews/whatnews.html


------------------------------

Date: Sun, 29 Mar 1998 18:17:30 GMT
From: jgloudon@manitoba.bbn.com (Jason Gloudon)
Subject: Re: getting a URL and Reading across the web
Message-Id: <slrn6ht3v6.afs.jgloudon@manitoba.bbn.com>

Charles Packer <packer@shell.clark.net> wrote:
>I saw Kevin Cook's posting (but not Webmaster's followup) 
>before I posted. I wasn't sure what he meant, actually.
>In any case, my Mosaic version 1 that I'm using now with
>Linux can't read www.perl.com due to whatever advanced HTML
>features it's using, but I had more luck with the URLs given
>by Peter Perchansky's followup.

Rant:
A Vintage browser may be a nice thing to take out on the net on a Sunday 
afternoon, but if you really expect to get around, you should get a web
browser that was written when an HTML standard existed, like lynx.

-- 
Jason Gloudon


------------------------------

Date: Sun, 29 Mar 1998 19:12:05 +0200
From: "Vmctor Ruiz Marco" <vrm@arrakis.es>
Subject: Introduction to Perl DBI
Message-Id: <351e8197.0@news.arrakis.es>

I am learnig Perl and I need to make a CGI that works with MDB and DBF
databases. I think DBI is good for this kind of job, so I have get the Perl
5 version wich includes this module. But I have a question, DBI needs that a
database server or "database manager program" was running on the server that
the database is for "talk" with the database or "talks" to the database file
directly?. If I have a MDB file, do I need to install a database server?.

Thanks.




------------------------------

Date: Sun, 29 Mar 1998 07:12:50 -0600
From: Mark Stackhouse <stackhou@execpc.com>
Subject: Re: Is there a "Newsgroup" for Newbies to Perl?
Message-Id: <6flhku$srh@newsops.execpc.com>

Thanks for posting Bob!  You have professionally expressed
the thoughts of many beginners who TRY to hang out here!  I,
for one, would rather not remain "mute" throughout my
journey of learning Perl.  Thanks for the encouragement!  I
can't learn effectively without asking questions.

To those interested, Sneex is asking for our input on a
Newbie chat group and an AutoFAQ.  See: Announcement (Re:
was (Calling all Newbies)).
Sneex is knowledgeable AND a class A-1 guy (see his posts
here).  He is also a system admin so whatever is done will
be done professionally :-)
If you're really interested in learning Perl without being
brain bashed,
please give him your support.

Bob Gwynne wrote:
> 
> I thought that programmers were suppose to be logical thinkers. If
> non-programmers should not "use" any programming language, how can they
> learn a programming language without using one?  Why did you co-author
> Learning Perl--just for the money?  For leisure reading by those who already
> know how to program in Perl? Or did you write it to teach people how to use
> the language.  The arrogance of some of the "professional" programmers in
> this newsgroup is appalling. And, your answer is the most appalling.
> Whereas you should be encouraging people to learn Perl (at the very least so
> that they buy your books), your answer is designed to drive them away.  If
> learning Perl is guaranteed to make me into an elitist maybe I should mail
> you the books you wrote and have you mail me my money back--before I sell my
> soul to the devil.
> 
> Get off it!  Try to help people who want to learn to program.  You are
> obviously not a professional teacher; therefore, you should not attempt to
> teach by writing, by advising newbies, or by conducting workshops and
> classes.  Stick to programming if you are a programmer.

TOUCHI, counter this, if you think you can, Tom! 
Programmers should program.  Leave the teaching to
professionals. 

> 
> Bob Gwynne
> 
> Tom Christiansen wrote in message <6f5fm2$lr4>
> >Nonprogammers should not use any programming language.   Period.
> >Nonsurgeons should perform any surgical interventions.  Period.
> 
> What???  You don't mean that!!
> 
> This is
> >a profession, you know.  If you aren't a programmer, hire one.
> 
> Sure, on a professor's salary yet!

or a technician's :-)


> 
> >
> >"C/Java/C++/Perl for Non-programmers" is oxymoronic.
> >
> >--tom
> >--
> > Tom Christiansen tchrist@jhereg.perl.com
> >
> >    "I think the pod should be the master...."
> >     --Larry Wall in <9410072305.AA03994@scalpel.netlabs.com>

--
Mark Stackhouse

***********************************************************************

homepage: http://www.execpc.com/~stackhou

"The best things in life aren't things."
--Art Buchwald

***********************************************************************


------------------------------

Date: Sun, 29 Mar 1998 08:28:21 -0600
From: tadmc@flash.net (Tad McClellan)
Subject: Re: Is there a "Newsgroup" for Newbies to Perl?
Message-Id: <5qllf6.595.ln@localhost>

Bob Gwynne (gwynne@utkux.utk.edu) wrote:
: I thought that programmers were suppose to be logical thinkers. If
: non-programmers should not "use" any programming language, how can they
: learn a programming language without using one?  


Because at the instant that they begin to "use" a programming 
language, they are no longer "non-programmers".

You cannot learn a programming language without learning programming.

If you learn programming then you are not a non-programmer.



Maybe (probably) not an "expert" programmer, nor a "trained"
programmer, nor even a "good" programmer, but still a "programmer"
(by the definition of "programmer").




: Why did you co-author
: Learning Perl--just for the money?  For leisure reading by those who already
: know how to program in Perl? Or did you write it to teach people how to use
: the language.  


Or maybe he wrote it for non-programmers who want to become
programmers (ie. who want to use the Perl *programming* language)...


:The arrogance of some of the "professional" programmers in
: this newsgroup is appalling. And, your answer is the most appalling.
: Whereas you should be encouraging people to learn Perl (at the very least so
: that they buy your books), your answer is designed to drive them away.  


I think his answer was designed to force folks to admit that they
must become programmers if they intend to program.


: If
: learning Perl is guaranteed to make me into an elitist maybe I should mail
: you the books you wrote and have you mail me my money back--before I sell my
: soul to the devil.


Good one!


: Get off it!  Try to help people who want to learn to program.  You are
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

That sounds to me like "programmer" rather than "non-programmer"...


: obviously not a professional teacher; therefore, you should not attempt to
: teach by writing, by advising newbies, or by conducting workshops and
: classes.  Stick to programming if you are a programmer.


<g>


: Tom Christiansen wrote in message <6f5fm2$lr4>
: >Nonprogammers should not use any programming language.   Period.
   ^^^^^^^^^^^^^

Since this predicate is false the rest of the assertion does not apply.


: >Nonsurgeons should perform any surgical interventions.  Period.

: What???  You don't mean that!!


I think he meant to say "should not perform" there.



--
    Tad McClellan                          SGML Consulting
    tadmc@metronet.com                     Perl programming
    Fort Worth, Texas


------------------------------

Date: Sun, 29 Mar 1998 11:16:09 -0500
From: Ronald J Kimball <rjk@coos.dartmouth.edu>
To: Tom Phoenix <rootbeer@teleport.com>
Subject: Re: Null Strings vs. 0 Integer Values
Message-Id: <351E73C9.F97E5685@coos.dartmouth.edu>

[posted and mailed]

For the sake of comparison:
(extended and corrected)

          |  undef   ''      '0'     'foo'   '1'
----------+----------------------------------------
defined   |  ''      1       1       1       1
length    |  0       0       1       3       1
$_ ne ''  |  ''      ''      1       1       1
$_        |  undef   ''      '0'     'foo'   '1'
$_ != 0   |  ''      ''      ''      ''      1      <-- corrected line

Duh.  'foo' *is* numerically equal to 0.  And 'foo' != 0 will output a warning
under -w.  Thanks Tom P!

-- 
 _ / '  _      /         - aka -             rjk@coos.dartmouth.edu
( /)//)//)(//)/(    Ronald J. Kimball           chipmunk@m-net.arbornet.org
    /                                   http://www.ziplink.net/~rjk/
        "It's funny 'cause it's true ... and vice versa."


------------------------------

Date: Sun, 29 Mar 1998 10:27:18 -0500
From: "Bob Gwynne" <gwynne@utkux.utk.edu>
Subject: Re: Perl *is* programming (was Re: Is there a "Newsgroup" for Newbies to Perl?)
Message-Id: <6flp8s$8i3$1@gaia.ns.utk.edu>


Randal Schwartz wrote in message <8c1zvusct7.fsf_-_@gadget.cscaper.com>...
>>>>>> "Mark" == Mark Stackhouse <stackhou@execpc.com> writes:
>
>Mark> I am not a programmer, [...]
>
>And that's your problem.  Writing Perl programs is *programming*.
>

Randal & Tom:
    Please read p. xi of Programming Perl.  I assume that you guys neither
wrote nor read the Preface. Let me quote:

"...you don't have to know everything there is to know about Perl before you
can write useful programs. You can learn Perl 'small end first'. You can
program in Perl Baby-Talk, and we promise not to laugh. Or more precisely,
we promise not to laugh any more than we'd giggle at a child's creative way
of putting things. ....  Any level of language proficiency is acceptable in
Perl culture.  We won't send the language police after you."

In addition, Larry--I assume it must be him writing, because the preface
lacks your "style"-- writes "Perl is used by people who are desperate to
analyze or convert lots of data quickly, whether you're talking DNA
sequences, Web pages, or pork belly futures."  This implies that Perl is not
just for Unix system administrators and hackers.

Please RTFM, especially the preface.  If you are not a professional teacher,
don't teach. You may know Perl, but you don't know how to motivate people to
learn. That's obvious.  Instead, you are members of the language Gestapo.

Bob Gwynne
University of Tennessee
http://funnelweb.utcc.utk.edu/~gwynne






------------------------------

Date: 29 Mar 1998 18:47:32 GMT
From: bem@news.cmc.net (brian moore)
Subject: Re: Perl *is* programming (was Re: Is there a "Newsgroup" for Newbies to Perl?)
Message-Id: <slrn6ht5qi.ada.bem@thorin.cmc.net>

On Sun, 29 Mar 1998 10:27:18 -0500, 
 Bob Gwynne <gwynne@utkux.utk.edu> wrote:
> 
> Randal Schwartz wrote in message <8c1zvusct7.fsf_-_@gadget.cscaper.com>...
> >>>>>> "Mark" == Mark Stackhouse <stackhou@execpc.com> writes:
> >
> >Mark> I am not a programmer, [...]
> >
> >And that's your problem.  Writing Perl programs is *programming*.
> >
> 
> Randal & Tom:
>     Please read p. xi of Programming Perl.  I assume that you guys neither
> wrote nor read the Preface. Let me quote:
> 
> "...you don't have to know everything there is to know about Perl before you
> can write useful programs. You can learn Perl 'small end first'. You can
> program in Perl Baby-Talk, and we promise not to laugh. Or more precisely,
> we promise not to laugh any more than we'd giggle at a child's creative way
> of putting things. ....  Any level of language proficiency is acceptable in
> Perl culture.  We won't send the language police after you."

Nowhere does that say 'writing programs in Perl is not programming.'
Writing programs, regardless of how ugly they may be (cf. APL) is
programming and those that do it are programmers.  People who cook meals,
regardless of how unpalattable are 'cooking' and called 'cooks'.

> In addition, Larry--I assume it must be him writing, because the preface
> lacks your "style"-- writes "Perl is used by people who are desperate to
> analyze or convert lots of data quickly, whether you're talking DNA
> sequences, Web pages, or pork belly futures."  This implies that Perl is not
> just for Unix system administrators and hackers.

It's not.

> Please RTFM, especially the preface.  If you are not a professional teacher,
> don't teach. You may know Perl, but you don't know how to motivate people to
> learn. That's obvious.  Instead, you are members of the language Gestapo.

Bzzzt!  I hereby invoke Godwin's Law.

-- 
Brian Moore                      Kill A Spammer For Jesus
Sysadmin, C/Perl Hacker


------------------------------

Date: Sun, 29 Mar 1998 19:44:25 +0200
From: lassehp@imv.aau.dk (Lasse =?ISO-8859-1?Q?Hiller=F8e?= Petersen)
Subject: Re: Perl *is* programming (was Re: Is there a "Newsgroup" for Newbies to Perl?)
Message-Id: <lassehp-2903981944250001@ygdrasil.imv.aau.dk>

In article <6flp8s$8i3$1@gaia.ns.utk.edu>, "Bob Gwynne"
<gwynne@utkux.utk.edu> wrote:

(generally agreeable stuff deleted.)

There's another moral quote I stumbled upon in rereading _Programming
Perl_ (p550):
"Be nice."


-Lasse


------------------------------

Date: 29 Mar 1998 08:35:49 -0700
From: Randal Schwartz <merlyn@stonehenge.com>
To: drummj@mail.mmc.org
Subject: Re: PROPOSAL: The Perl Dictionary
Message-Id: <8cn2e933xm.fsf@gadget.cscaper.com>

>>>>> "Jeffrey" == Jeffrey Drumm <drummj@mail.mmc.org> writes:

Jeffrey> My contribution . . .
Jeffrey> liperlsuction:	What happens to any script longer than 10 lines once
Jeffrey> 		Randal gets his hands on it

10 lines?  That seems, uh, high.

:-)

print "Just another Perl hacker," # but not what the media calls "hacker!" :-)
## legal fund: $20,990.69 collected, $186,159.85 spent; just 156 more days
## before I go to *prison* for 90 days; email fund@stonehenge.com for details

-- 
Name: Randal L. Schwartz / Stonehenge Consulting Services (503)777-0095
Keywords: Perl training, UNIX[tm] consulting, video production, skiing, flying
Email: <merlyn@stonehenge.com> Snail: (Call) PGP-Key: (finger merlyn@teleport.com)
Web: <A HREF="http://www.stonehenge.com/merlyn/">My Home Page!</A>
Quote: "I'm telling you, if I could have five lines in my .sig, I would!" -- me


------------------------------

Date: 29 Mar 1998 16:25:06 GMT
From: mike@stok.co.uk (Mike Stok)
Subject: Re: proposal: while $line (<FILE>)
Message-Id: <6flsl2$afh@news-central.tiac.net>

In article <6fkcri$d3s@tekka.wwa.com>,
Tushar Samant  <scribble@pobox.com> wrote:
>mike@stok.co.uk writes:
>>perl gives you enough rope to hang yourself.  There are plenty of other
>>languages which keep the rope safely locked away...
>
>It almost sounds like you are bragging about it...

There's nothing wrong with giving someone enough rope to hang themselves -
but it does put the onus on the user of the rope to use it in a sensible
way. 

>How can listing a man page be an answer to a *proposal*?

It might point out that there is existing documented behaviour, and that
the proposal addresses a very small grey area and might do more harm than
good (in my opinion).  Maybe the reply was written with the intent of
making the original poster review the documentation and consider whether
they thought perl was already adequate in the area in question.

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: Sun, 29 Mar 1998 10:40:42 -0500
From: Benjamin Holzman <bholzman@mail.earthlink.net>
To: John Vargas <jvargas@vargastudios.com>
Subject: Re: Showing Automatic File Statistics with a Hyperlink
Message-Id: <351E6B7A.6CA1B330@mail.earthlink.net>

First, this isn't a question about perl, and doesn't belong in this
newsgroup.  When you do have a question about perl, this would be the
appropriate place to post it.

That being said, this could be done via CGI, but it'd be better done as
an SSI (server-side include), if your web server can handle it.  It
could just as easily be done by generating a new static HTML page as
part of posting a new build.  Assuming you already had a script which
developers used to post a new build, you could just add in a call to a
script which generates the appropriate HTML page.

John Vargas wrote:
> 
> Hello There
> 
> I am a Web developer that is in the infancy stages of learning PERL
> programming.  I have strong experience in HTML and a large base of
> experience in graphic design.  I'm finding that many employers want Web
> developers to have a strong foundation in PERL among other languages.
> I'm starting to learn, but I'm sure it'll be some time before I'm half
> as savvy as most of you are.
> 
> I would like to pose a question and I hope one of you PERL experts would
> not feel it too much of an inconvenience to drop me a line.  I can be
> reached at "jvargas@best.com".  Here's my question:
> 
> Is there a way with PERL or HTML where you can post statistics for a
> particular file, on a Web page.  As an example, let's say that I am the
> genius that invented and markets PKZIP.  I want to make sure that my
> downloading customers always know that they are working with the most
> current version.  No matter when my developers post new builds of PKZIP
> to the Web Site, my file link always shows the exact date of posting and
> file size right next to the hyperlink.  The rub is that I need this text
> to be automatically generated where I don't need to rely on my Web page
> editors to make the requisite edits to the link.
> 
> Can this be done via CGI with a PERL script?  Or is there an easier way
> to do this with HTML?
> 
> Any wisdom you can impart on me would be much appreciated    ;-)
> 
> Regards
> 
> John Vargas


------------------------------

Date: Sun, 29 Mar 1998 12:02:29 -0500
From: Pat Trainor <ptrainor@bbn.com>
To: Tom Phoenix <rootbeer@teleport.com>
Subject: Re: SUID for scripts; system(), et al.
Message-Id: <Pine.LNX.3.95.980329115733.6231A-100000@aura>


	Tom, you've saved me many times!

> You probably need to set $< to zero before using system(). Try printing $<
> after setting it (or attempting to set it) while debugging your script. If
> both $< and $> are zero and that's still not working, let me know.

	I have a temporary work-around in place. I created a secondary
UID0 user and gave them the script as their shell. The user cannot telnet
in as that user, and must su - to that user to run the script.

	The application is radius server, and no interactive logons are
offerred to users. I can't believe how hard it was to find good info on
chroot'ing, but once I found it I wrote an entire script to interactively
set the accounts up with great ease.

	My problem here is probably pretty rare, as I would imagine most
people only allow root to add users. This is a situation where the user
has a staff of techs, and doesn't want them all to have root.

	As always, I appreciate your advice, and will try your suggestion
and get back to you asap!

thanks!

pat 	
:)

Pat Trainor

     ptrainor@bbnplanet.com ptrainor@bbn.com ptrainor@bbnplanet.net
                         will program for boat 



------------------------------

Date: Sun, 29 Mar 1998 18:17:12 +0200
From: unstud88 <unstud88@wine.cteh.ac.il>
Subject: URGENT!!!!!   Looking simple file manager in perl
Message-Id: <351E7408.41C6@wine.cteh.ac.il>

Please, if somebody knows where can i get 
 file manager script (like edit/upload/create/delete/mkdir.....)
 drope a note here.!!!  Thank's.


------------------------------

Date: Sun, 29 Mar 1998 05:15:54 -0800
From: Tom Phoenix <rootbeer@teleport.com>
To: Adam <trickett@pacbell.net.nospam>
Subject: Re: Use Perl to update Monolith server
Message-Id: <Pine.GSO.3.96.980329051421.3818Z-100000@user2.teleport.com>

On Sun, 29 Mar 1998, Adam wrote:

> all I need to know nowm is how to excecute one command:
> 
> http://members.ml.
> org/mis-bin/ms3/nic/dyndns?
> host=<me>&command=Update+Host&do=mod&domain=Fred-2&act=act&ipaddr=<current 
> IP>&agree=agree

I can't tell what that command is, but it sounds as if you simply need to
implement the server's protocol.

> From: Adam <trickett@pacbell.net.nospam>

> E-mail suggestions appreciated.

A valid e-mail address is appreciated. :-)

Cheers!

-- 
Tom Phoenix       Perl Training and Hacking       Esperanto
Randal Schwartz Case:     http://www.rahul.net/jeffrey/ovs/



------------------------------

Date: Sun, 29 Mar 1998 06:46:54 -0600
From: David <snuffy@execpc.com>
Subject: Wanted Perl4 Calculator
Message-Id: <6flfsf$rda@newsops.execpc.com>

Could someone send me the code for a calculator?

I'd like others to be able to use it and have it 
run my cgi-bin directory.

If so, would you please email directly to me at:
snuffy@execpc.com

Thanks in advance...

David Freimark


------------------------------

Date: Sun, 29 Mar 1998 05:30:23 -0800
From: Tom Phoenix <rootbeer@teleport.com>
To: Tushar Samant <scribble@pobox.com>
Subject: Re: What does this one liner do?
Message-Id: <Pine.GSO.3.96.980329051711.3818a-100000@user2.teleport.com>

On 29 Mar 1998, Tushar Samant wrote:

> It seems like the perl documentation is imprecise and points to
> non-portable man pages.

Patches are always welcome. Please, help us to improve the docs!

> The point, of course, is not whether the piece of info is available
> at the end of an easy or difficult scavenger hunt. It's whether it's
> REASONABLY available. 

In this case, the author of the question didn't even _try_ reading the
docs before posting. So, no matter how well-written the docs are, they
didn't help. :-(

No one objects to a question of the form, "I don't understand the
following part of the Perl docs ..." If, after reading the docs, anyone
still has questions, please post them here. 

> Everyone will agree that "what's there in the source code that you
> don't understand" is an unreasonable response to a question.

No, it's not unreasonable. (Even if it's misquoted. :-)  When I asked
"What would you like to know that isn't in the docs?", it's because I
didn't know what the poster wanted to know. I could write all day about
what select does, but that wouldn't necessarily be helpful! I could give a
helpful response only when I knew what the reader needed - and when I
found out he needed the docs, then I knew just what to send him. 

Of course, I'm always interested in finding ways that my answers could be
more complete and helpful. If you have suggestions on better ways I could
have answered this (or any other) questions, please let me know. Thanks!

-- 
Tom Phoenix       Perl Training and Hacking       Esperanto
Randal Schwartz Case:     http://www.rahul.net/jeffrey/ovs/



------------------------------

Date: Sun, 29 Mar 1998 11:20:16 -0500
From: Ronald J Kimball <rjk@coos.dartmouth.edu>
To: Eric Bohlman <ebohlman@netcom.com>
Subject: Re: What does this one liner do?
Message-Id: <351E74C1.834BB93B@coos.dartmouth.edu>

[posted and mailed]

Eric Bohlman wrote:
> 
> Alan J. Flavell <flavell@mail.cern.ch> wrote:
> : On Sat, 28 Mar 1998, Mike wrote:
> 
> : > Ronald J Kimball wrote:
> 
> : (quotes entire posting including sig, so that we shall know what
> : conclusions to draw, and then says, inter alia)

 ...

> Ronald, if you're reading this, you need to find and download the latest
> Perl distribution from <URL:http://www.perl.com> and at least install the
> documentation on your own system.  If that's somehow beyond you, or if you
> vastly prefer being online when you get your questions answered, you can
> read the documentation online from the same site.

Eric, please go back and read the original message.  You will see that I was
not the original poster.  I replied to Mike's post, Mike replied to my post,
and the Alan replied to that one, replacing Mike's message (including his
quotation of my entire message and signature) with the note you see above.

So, your somewhat patronizing comments should be directed to Mike, and not to me.

:-)

-- 
 _ / '  _      /         - aka -             rjk@coos.dartmouth.edu
( /)//)//)(//)/(    Ronald J. Kimball           chipmunk@m-net.arbornet.org
    /                                   http://www.ziplink.net/~rjk/
        "It's funny 'cause it's true ... and vice versa."


------------------------------

Date: Sun, 29 Mar 1998 11:37:42 -0500
From: Ronald J Kimball <rjk@coos.dartmouth.edu>
Subject: Re: What does this one liner do?
Message-Id: <351E78D8.175FB670@coos.dartmouth.edu>

Tushar Samant wrote:
> 
> Also, and this may be way too personal a feeling, I do think it is
> absurd to cite page numbers of O'Reilly books. I'd prefer absence
> of response to advertisements of books. Do I have to pay for perl?
> (And if I paid wouldn't I get infinitely politer answers? That's
> the paradox with some of the more farcical page-quoting going on.)

Personally, I'll cite page numbers of whatever book I feel answers the
question at hand.  (Effective Perl Programming, for example, was published by
Addison Wesley.)  Your policy would seem to imply that referring someone to an
encyclopedia would be in poor taste.  Perhaps a better example; referring
someone to a page in Data Structures and Algorithms, by Aho, Hopcroft, and Ullman.

If a book which is considered more or less authoritative on the subject at
hand (whether it's Perl, or data structures, or bird watching) answers a
question correctly and succintly, I think it's quite appropriate to point the
questioner to that source.

Thanks for bringing this up, I think it's definitely worth discussion.

-- 
 _ / '  _      /         - aka -             rjk@coos.dartmouth.edu
( /)//)//)(//)/(    Ronald J. Kimball           chipmunk@m-net.arbornet.org
    /                                   http://www.ziplink.net/~rjk/
        "It's funny 'cause it's true ... and vice versa."


------------------------------

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 2204
**************************************

home help back first fref pref prev next nref lref last post