[8292] in Perl-Users-Digest
Perl-Users Digest, Issue: 1909 Volume: 8
daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Mon Feb 16 19:17:32 1998
Date: Mon, 16 Feb 98 16:00:29 -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 Mon, 16 Feb 1998 Volume: 8 Number: 1909
Today's topics:
Re: A Pubilc Apology. (Jon Bell)
ANNOUNCE: DOCModify 1.1 to modify fields in every file <pivari@geocities.com>
Re: array question (steve)
Re: Associateve Array - Eval'ing the Value Part (Craig Berry)
Re: Code Example Needed (steve)
Re: exec() || spawn() ? to multithread on NT (Andrew M. Langmead)
Re: File question <corky@ultranet.com>
Re: File question <webmaster@fccj.cc.fl.us>
Re: Help wanted with loop problem. Please. (Craig Berry)
How can I read Novell DOS Environment-variables in Perl <gert-jan.lee@dataweb.nl>
Re: my $scalar vs. my($scalar) (was Re: FAQless Forays (Chip Salzenberg)
Re: Newbie question (Jonathan Feinberg)
Paradox 7.0 and Perl? <terry@isthq.com>
Re: Passing values into a subroutine from an array... <chris@ixlabs.com>
Re: Q: XSUB/Perl Performance (long) (Ilya Zakharevich)
Re: Reg Exp How Do I... (Craig Berry)
Re: Regex & locales. <*@qz.to>
Searching a file for a word. <tufgar@golden.net>
Re: Sorting Strings With Delimited Characters - Advice (Andrew M. Langmead)
Re: System function to variable (Jonathan Feinberg)
Re: The Young Man and the Beach <jhb@cts.com>
Re: The Young Man and the Beach (Mark Kramer)
Re: The Young Man and the Beach danboo@negia.net
Re: WANTED UK PEARL SCRIPT PROGRAMER (Craig Berry)
Re: what does "deprecate" mean? (Andrew M. Langmead)
Re: Where to start. <brad@liquid-web.com>
Digest Administrivia (Last modified: 8 Mar 97) (Perl-Users-Digest Admin)
----------------------------------------------------------------------
Date: Sun, 15 Feb 1998 23:02:00 GMT
From: jtbell@presby.edu (Jon Bell)
Subject: Re: A Pubilc Apology.
Message-Id: <EoFzzC.FFH@presby.edu>
Leslie Mikesell <les@MCS.COM> wrote:
>
>The problem is that the way to send a copy by email in rn/trn is to
>stick the email address in the CC: header and the news posting and
>email copy are thus identical. So you have to annoy the rest of the
>world with an extraneous comment or the email recipient by omitting
>it.
I always stick "[posted and e-mailed]" at the top of all such postings,
and no one reading it in a newsgroup has ever complained about it to me.
--
Jon Bell <jtbell@presby.edu>
------------------------------
Date: Mon, 16 Feb 1998 10:51:03 +0000
From: Fabrizio Pivari <pivari@geocities.com>
Subject: ANNOUNCE: DOCModify 1.1 to modify fields in every file
Message-Id: <34E81A17.6653A2F2@geocities.com>
Hi,
I'm glad to announce the version 1.1 of DOCModify.
DOCModify is a very flexible and powerfull PERL script. It permits you
to modify in every format file the fields you specify in the
configuration file modify.cfg. It works
with PERL 5.x on UNIX and Wintel Systems.
This tool is a free ANFACE Software tool.
What's new in 1.1 version:
Added backup option: with this option the tool copies the original files
in files
with .bak extension, then it
modifies them.
This is the URL where you can find the tool
http://www.geocities.com/CapeCanaveral/Hangar/4794/
Enjoy it!
Send me your suggestions.
--
Fabrizio Pivari
mailto:pivari@geocities.com
http://www.geocities.com/CapeCanaveral/Lab/3469/
Member of ANFACE Software
http://www.geocities.com/CapeCanaveral/Hangar/4794/
------------------------------
Date: Sun, 15 Feb 1998 21:57:35 GMT
From: steveh@cent.com (steve)
Subject: Re: array question
Message-Id: <34f4649a.20747322@news.cent.com>
@array = '';
but why ?
On Mon, 09 Feb 1998 18:25:47 +0100, Jahnel Klaus
<jahnel@xarch.tu-graz.ac.at> wrote:
>is it possible to delete all values of an array so that the array is
>empty?
>Klaus
>
------------------------------
Date: 16 Feb 1998 22:01:45 GMT
From: cberry@cinenet.net (Craig Berry)
Subject: Re: Associateve Array - Eval'ing the Value Part
Message-Id: <6cad09$5sl$1@marina.cinenet.net>
Phillip Juan McClore (pjmcclor@fedex.com) wrote:
: I need to look at a hash's value and keep up with the key, qualify the
: value and process. For example, if the value is greater than 0, then
: I want to "do something". I am reall stuck here. I know I am going to
: kick myself when I find out how to do this . . .but it has been two days
: now . . . and I have not got it yet! Will ya'll please help a kid out?
I can't help thinking I'm missing some critical part of your problem,
here, but I'll answer the question you asked, and if it's not what you're
looking for, you can provide a new question.
For a hash %data...
%data = ( foo => 7, bar => -12, baz => 0 );
while (($key, $val) = each %data) {
doSomething($key, $val) if $val > 0;
}
This will call doSomething() only on (foo, 7).
HTH...
---------------------------------------------------------------------
| Craig Berry - cberry@cinenet.net
--*-- Home Page: http://www.cinenet.net/users/cberry/home.html
| Member of The HTML Writers Guild: http://www.hwg.org/
"Every man and every woman is a star."
------------------------------
Date: Sun, 15 Feb 1998 22:21:01 GMT
From: steveh@cent.com (steve)
Subject: Re: Code Example Needed
Message-Id: <34f86995.22021922@news.cent.com>
Eileen:
As you want to work it out for yourself, here is your starting point
(i think):
if today is the seventh day of the month, three days ago was the
fourth, in three days time it will be the tenth day of the month.
keeping this in mind, your calculations are based on todays date.
I am not sure exactly what your question means so be more specific.
Are you trying to deliver information based on the current date ?
Are you trying to deliver a weekly format based on the current date or
a monthly format ?
Email me if you can't figure out what i mean.
Steve
On Wed, 11 Feb 1998 13:49:13 GMT, mystra@torilmud.com (Eileen
Kortright) wrote:
>I just finished perusing the 217 messages in this group to see if
>anyone has asked my question recently. I see no one has, so, at the
>risk of getting jumped on by Mr. Christiansen:
>
> -- 1) Yes, I've read the FAQ. 2) I'm not a programmer, okay? I'm
>*trying* to learn Perl for my own personal web site, not get a job as
>a programmer. 3) I have BOTH the camel and the lama open in from of
>me, as well as various OTHER texts. 4) I have a headache and I really
>would not appreciate getting one of your typical "read the FAQ" "go
>back to programming school" responses. --
>
>If the above sounds a little defensive, yah, it is, but as I stated, I
>just read 217 messages in this newsgroup -- most of which had, IMHO,
>very rude replies from Mr. Christiansen.
>
>Here is my question:
>
>I'm attempting to create a wholly new calendar for a fantasy setting
>and having the date correlate with the current date in real life. This
>means creating entirely new months and days and referencing them to
>the current date (Julian date, easier to use). I want this to be
>portable to other sites, without the use of the perl date libs, so I
>just used a system call function to access the current Julian day
>number.
>
>So far so good. I have the Julian date. Now, I can think of a zillion
>ways to calculate my calendar, but I want to figure out the *best* way
>and the neatest way.
>
>Naturally, I'm having problems trying to set this all up in an array
>and now I have a massive headache. I don't want someone to sit down
>and say "DO THIS!" What I would like is if someone had a snippet of
>code that has done something like this that would be good for me to
>learn from? I learn best from example and I've been all over the web
>and have yet to find anything resembling what I'm trying to do. I
>don't want anyone to "do the work for me", I wanna learn by example.
>
>Anyone?
>
>My apologies to Mr. Christiansen if I have offended him, but I wasn't
>even going to post in here after I saw some of your replies to people.
------------------------------
Date: Sun, 15 Feb 1998 18:00:29 GMT
From: aml@world.std.com (Andrew M. Langmead)
Subject: Re: exec() || spawn() ? to multithread on NT
Message-Id: <EoFM0t.Go7@world.std.com>
Peter Tapolyai <peter@uhu.com> writes:
>Then I looked into multithreaded coding. So the question is:
>is exec() correct on NT like this ?
>exec(&shor_sub);
>sub short_sub{
> buncha_calls;
> more calls;
> &buncha_subs;
> &adios;
>}
Probably not. The function exec() works like it is documented in
<URL:http://www.perl.com/CPAN/doc/manual/html/pod/perlfunc/exec.html>
--
Andrew Langmead
------------------------------
Date: Mon, 16 Feb 1998 15:17:59 -0500
From: Bob Trieger <corky@ultranet.com>
To: Gil Steiner <orange19@rocketmail.com>
Subject: Re: File question
Message-Id: <34E89EF7.7D5D@ultranet.com>
Gil Steiner wrote:
>
> Hi
>
> I must have quite a big missunderstanding here, but I am new, so forgive
> me...
>
> How do I open a file, read each line, process it, and return it to the same
> file ?
> what I do now is open the file, read the lines and write them to a different
> file.
This is covered in perlfaq5 located at http://www.perl.com/
HTH
Bob Trieger
corky@ultranet.com
------------------------------
Date: Mon, 16 Feb 1998 14:49:49 GMT
From: Bill Jones <webmaster@fccj.cc.fl.us>
Subject: Re: File question
Message-Id: <34E85100.87C8A9E0@fccj.cc.fl.us>
I would hazard a guess that you may wish to open
TWO files and then delete (via 'mv' if on Unix) the
original with the new file.
Something like -
open (inData, "$whereIsData") || die("Cannot open Input: $!");
while(<inData>) {
# do stuff...
open (outData, ">>$whereItGoes") || die("Cannot open Output: $!");
print OutData #whtever you want to say...
close (outData) || die("$!");
}
close (inData) || die("$!");
$erc = system("mv $whereItGoes whereIsData") / 256;
($erc) ? die("Erc: $!, occurred.") : print "Ok!";
But you get the picture :-)
HTH,
Bill
Gil Steiner wrote:
> Hi
>
> I must have quite a big missunderstanding here, but I am new, so forgive
> me...
>
> How do I open a file, read each line, process it, and return it to the same
> file ?
> what I do now is open the file, read the lines and write them to a different
> file.
>
> Please POST the reply here.
>
> Thanks,
>
> +Gil
------------------------------
Date: 15 Feb 1998 21:31:05 GMT
From: cberry@cinenet.net (Craig Berry)
Subject: Re: Help wanted with loop problem. Please.
Message-Id: <6c7mqp$8q2$5@marina.cinenet.net>
User (networks@skynet.co.uk) wrote:
: I've got a couple more problems I'd like some help with.
:
: Here's what I have so far:
: ----------------------------------------------
: -e "search1.txt" || &error_message ("file missing.");
:
: open (DATAFILE, "textfile.txt");
Why do you care about the existence of search1.txt? Near as I can tell,
you never mention it again. Also, you don't check the open of
textfile.txt. Perhaps you really mean
open DATAFILE, "textfile.txt" or error_message("file missing.");
[snip]
: or $e eq $find) { push @url, $name, $link; }
[snip]
OK, so @url has paired entries (thought about hashing on $name instead?)
: and within the html display section of my file I'm using the following
: to display the information:
: ----------------------------------------------
[snip]
: foreach $found (@url)
: {print "<a href=\"",$found,"\">",$found,"</a><BR>";}
: }
[snip]
: As you can see the foreach loop is incorrect, what I'd like to happen
: is this:
:
: <A HREF="a url">some text</A></BR>
: 'a url' being $link and 'some text' being $name
:
: How can I construct, if at all, the foreach loop to do this?
You can't (in any non-contrived way), as foreach isn't the construct
you're after. Instead, how about (if you don't mind destroying @url in
the process):
while (@url) {
my $name = shift @url;
my $link = shift @url;
# Your print goes here
}
---------------------------------------------------------------------
| Craig Berry - cberry@cinenet.net
--*-- Home Page: http://www.cinenet.net/users/cberry/home.html
| Member of The HTML Writers Guild: http://www.hwg.org/
"Every man and every woman is a star."
------------------------------
Date: Sun, 15 Feb 1998 23:40:08 +0100
From: Gert-Jan van der Lee <gert-jan.lee@dataweb.nl>
Subject: How can I read Novell DOS Environment-variables in Perl?
Message-Id: <34E76EC8.FE65DC27@dataweb.nl>
Hai,
Perl is running on a Novell Netware server together with de Netscape
Fasttrack webserver. How can I read Novell Dos systemvariables in Perl?
For instance, the DOS-command 'SET' shows all settings for the
workstation somebody logged in. Can I read this into Perlvariables?
Thanks.
Gert-Jan
E-mail: lee@rtvwest.nl
------------------------------
Date: Mon, 16 Feb 1998 14:21:43 GMT
From: chip@mail.atlantic.net (Chip Salzenberg)
Subject: Re: my $scalar vs. my($scalar) (was Re: FAQless Forays (was: Code Example Needed))
Message-Id: <6c9i47$rg$1@cyprus.atlantic.net>
According to jdf@pobox.com (Jonathan Feinberg):
> DB<9> print scalar(my $robot = undef);
>
> DB<10> print scalar(my($robot) = undef);
>1
>
>The camel does indeed distinguish between the scalar assignment and list
>assignment forms of my() (Camel 2, p189, bottom of page). It is up to the
>reader, though, to understand the implication that the value of my() is
>therefore a list.
To clarify a bit: The C<my> keyword has no effect on the semantics of any
given assignment statement. So just like C< ($a) = > is different from
C< $a = >, so C< my ($a) = > is different from C< my $a = >.
Also, sometimes people assume that C<my> must be the first thing in a
statement. It doesn't:
(my $ME = $0) =~ s#^.*/##;
>I'm not ashamed to say that I find this implication subtle!
>Thanks, Chip.
De nada.
--
Chip Salzenberg - a.k.a. - <chip@pobox.com>
"Hoist the failure sails, men! We're goin' home!" // MST3K
-> Ask me about Perl training and consulting <-
Like Perl? Want to help out? The Perl Institute: www.perl.org
------------------------------
Date: Mon, 16 Feb 1998 09:18:08 -0500
From: jdf@pobox.com (Jonathan Feinberg)
Subject: Re: Newbie question
Message-Id: <MPG.f5214ae45685b759896db@news.concentric.net>
[courtesy cc of this posting sent to cited author via email]
afuller@cisco.com said...
: I'm just learning perl, so if this is a really easy question, please
: don't flame me too bad.
You've picked a politically delicate time to start off your question that way.
In general, if you feel like your question might be "really easy," you should
*definitely* consult the documentation that is integral to the Perl
distribution. In particular, there are a bunch of documents whose basenames
are perlfaq[1-9]? In particular particular, you'll want to read perlfaq9, in
the section entitled "How do I send/read mail?"
Go, and sin no more.
--
#!/usr/bin/perl -w -- Just another Perl hacker,
(open 0),$_=<0>,s,^.*-+ ,,,,chop;for(split?/*?){($$_++or$y=$_,y,
y \,y,<STDIN>,,eval"sub $_ {print '$y'}"),y,0 \,},>STDOUT,,&$_}
# Jonathan Feinberg jdf@pobox.com Sunny Brooklyn, NY
------------------------------
Date: Mon, 16 Feb 1998 17:03:42 -0500
From: Terry Smith <terry@isthq.com>
Subject: Paradox 7.0 and Perl?
Message-Id: <34E8B7BE.C0F75D41@isthq.com>
Can I get a module to access my numerous Paradox 7.0 databases?
These database files are located on a linux server. I want to create a
perl cgi to display the content of the database on our intranet page.
There are other Paradox applications already writen that I cannot change
(yet). I'm kinda new at this perl stuff, and I thank you for your help.
Terry
terry@isthq.com
------------------------------
Date: Sun, 15 Feb 1998 14:43:58 -0800
From: Chris Schoenfeld <chris@ixlabs.com>
To: Premgith Vidyanandan <vidyanan@pilot.msu.edu>
Subject: Re: Passing values into a subroutine from an array...
Message-Id: <34E76FAE.785D14C2@ixlabs.com>
You do not need to predeclare your arguments (but you can).
All arguments passed to the sub are in the magic array @_, which is the
default LIST argument to the shift() operator, which returns @_[0] and
removes it from the array, shifting remaining elements left.
printargs('one',2);
sub result{
# @_ contains 'one',2
my $arg1=shift; # @_ now contains 2
my $arg2=shift; # @_ is now empty
print "my arguments were $arg1 and $arg2\n";
}
You can. of course, simply reference the @_ elements directly if you
want as well, i.e. @_[1]...
Premgith Vidyanandan wrote:
>
> I call this subroutine in the following manner,
> @val[0] = &result(@array[0]);
>
> sub result{
> $value = grep "who" @array[$i];
> return $value;
> }
> This does not work because $i is not defined. if I assingn a value of $i
> with 0 then it works but it does not work when I call the same function
> and change the value of $i.
>
> The question I have is how can I pass the values from the call to the
> subroutine for different values of the array, for instance how can I call
> the same subroutine with @array[1];@array[2] .... and so on and make it
> return different values.
> . Is there a better way to do this....
> In c you can just declare the arguments in the beginning and then just
> pass the values in to the function, I need the equivalent of the same
> process in perl...
>
> Thanks...
>
> Premgith Vidyanandan
> Tel -: Res (517) 333-4201
> Off (517) 355-4500 ext(193)
> E-mail - vidyanan@pilot.msu.edu
--
---
Chris Schoenfeld
IX Development Laboratories
Santa Rosa, California
------------------------------
Date: 16 Feb 1998 20:30:37 GMT
From: ilya@math.ohio-state.edu (Ilya Zakharevich)
Subject: Re: Q: XSUB/Perl Performance (long)
Message-Id: <6ca7ld$s4e$1@mathserv.mps.ohio-state.edu>
[A complimentary Cc of this posting was sent to Erik OShaughnessy
<eriko@austin.ibm.com>],
who wrote in article <ufsopjcpcp.fsf@majestic.austin.ibm.com>:
> while( @data = $trace->next_hook() ){
> # munge data here
> }
> The funtion next_hook() is where I think the most opportunity for
> improvement lurks since it get's banged on in a really tight loop.
Why? "munge data here" is of the same significance.
> The first XSUB I wrote for next_hook() looks like:
>
> void
> next_hook(self)
> trace *self;
> PREINIT:
> hook hook;
> PPCODE:
> if( get_hook(self,&hook) != (hook *)NULL ){
> XPUSHs(sv_2mortal(newSViv(hook.id)));
> XPUSHs(sv_2mortal(newSViv(hook.type)));
> XPUSHs(sv_2mortal(newSViv(hook.hkdata)));
> XPUSHs(sv_2mortal(newSVpv((char *)hook.data,sizeof(int)*hook.dlen)));
> XPUSHs(sv_2mortal(newSViv(hook.tid)));
> XPUSHs(sv_2mortal(newSVnv(self->elapsed_seconds)));
> XPUSHs(sv_2mortal(newSViv(self->delta_nanos)));
> }
>
> I realize that there are XPUSH[inp] functions, but when I tried to
> call them with in the PPCODE section, they resulted in runtime errors
> (segfaults). To get around that it seemed I would need to make new
> SV's every time, mortalize them, and push them onto the return stack.
> This is where I suspect the first candidate for speedup lurks. If I
> could discover how to avoid the sv_2mortal(newSV*()) calls, I think I
> could see some real speed up.
You cannot have more than one XPUSH[inp] per opcode anyway (even if we
make them working in XSUBs). Why not prepare the array to return in
->new, and XPUSHs the reference to the same array each time? Or just
take 7 write-arguments, and XPUSHs &sv_undef/sv_true?
Ilya
------------------------------
Date: 15 Feb 1998 21:22:39 GMT
From: cberry@cinenet.net (Craig Berry)
Subject: Re: Reg Exp How Do I...
Message-Id: <6c7mav$8q2$4@marina.cinenet.net>
djcyr@NOSPAM.connix.com wrote:
: This seems like a really simple problem:
:
: How do I remove all commas from a text file, EXCEPT
: those commas where there is a space immediately after the comma?
Wow, a case where lookahead just falls right into place, how cool:
s/,(?! )//g;
---------------------------------------------------------------------
| Craig Berry - cberry@cinenet.net
--*-- Home Page: http://www.cinenet.net/users/cberry/home.html
| Member of The HTML Writers Guild: http://www.hwg.org/
"Every man and every woman is a star."
------------------------------
Date: 16 Feb 1998 04:09:26 GMT
From: Eli the Bearded <*@qz.to>
Subject: Re: Regex & locales.
Message-Id: <qz$9802152244@qz.little-neck.ny.us>
Abigail <abigail@fnx.com> wrote:
> In a regex, how does one match an uppercase letter in the current locale?
As far as I know, one doesn't. \w and \W are the only locale-sensitive
bits of regular expressions as of 5.004, and both of those are case
insensitive. You can make the complicated effort of grep()ing the \w
characters out of the set of all characters, removing the numbers and
_, then removing the duplicates after uc()ing the whole thing, finally
put that in a variable and use it in a character class, but that is a
lot of work.
Elijah
------
note that \w and \W matched patterns are tainted if locale is used
------------------------------
Date: Sun, 15 Feb 1998 11:19:03 -0500
From: The Tufgars <tufgar@golden.net>
Subject: Searching a file for a word.
Message-Id: <34E71576.B7EDD50D@golden.net>
Hi,
I was wondering how I would go about searching a file for a specific
word and when it is found the program would read the next 20 lines in
the file into an array. Each element in the array would hold one line.
Thanks in Advance,
Aaron Tufgar
------------------------------
Date: Sun, 15 Feb 1998 21:28:02 GMT
From: aml@world.std.com (Andrew M. Langmead)
Subject: Re: Sorting Strings With Delimited Characters - Advice Sought
Message-Id: <EoFvMr.J92@world.std.com>
tkolsen@btinternet.com (Tony K. Olsen) writes:
> After having tried numerous things like cmp and <=> etc. I am
>looking for a little advice on a sort problem I am having with a
>delimited text file using two colons (::).
Actually, since you are sorting on the first field, you can just say:
$a <=> $b
but you'll get TONS of warnings about them not being numeric. (If you
go that route, you're better off saying:
{
local $^W = 0;
@sortedlist = sort by_string @data;
}
than toggling the warnings off in the by_string subroutine)
In general, though, you are much better off using the method of
extracting the sortable fields from the data and then sorting based on
the computed data.
See <URL:http://www.perl.com/CPAN/doc/manual/html/pod/perlfaq4/
How_do_I_sort_an_aray_by_anyth.html> for details.
--
Andrew Langmead
------------------------------
Date: Sun, 15 Feb 1998 23:46:03 -0500
From: jdf@pobox.com (Jonathan Feinberg)
Subject: Re: System function to variable
Message-Id: <MPG.f518e937fa816639896da@news.concentric.net>
[courtesy cc of this posting sent to cited author via email]
michael@datahost.com said...
: Since I was able to get the unix date command to work I thought this
: would be simple. Since I am somewhat of a beginner, it seems like there
: would be quite a lot of overhead involved to install a module and figure
: out how it works, when all I want is one dinky command.
Michael - you'll definitely want to master your fear of (distaste for?) Perl
modules. If you're on a Unix box, then installing a module is a simple matter
of
$ less README (may be spelled "more README")
$ perl Makefile.PL
$ make
$ make test
$ make install
On a Win32 box, Gurusamy Sarathy's port will also enable easy installs of
modules that contain only perl code. You'll also need a good "make.exe", such
as dmake, or even bona fide gnu make running under cygwin or mingwin. Some
modules do require a C compiler, but, hey, if you're gonna become a Perl
hacker, you might as well master C and C++. (Insert grains of salt to taste).
Anyway, modules are one of the advantages of Perl5, and are one of the reasons
that it's so wildly successful for stuff like the Human Genome Project and
really important things like web visitor counters. Use modules.
--
Jonathan Feinberg jdf@pobox.com Sunny Brooklyn, NY
Working on my first JAPH
------------------------------
Date: Sun, 15 Feb 1998 09:49:33 -0800
From: John Bollenbacher <jhb@cts.com>
Subject: Re: The Young Man and the Beach
Message-Id: <34E72AAD.3C8D@cts.com>
I think that long-time participants in internet and computing in general
forget
how daunting it can all be to the neophyte. Try to cast your mind back
to
your first exposure to this all. Try imagining yourself as a university
(or
high school?) freshman who has just heard of the incredible information
to be
found in newsgroups. Without any other assistance, you discovered how
to get
your browser to show you the contents of comp.lang.perl.misc and you
have never
seen the letters FAQ before.
Being inquisitive and a self-starter you post a question not even
knowing
where your questions will go or if anyone will actually see them.
Now return your thoughts to the present. Doesn't it seem like having a
canned
reply that explains some of the basics of the net to send to this soul
would
go some distance to furthering that person's education while minimizing
the
net bandwidth dedicated to discussing topics like this?
--
------------------------------------------------------------------------------
John Bollenbacher
328 12'th St.
Del Mar, CA 92014
619.350.1122
------------------------------------------------------------------------------
------------------------------
Date: Mon, 16 Feb 1998 16:51:38 GMT
From: c28f62@world.std.com (Mark Kramer)
Subject: Re: The Young Man and the Beach
Message-Id: <EoHDI2.8C1@world.std.com>
In article <34E8478E.E80EB738@ti.com>, Graham Barr <gbarr@ti.com> wrote:
>Mark Kramer wrote:
>> You tell me, exactly, what I was supposed to be grateful
>> for in the fable Tom posted. Was I supposed to be grateful that he
>> compared all of us to dirty beggars and shoeless children?
>
>Tom did not compare you, or anyone else, to dirty beggars. He simply
>posted a fable which had some resemblance to what is happening on
>this group.
Very good. You contradicted yourself in just two sentences. If there is
some "resemblance", there is a comparison.
>No I do not exclude myself, but then I did not take it personally
>either.
That's nice. Some people take personal insults personally. In any case,
was this the part I was to be grateful for?
>oo, you seem so wound up, belive me it is not worth it, just calm down
You seem to be a part of this discussion, Mr. Barr. Are you calm?
Now, I notice, you were not able to tell me what I was to be so grateful
for, so your comment about "ungrateful" earlier must have been a typo.
>I can assure you that there are *very* few people in this group
>who would agree that Tom's purpose of reading this group is for
>anything other than to help.
Then his actions do not match his purpose.
------------------------------
Date: Sun, 15 Feb 1998 16:02:31 -0600
From: danboo@negia.net
Subject: Re: The Young Man and the Beach
Message-Id: <6c7oln$kil$1@nnrp2.dejanews.com>
In article <6c75m8$p73$1@csnews.cs.colorado.edu>,
tchrist@mox.perl.com (Tom Christiansen) wrote:
>
> In comp.lang.perl.misc, bart.mediamind@tornado.be (Bart Lateur) writes:
> :One of the problems of this newgroup is that a small number of people
> :expect everybody to fall on their knees in appraisal.
> ^^^^^^^^^
> "I do not think that that word means what you think it means."
> --the Princess Bride
>
> All problems pale before one solitary hurdle: the demographic shift
> on the Net from a majority of competant programmers, researchers, and
^^^^^^^^^
see quote above. at first i thought it was a typo, but that is now
the second time i have seen you use that word. perhaps it is just
an alternate spelling, of which i am not aware.
cheerio,
--
danboo rstein
-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/ Now offering spam-free web-based newsreading
------------------------------
Date: 16 Feb 1998 22:05:45 GMT
From: cberry@cinenet.net (Craig Berry)
Subject: Re: WANTED UK PEARL SCRIPT PROGRAMER
Message-Id: <6cad7p$5sl$2@marina.cinenet.net>
www.DotUK.com (info@dotuk.com) wrote:
: We are a design company looking for a UK based PEARL wizard.
This PEARL sounds like something I should know about, if it can be used
to develop CGI scripts. Is there a newsgroup devoted to it? Where can I
find a copy for evaluation? Is it at all similar to Perl?
[OK, OK, </sarcasm>... :) ]
---------------------------------------------------------------------
| Craig Berry - cberry@cinenet.net
--*-- Home Page: http://www.cinenet.net/users/cberry/home.html
| Member of The HTML Writers Guild: http://www.hwg.org/
"Every man and every woman is a star."
------------------------------
Date: Sun, 15 Feb 1998 17:18:22 GMT
From: aml@world.std.com (Andrew M. Langmead)
Subject: Re: what does "deprecate" mean?
Message-Id: <EoFK2M.KrC@world.std.com>
Jarkko Hietaniemi <jhi@alpha.hut.fi> writes:
>kcohen@julius.ling.ohio-state.edu (Kevin B Cohen) writes:
>> okay, i *know* what it means to "deprecate" in english, but what does
>> it mean in perlish? here are some examples of usage (hope i'm not
>> violating any laws of copyright...):
>What is so hard? The meaning is exactly the same.
>Just replace it with "frowned upon" if that feels clearer.
I keep imagining in some future version of perl:
"Use of the term "depricated" for obsolete language features is now
depricated."
--
Andrew Langmead
------------------------------
Date: Sun, 15 Feb 1998 17:04:52 -0500
From: Brad Atkins <brad@liquid-web.com>
Subject: Re: Where to start.
Message-Id: <34E76684.DB330A83@liquid-web.com>
Well I haven't received any e-mail...and I sure am glad you could help me!
Thanks!
Brad
Jonathan Stowe wrote:
> On Fri, 13 Feb 1998 18:11:33 -0500, Brad Atkins <brad@liquid-web.com>
> wrote:
>
> >Hi,
> >
> >I want to try and learn Perl programming, CGI whatever you want to call
> >it. Anyone have any good online tutorials, or have seen some?!
> >
> Brad, brad,brad,
>
> You should have received by now an E-Mail from Nathan Torkington with
> the subject line of WELCOME to comp.lang.perl.misc.
>
> This is not junk mail. I (and no doubt many others ) would suggest
> reading this before making any further posts to this group.
>
> /J\
------------------------------
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 1909
**************************************