[13748] in Perl-Users-Digest

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

Perl-Users Digest, Issue: 1158 Volume: 9

daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Sat Oct 23 11:05:30 1999

Date: Sat, 23 Oct 1999 08:05:08 -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: <940691107-v9-i1158@ruby.oce.orst.edu>
Content-Type: text

Perl-Users Digest           Sat, 23 Oct 1999     Volume: 9 Number: 1158

Today's topics:
    Re: At the risk of making myself an idiot ...How to cre (Mark W. Schumann)
    Re: At the risk of making myself an idiot ...How to cre (Mark W. Schumann)
    Re: Can't do "make" on perl module (Martien Verbruggen)
        comments form to a page (Max S.)
        finding date and time <amwalker@gate.net>
    Re: Getting Parent directory from path!!!!!!!!!!!!!!!!! (Martien Verbruggen)
        Help................ (Fleet Admiral Peter Hodder)
    Re: Help................ <marcel.grunauer@lovely.net>
    Re: How can I make to print the times that  I input wor (Ken Hirsch)
        How to read from Game Port in Win32 dawgeatdawg@my-deja.com
    Re: I'd like to know what are those CGIs and ASPs (Martien Verbruggen)
    Re: I'd like to know what are those CGIs and ASPs <marcel.grunauer@lovely.net>
        Module won't make on linux? <dutch@mindspring.com>
    Re: Module won't make on linux? (Brett W. McCoy)
    Re: Oh god! Not another Net::ftp question! ndietsch@yahoo.com
        Parsing botanical descriptions jmvanel@my-deja.com
    Re: Perl on Novell 5.0 (Brett W. McCoy)
    Re: Perl vs. REBOL (Martien Verbruggen)
    Re: Perl vs. REBOL (Michel Dalle)
        Save output from foreach loop outside loop? <dutch@mindspring.com>
    Re: Save output from foreach loop outside loop? <marcel.grunauer@lovely.net>
        SIMPLE scripts to help me learn??? (Max S.)
    Re: string question (Martien Verbruggen)
    Re: URGENT: Adding a AUTO-Email to Matt Writtes FFA Lin (Martien Verbruggen)
    Re: Using "use strict" and "Getopt" together (Martien Verbruggen)
    Re: what is SHTML ? (Mark W. Schumann)
        Digest Administrivia (Last modified: 16 Sep 99) (Perl-Users-Digest Admin)

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

Date: 23 Oct 1999 11:01:16 -0400
From: catfood@apk.net (Mark W. Schumann)
Subject: Re: At the risk of making myself an idiot ...How to create files in Perl ?
Message-Id: <7usijs$h2g@junior.apk.net>

In article <7uni2s$2gl$1@news.mch.sbs.de>,
Michel Dalle <michel.dalle@usa.net> wrote:
>In article <940523094.476101@news.vbs.at>, "paranoid" <genlabs@gmx.net> wrote:
>>1) Check if a filename is available (not  containing illegal chars etc., not
>>already existing in the write directory)
>"Not containing illegal chars" may be difficult, since each O.S. may have
>other requirements, but see what's next.

But it's easy to check whether the characters are within a subset that
you've deemed "legal."

Maybe paranoid can assume for the sake of the problem that filenames
can contain only letters, digits, and underscores, and perhaps path
separators.  (I don't know, it depends on the application.)

Validation is going to be especially important if this is a CGI
application or if it runs suid, for obvious reasons.



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

Date: 23 Oct 1999 11:02:25 -0400
From: catfood@apk.net (Mark W. Schumann)
Subject: Re: At the risk of making myself an idiot ...How to create files in Perl ?
Message-Id: <7usim1$ha5@junior.apk.net>

In article <940587751.497058@news.vbs.at>,
make@money.com <genlabs@gmx.net> wrote:
>Apology accepted , Macho law prohibits me from admitting I was wrong.

This guy's going to work out okay here.



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

Date: 23 Oct 1999 13:16:00 GMT
From: mgjv@wobbie.heliotrope.home (Martien Verbruggen)
Subject: Re: Can't do "make" on perl module
Message-Id: <slrn813dcl.dii.mgjv@wobbie.heliotrope.home>

On Fri, 22 Oct 1999 19:33:29 -0400,
	Dutch McElvy <dutch@mindspring.com> wrote:
> Subject: Can't do "make" on perl module
> 
> I can run perl programs on my linuxppc distribution but for some reason when
> I try to install a perl module, I can do a "Makefile.PL" but when I try to
> do a make for the perl module I get a bash "make" command not recognized.

You don't have make installed, or you have mangled your path. The make
command probably comes as some separate rpm or whatever linuxppc uses.
Install it, or get the sources from gnu.

Martien
-- 
Martien Verbruggen              | My friend has a baby. I'm writing
Interactive Media Division      | down all the noises the baby makes so
Commercial Dynamics Pty. Ltd.   | later I can ask him what he meant -
NSW, Australia                  | Steven Wright


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

Date: 23 Oct 1999 13:41:52 GMT
From: intbyte@aol.com (Max S.)
Subject: comments form to a page
Message-Id: <19991023094152.23616.00000339@ng-ch1.aol.com>

hi, I am new to cgi, I was wondering if soemone could help me with a comments
form that would write to a page, sorta like a guestbook.  I am trying to learn
perl...I just ordered the cgi/perl cookbook, but I was just wondering if you
could help me out by giving me a simple code I could understand or guiding me
through the process
Max S.
intbyte@aol.com
http://realestateclosings.net/zd


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

Date: Sat, 23 Oct 1999 10:22:42 -0400
From: Aaron Walker <amwalker@gate.net>
Subject: finding date and time
Message-Id: <3811C4B2.275129B6@gate.net>

Hello,

I would think that this question would be a FAQ, but I did not come
across it in the comp.lang.perl.misc FAQ.  I am trying to find the date
and time.  I read somewhere to use the localtime() function.  I found
out that this is not formatted for about, since it is just a series of
numbers.  How would I format the output of localtime()?  Is there a
better way to discover the data and time?

Thanks,
Aaron

--
Aaron Walker
amwalker@gate.net
http://iconmedia.com/aaron/




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

Date: 23 Oct 1999 13:23:21 GMT
From: mgjv@wobbie.heliotrope.home (Martien Verbruggen)
Subject: Re: Getting Parent directory from path!!!!!!!!!!!!!!!!!!!!!!
Message-Id: <slrn813dqe.dii.mgjv@wobbie.heliotrope.home>

[Please, do not shout in posts to Usenet, especially not in the subject
line. It's rude]

On Fri, 22 Oct 1999 20:58:27 GMT,
	krun@my-deja.com <krun@my-deja.com> wrote:
> We have a file with a lot of paths. We are trying to get the parent of
> these path's into an array called @parent.  If no parent exists in the
> case of ".\foo" a zero should be placed in that spot of the array so we
> know that no parent exist at that location.

Ok... let me try to parse that. You have got a file, which you read into
an array. Each line of the file is a path on a DOS box. 

And now you lose me. 'We are trying to get the parent of these paths'
and 'If no parent exists in the case of ".\foo"' simply make absolutely
no sense to me. A directory always has a parent, denoted by '..'. On DOS
I believe the only exception to that is the root directory on each
drive, right? So.. The only time you don't have a parent is when it's a
root directory. But even with all that, your questions make no sense..
(I don't know about Macs)

> 
> Example of a few paths in the file:

Fine.. there are the examples of the contents of your file, but what
exactly do you want to do? What are you aiming for? What do the first,
third and tenth example need to become, for example?

More info.

Martien
-- 
Martien Verbruggen              | 
Interactive Media Division      | Failure is not an option. It comes
Commercial Dynamics Pty. Ltd.   | bundled with your Microsoft product.
NSW, Australia                  | 


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

Date: Thu, 21 Oct 1999 08:49:12 GMT
From: peterh@vk2kcf.stealth.com.au (Fleet Admiral Peter Hodder)
Subject: Help................
Message-Id: <380fd2d9.1158116@news.griffith.stealth.com.au>

hi to all.
I need help.  What I need is, to be able to let users on a Linux
Server run Perl/CGI scripts for web pages.

Thanks in advanced.

Fleet Admiral Peter Hodder
CO
Theta Fleet and Starbase Theta.

E-mail-      peterh@vk2kcf.stealth.com.au
ICQ-         35576199
web Page-    http://www.vk2kcf.stealth.com.au/~peterh


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

Date: Sat, 23 Oct 1999 13:26:20 GMT
From: Marcel Grunauer <marcel.grunauer@lovely.net>
Subject: Re: Help................
Message-Id: <PMURONOuugy=ffet2u4v+A=ZKRl2@4ax.com>

On Thu, 21 Oct 1999 08:49:12 GMT, peterh@vk2kcf.stealth.com.au (Fleet
Admiral Peter Hodder) wrote:

> hi to all.
> I need help.

M-hm.

> What I need is, to be able to let users on a Linux
> Server run Perl/CGI scripts for web pages.

So what's your Perl question?


-- 
Marcel, Perl Padawan
sub AUTOLOAD{$_=$AUTOLOAD;s;.*::;;;y;_; ;;print}&Just_Another_Perl_Hacker;


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

Date: Sat, 23 Oct 1999 10:33:49 -0400
From: kenhirsch@myself.com (Ken Hirsch)
Subject: Re: How can I make to print the times that  I input word  ?
Message-Id: <MPG.127b91586166dd8d989681@news.compaq.net>

[This followup was posted to comp.lang.perl.misc and a copy was sent to 
the cited author.]

In article <63Fo47TH$GA.218@news.thrunet.com>, hmaster@factory.co.kr 
says...
> 
> With this code, it prints "aaa" as same times as I input "aaa" like
> following;
> aaa
> aaa
> aaa
> .....
> 
> Here is my question.
> How can I make to print only one line of "aaa" and print the times that  I
> input "aaa" as follows ?
> aaa|18
> bbb|7
> ccc|52
> 

If you're on Unix, you can do this after the file is closed:
   sort data.db | uniq -c
which will give, e. g.,
    18 aaa
     7 bbb
    52 ccc
which is what you want IF there is one line per word.



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

Date: Sat, 23 Oct 1999 14:10:00 GMT
From: dawgeatdawg@my-deja.com
Subject: How to read from Game Port in Win32
Message-Id: <7usfjn$mka$1@nnrp1.deja.com>

Hope this is the right place for a rookie question: Can someone show me
code that reads from the game port or joystick with Activeperl?

thanks in advance,
dwg


Sent via Deja.com http://www.deja.com/
Before you buy.


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

Date: 23 Oct 1999 13:46:57 GMT
From: mgjv@wobbie.heliotrope.home (Martien Verbruggen)
Subject: Re: I'd like to know what are those CGIs and ASPs
Message-Id: <slrn813f6m.dii.mgjv@wobbie.heliotrope.home>

On Fri, 22 Oct 1999 18:30:19 GMT,
	Profisios <prophile@netvision.net.il> wrote:
> I'd like to know what are those CGI and ASP scirpts and what languages it 
> concerns.

an ASP scirpt is an AudioSonic Piano scirpt, which of course is a
distant relative of the cricket. It makes the same level of noise, but
instead of just a high pitched whinge it plays Schubert Sonatas. The
language involved is Mesopotamian, but only tangentially. The reason for
Mesopotamian being involved at all in this narrative is that Hammurabi
described the scirpt first. On a stone tablet. Which he just used to
squash one particularly nasty member of the scirpt species.

A CGI scirpt is totally unrelated, so I don't understand why you mention
them in one sentence.  The CIA Government IS scirpt, which stands for
Central Intelligence Agency Government Information Service scirpt is a
lowlife, dead-end, economic roadkill, US government functionary, whose
sole purpose in life is to shuttle little tidbits of information between
the CIA and the G IS. Most of the time these tidbits are bust sizes of
Hollywood actresses. The language involved is sleezy, sexist and oftimes
greatly exaggerating.

> Thanks in advance.

No problem at all.

Next time, when you actually have a question about Perl, don't hesitate
dropping in again. It's been fun having you here.

Martien
-- 
Martien Verbruggen              | 
Interactive Media Division      | Make it idiot proof and someone will
Commercial Dynamics Pty. Ltd.   | make a better idiot.
NSW, Australia                  | 


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

Date: Sat, 23 Oct 1999 13:53:08 GMT
From: Marcel Grunauer <marcel.grunauer@lovely.net>
Subject: Re: I'd like to know what are those CGIs and ASPs
Message-Id: <bMsROPorMhun937pDEOATPaGuuTf@4ax.com>

On 23 Oct 1999 13:46:57 GMT, mgjv@wobbie.heliotrope.home (Martien
Verbruggen) wrote:

> On Fri, 22 Oct 1999 18:30:19 GMT,
> 	Profisios <prophile@netvision.net.il> wrote:
> > I'd like to know what are those CGI and ASP scirpts and what languages it 
> > concerns.
> 
> an ASP scirpt is an AudioSonic Piano scirpt, which of course is a
> distant relative of the cricket.

Are you sure about this? I always thought is was related to DSP, which
of course stands for Deviant Sexual Practices.


-- 
Marcel, Perl Padawan
sub AUTOLOAD{$_=$AUTOLOAD;s;.*::;;;y;_; ;;print}&Just_Another_Perl_Hacker;


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

Date: Sat, 23 Oct 1999 09:43:35 -0400
From: "Dutch McElvy" <dutch@mindspring.com>
Subject: Module won't make on linux?
Message-Id: <7usdj7$pu1$1@nntp1.atl.mindspring.net>

Anyone have any idea why I can't do a make for a module I am trying to 
install on my linux box?

This same module installs fine on my other unix boxes.

The Makefile.PL script seems to work but I can't get make to work.

Thanks,

Dutch


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

Date: Sat, 23 Oct 1999 14:53:03 GMT
From: bmccoy@foiservices.com (Brett W. McCoy)
Subject: Re: Module won't make on linux?
Message-Id: <slrn813j76.sdh.bmccoy@moebius.foiservices.com>

Also Sprach Dutch McElvy <dutch@mindspring.com>:

>Anyone have any idea why I can't do a make for a module I am trying to 
>install on my linux box?
>
>This same module installs fine on my other unix boxes.
>
>The Makefile.PL script seems to work but I can't get make to work.

Do you have make installed on your system?

-- 
Brett W. McCoy                             bmccoy@foiservices.com
Computer Operations Manager (Alpha Geek)   http://www.foiservices.com
FOI Services, Inc./DIOGENES                301-975-0110
---------------------------------------------------------------------------


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

Date: Sat, 23 Oct 1999 12:57:09 GMT
From: ndietsch@yahoo.com
Subject: Re: Oh god! Not another Net::ftp question!
Message-Id: <7usbb5$k1j$1@nnrp1.deja.com>

Kenneth,

I believe you are mistaken.

Perl does return the messages from the FTP server in $@

If I have miunderstood your statement, then that is another matter
entirely.

Nathan
In article <7uqsit$df8$0@dosa.alt.net>,
  kherron@sgum.mci.com (Kenneth Herron) wrote:
> In article <1c31fd54.5b0d28db@usw-ex0106-041.remarq.com>,
> Tim Diller  <t.dillerNOt.SPAM@xpres.com.invalid> wrote:
> >In article <7uhghq$26i$1@nnrp1.deja.com>, Richard Lawrence
> ><ralawrence@my-deja.com> wrote:
> >> the problem is that it reports busy FTP servers as having a bad
> >> username or password. Is there any way I can make it report them as
> >> busy instead?
> >> Regards
> >> Rich
> >
> >I suppose you could look at the response from the FTP server and look
> >for a string like 'anonymous user limit reached' or something.  I
don't
> >know if there is a standard for a busy response, so it may be hard to
> >catch.
>
> Actually, that's a big peeve I have with Net::FTP.  Your script
*can't*
> look at the response from the FTP server, because the module doesn't
> make server responses available to the script, at least not in any
> documented way.
> --
> Kenneth Herron -- kherron@sgum.mci.com
> "Netscape pollution must be eradicated."
>     -- Jeff Raikes, Vice president, Microsoft
>


Sent via Deja.com http://www.deja.com/
Before you buy.


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

Date: Sat, 23 Oct 1999 14:06:39 GMT
From: jmvanel@my-deja.com
Subject: Parsing botanical descriptions
Message-Id: <7usfde$mjp$1@nnrp1.deja.com>

Hello

I want to parse botanical descriptions to obtain an XML file.
I think of using PERL version of lex and yacc, with a simple grammar
for sentences with ,;. delimitors, plus some rules about nouns and
adjectives.

Has someone done something approaching?


More details on the problem of parsing botanical descriptions:
http://members.aol.com/botadb/Samples/parsing.htm

More on the project :

Worldwide Botanical Database
http://members.aol.com/botadb/index.htm

We want to allow every interested person (not just scientists with huge
libraries) to know and understand Nature.
We begin with plants because there is "only" 250 000 species.

> You will not find here botanical databases with queries on the species
> description - not yet. But this is our aim, the techniques
> are here, the data are here. So why not join us, wether you are a
> computer specialist or a botanist. Or just drop a few lines for
> advice, encouragement or critics.
>
> We need people knowing:
>
>      knowledge representation, Expert systems
>      databases
>      Image processing, shape modelization and pattern recognition
>      Parsing, Processing of natural language
>      Web techniques, XML, XSL, RDF etc


Sent via Deja.com http://www.deja.com/
Before you buy.


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

Date: Sat, 23 Oct 1999 14:55:34 GMT
From: bmccoy@foiservices.com (Brett W. McCoy)
Subject: Re: Perl on Novell 5.0
Message-Id: <slrn813jbu.sdh.bmccoy@moebius.foiservices.com>

Also Sprach JacekL <JacekL@w.pl>:

>When I execute my script on Novell console
>at the end of executing script perl print >>>Press any key to exit   <<<
>
>and this proces wait, so long as ................
>
>I want to execute perl script from Cron !

I think you need to find a CNE.

-- 
Brett W. McCoy                             bmccoy@foiservices.com
Computer Operations Manager (Alpha Geek)   http://www.foiservices.com
FOI Services, Inc./DIOGENES                301-975-0110
---------------------------------------------------------------------------


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

Date: 23 Oct 1999 13:08:25 GMT
From: mgjv@wobbie.heliotrope.home (Martien Verbruggen)
Subject: Re: Perl vs. REBOL
Message-Id: <slrn813cue.dii.mgjv@wobbie.heliotrope.home>

On Fri, 22 Oct 1999 23:05:48 -0400, Billy Zhao <bz9t@yahoo.com> wrote:
> Hi,
> 
> I'm working on a project for my programming languages class.  Given as
> how REBOL is still relatively new and there're not too many
> testimonials out there, I was just wondering if someone who has used
> REBOL and/or Perl can run down a list of specs I have and tell me
> which language has the advantage over the other?

Why do you want us to do that? Let me quote again what you said:

> I'm working on a project for my programming languages class.
  ^^^

That is first person singular, right? So why do you ask us?

> The project is to evaluate the suitability of Perl and REBOL for use
> in "constructin an infrastructure for sharing information among a set
> of company databases."   This infrastructure should communicate with
> the databases though their APIs.  Although, I imagine that the fact
> that it is to be used in a database is pretty much irrevelant, we're
> just trying to contrast the two languages.

And now it's 'we'. But that's still not clpm. Why do you want us to do
that project for you?

Besides all that... We do not generally like to discuss 'differences'
between languages, especially not when phrased like 'which one is
better?', not even when followed by the qualifier 'for such and such a
task'. It leads to chaos, flames, harsh words, crying, long time
clpm-ers leaving, and many psychiatric sessions as well as a need for a
long and slow recovery process after the thread is over. If you want to
discuss that sort of thing, go to one of the advocacy groups or one of
the general programming groups for the subject you're interested in. We
talk about Perl here. Perl programmers don't need to flex their muscles
at other languages.

Martien
-- 
Martien Verbruggen              | 
Interactive Media Division      | You can't have everything, where
Commercial Dynamics Pty. Ltd.   | would you put it?
NSW, Australia                  | 


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

Date: Sat, 23 Oct 1999 14:01:24 GMT
From: michel.dalle@usa.net (Michel Dalle)
Subject: Re: Perl vs. REBOL
Message-Id: <7usf3d$cl7$1@nickel.uunet.be>

In article <7ur8mv$83v$1@murdoch.acc.Virginia.EDU>, "Billy Zhao" <bz9t@yahoo.com> wrote:
<snip>
>The project is to evaluate the suitability of Perl and REBOL for use in
>"constructin an infrastructure for sharing information among a set of
>company databases."   This infrastructure should communicate with the
>databases though their APIs.  Although, I imagine that the fact that it is
>to be used in a database is pretty much irrevelant, we're just trying to
>contrast the two languages.
>
>The following is a list of specifications my group came up with:
<snip>

Your project definition seems a bit vague. What does the 'infrastructure'
need to do ? What 'information' is to be 'shared' ? What kind of 'databases'
are involved ? What 'API's do they provide, and which are you going to use ?
What do you mean by 'it is to be used IN a database' ? Et cetera...

Contrasting two languages on a bunch of generic criteria may be a nice
little academic project, but if your criteria don't fit the bill, it's a bit 
pointless, don't you think ?
For instance, it's quite nice to know whether a language supports
different data types to match those of a database, but wouldn't it be
interesting to see how easily you can acces that database too ?

HTH,

Michel.


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

Date: Sat, 23 Oct 1999 09:51:33 -0400
From: "Dutch McElvy" <dutch@mindspring.com>
Subject: Save output from foreach loop outside loop?
Message-Id: <7use24$fm7$1@nntp1.atl.mindspring.net>

How can I save the output generated by a foreach loop into a single variable
so that it can be used outside the loop?

Thanks,

Dutch


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

Date: Sat, 23 Oct 1999 13:51:58 GMT
From: Marcel Grunauer <marcel.grunauer@lovely.net>
Subject: Re: Save output from foreach loop outside loop?
Message-Id: <3coRONW2ukDEhyKf6IhG6MlWf6=2@4ax.com>

On Sat, 23 Oct 1999 09:51:33 -0400, "Dutch McElvy"
<dutch@mindspring.com> wrote:

> How can I save the output generated by a foreach loop into a single variable
> so that it can be used outside the loop?

Along the lines of

	my (@myarray, $out);

	foreach (@myarray) {
		$out .= mysub($_)
	}

	print $out;

HTH. HAND.

-- 
Marcel, Perl Padawan
sub AUTOLOAD{$_=$AUTOLOAD;s;.*::;;;y;_; ;;print}&Just_Another_Perl_Hacker;


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

Date: 23 Oct 1999 13:46:17 GMT
From: intbyte@aol.com (Max S.)
Subject: SIMPLE scripts to help me learn???
Message-Id: <19991023094617.23616.00000341@ng-ch1.aol.com>

Can I get some very simple scripts to help me understand perl...like a really
simple guestbook, or anything I could understand easily, thanks.  E-Mail me,
intbyte@aol.com
Max S.
intbyte@aol.com
http://realestateclosings.net/zd


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

Date: 23 Oct 1999 13:13:22 GMT
From: mgjv@wobbie.heliotrope.home (Martien Verbruggen)
Subject: Re: string question
Message-Id: <slrn813d7n.dii.mgjv@wobbie.heliotrope.home>

On Fri, 22 Oct 1999 21:54:05 -0400,
	Bob Walton <bwalton@rochester.rr.com> wrote:
> Michael Budash wrote:
> > 
> > In article <MA6Q3.9494$7G2.53968@news1.online.no>, "Michael Namm"
> > <aerial@online.no> wrote:
> > 
> > >Simple question, how do I reduce the letters in a given string (for shorting
> > >down filenames for description) from right to left?
> > >longestfilenameiveeverseenthisyear.zip --> longest
> ...
> > use perl's substr function (or did i miss something here?)
> 
> Well, there is the possibility the truncated filename already
> exists (assuming that the filename is to be changed).

yes, but that wasn't in the original question, and substr should
probably still be used, even in this case.

> $truncated_file_name=substr($filename,0,7);

As you conveniently demonstrate :)

> while(-e $truncated_file_name){$truncated_file_name.='+'}

And immediately you make the file name longer than was allowed. Maybe
instead of adding characters, you should replace characters or simply
refuse to do anything. Replacing characters could be done by 'name
mangling', like the awful process that MS uses, and that Andrew Tridgell
has implemented in the samba source as well.

> should get a unique name, assuming no other process or thread is
> attempting the same thing.

Yes, it will get a unique name, but... The purpose of shortening the
name is probably not to subsequently make it longer again, or son't you
agree with that?

Martien
-- 
Martien Verbruggen              | 
Interactive Media Division      | The gene pool could use a little
Commercial Dynamics Pty. Ltd.   | chlorine.
NSW, Australia                  | 


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

Date: 23 Oct 1999 13:31:10 GMT
From: mgjv@wobbie.heliotrope.home (Martien Verbruggen)
Subject: Re: URGENT: Adding a AUTO-Email to Matt Writtes FFA Links
Message-Id: <slrn813e93.dii.mgjv@wobbie.heliotrope.home>

On 22 Oct 1999 19:35:26 GMT,
	Max S. <intbyte@aol.com> wrote:
> i am new to perl, very new, and i was wondering if someone could email me a
> code to add to matt writte ffa links script to have it e-mail ME each time
> someone adds a link, check out my web page and see what I have

matt writte? If that is who I think it is, then

# cd ${SCRIPTDIR}
# rm -rf *

And write a new one.

> PLEASE E-Mail me because I don't check here too often (intbyte@aol.com)

Well, what a bloody bummer for you. You won't see this then. Don't you
personally feel that that is terribly rude?

YOU: Help me! Now! With this crap I have here! I won't read the
newsgroup! I won't read the documentation! I won't check CPAN! I won't
read the news archives, so that I know that this script is crap! And you
have to email me! I can't even be bothered to check here for an answer!
God forbid! I might actually learn something! And you are all meanies if
you don't help me! And many other people on this group will support me,
and flame you for being so mean to me! And another terribly long thread
will start about how evil you are! And that serves you right! And no, I
do not think that this post proves your point about posts like this! And
now, write the code for me, and Email it to me, fast!

CLPM: No.

> intbyte@aol.com

A few years ago this would have explained it all. Nowadays it's not that
special anymore.

Martien
-- 
Martien Verbruggen              | 
Interactive Media Division      | Useful Statistic: 75% of the people
Commercial Dynamics Pty. Ltd.   | make up 3/4 of the population.
NSW, Australia                  | 


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

Date: 23 Oct 1999 13:55:21 GMT
From: mgjv@wobbie.heliotrope.home (Martien Verbruggen)
Subject: Re: Using "use strict" and "Getopt" together
Message-Id: <slrn813fmg.dii.mgjv@wobbie.heliotrope.home>

On 22 Oct 1999 15:23:40 GMT,
	Henri Periat <eperh@ens.ascom.ch> wrote:

> To avoid that i usually add 'undef $Getopt::Std::opt_d;' at the end.

or you could do one of the things that the documentation that comes with
Getopt::Std suggests for this.

Martien
-- 
Martien Verbruggen              | 
Interactive Media Division      | If at first you don't succeed, try
Commercial Dynamics Pty. Ltd.   | again. Then quit; there's no use
NSW, Australia                  | being a damn fool about it.


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

Date: 23 Oct 1999 10:56:35 -0400
From: catfood@apk.net (Mark W. Schumann)
Subject: Re: what is SHTML ?
Message-Id: <7usib3$foq@junior.apk.net>

In article <slrn80ukt1.llb.bmccoy@moebius.foiservices.com>,
Brett W. McCoy <bmccoy@foiservices.com> wrote:
>Also Sprach Graham W. Boyes <me@toao.net>:
>>How about this:
>>Comp.lang.perl.newbie.newbie.newbie.newbie.newbie?!
>>
>>Look, strange as it may seem, some of us *aren't* experts in Perl!  We
>>are learning the language and we find it difficult!  If you folks
>>who *are* experts can't handle answering simple questions, then *DON'T!*
>
>The point is, many of the simple questions have already been answered in
>the FAQs and PODs.  Why the need to keep re-inventing the wheel?

Also think self-interest.

The FAQs and PODs have been in refinement for years.  Their answers
are virtually always the "best thinking" on a topic.

The one-time responses you get to a post are going to vary widely in
quality.

If an answer is in the FAQ, it's likely to be the _best_ answer.



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

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


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