[8603] in Perl-Users-Digest

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

Perl-Users Digest, Issue: 2220 Volume: 8

daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Tue Mar 31 22:07:18 1998

Date: Tue, 31 Mar 98 19:00:28 -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           Tue, 31 Mar 1998     Volume: 8 Number: 2220

Today's topics:
    Re: 'Use'ing a module whose name is in a scalar <zenin@archive.rhps.org>
        A SSI question :-) <ben@wallroyds.demon.co.uk>
    Re: accessing variables EXPORTed then "use"d <rootbeer@teleport.com>
        ANNOUNCE: /bin/sh to Perl translator finally available! <merlyn@stonehenge.com>
    Re: ANNOUNCE: /bin/sh to Perl translator finally availa (Ilya Zakharevich)
        Building A Site Distribution? <curt@vphos.net>
        Diddling with search engines via CGI (John Russell)
    Re: help needed with grep type function for perl script (Mike Stok)
        How to setup Perl5 From ActiveWare in My IIS Ver 2.0?? <stingjoel@usa.net>
        How to stop cmd Windows Pop-up on NT <cdas@cnd.hp.com>
    Re: How to stop cmd Windows Pop-up on NT (Nick Tonkin)
    Re: Is there a "Newsgroup" for Newbies to Perl? (David Oswald)
    Re: Is there a "Newsgroup" for Newbies to Perl? <mikenak@best.com>
    Re: Need help with "shared memory" module IPC::Shareabl (Jason Gloudon)
    Re: newbie for NT perl, 501 error <sowmaster@juicepigs.com>
        problematic pattern matching umesh@intertrust.com
    Re: Public Key Encryption (non pgp) <andrew@erlenstar.demon.co.uk>
    Re: Public Key Encryption (non pgp) (Michael J Gebis)
    Re: rant: illiterate Perl programmers <Russell_Schulz@locutus.ofB.ORG>
    Re: REQ  Help sloop@mailcity.com
    Re: Someone put my munged e-mail address on a spam list <Russell_Schulz@locutus.ofB.ORG>
        Sorting a Delimeted Text File? <ncadmin@nova-creations.com>
    Re: The "Y2k-bugs-are-not-just-a-legacy-problem" FAQ <royf@swbell.net>
    Re: verifying email address -- how? <metcher@spider.herston.uq.edu.au>
    Re: verifying email address -- how? (John Stanley)
    Re: What does this one liner do? <dean@tbone.biol.sc.edu>
        Digest Administrivia (Last modified: 8 Mar 97) (Perl-Users-Digest Admin)

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

Date: 1 Apr 1998 00:58:47 GMT
From: Zenin <zenin@archive.rhps.org>
Subject: Re: 'Use'ing a module whose name is in a scalar
Message-Id: <891392739.378835@thrush.omix.com>

nicholas@neko.binary9.net wrote:
: I tried:
: eval "use SC::$mode";
: but I get a "no such file or directory", it obviously can't find the
: module (which is /usr2/nicholas/work/eagle/sc/lib/SC/init.pm). I 
: _really_ thought this approach would work (even considering I don't
: like using 'eval's). But it didn't.

	Odd, this works fine for me.  I use it in a number of modules.
	Have you tried puting the '$mode' string in your error handler
	to make sure it's not funky? -Eg, has no white space, etc that
	would cause such errors:

	eval "use SC::$mode";
	$@ and die "Can not load 'SC::$mode': $@, stopped";

	The extra single quotes are to make sure you see any white space
	or other junk that may be your problem.  In general, this is a
	good idea for all similar messages such as from bad open() calls
	and such.

: And various other permutations (including 'require', which DID work,
: but I don't want to bypass the startup stuff that 'use' performs).

	However, you can "fake" everything use does (which isn't much over
	a require, actually):

	require "SC::$mode";  import "SC::$mode" (LIST);

	If you read the perlfunc man page on use you'll see that this is
	all it's really doing.

-- 
-Zenin
 zenin@archive.rhps.org


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

Date: Wed, 1 Apr 1998 02:04:19 +0100
From: "Ben" <ben@wallroyds.demon.co.uk>
Subject: A SSI question :-)
Message-Id: <891392662.6491.0.nnrp-11.c2de5b4a@news.demon.co.uk>

Hello all :-) ...

First of all ... I'm so sorry about my bad English.

I have a .shtml webpage. It runs a CGI script ... The script is to detect
the surfer's IP address and look up the "Banned surfers" database and if
it's matched ... It will print "Sorry, but you're banned from viewing the
page" ... But, the problem is, it also show the *.shtml page in which it
shouldn't ...

I wonder if anyone can tell me how to tell them that they're banned and NOT
showing the .shtml page?

The script was written in Perl.

Best Regards

Ben :-)

(PS - I apologise if the newsgroup is the wrong place to post the message or
if any of you don't like this newcomers' message being around - If so, I'm
really sorry)




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

Date: Tue, 31 Mar 1998 18:12:40 -0800
From: Tom Phoenix <rootbeer@teleport.com>
To: Rick Schofield <Richard.Schofield@fmr.com>
Subject: Re: accessing variables EXPORTed then "use"d
Message-Id: <Pine.GSO.3.96.980331175946.13245D-100000@user1.teleport.com>

On Tue, 31 Mar 1998, Rick Schofield wrote:

> If (as I had it) the "use" comes _before_ the "package", then
> it places the constants from Socket.pm outside of the namespace of the
> package, 

Right.

> I'm not sure if it would have worked in the second instance if I'd
> referred to it as "main::PF_INET".  Anyone know the right syntax? 

    &Socket::PF_INET

:-)

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



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

Date: 1 Apr 1998 00:00:00 +0000
From: Randal Schwartz <merlyn@stonehenge.com>
Subject: ANNOUNCE: /bin/sh to Perl translator finally available!
Message-Id: <8ciuouv26b.fsf@gadget.cscaper.com>


Yes!  Finally!  The long-awaited "Shell to Perl" translator is now available!

Works just like the a2p and s2p tools provided with the Perl
distribution.  Input a /bin/sh script, and output a Perl program!  The
result can even be compiled with Malcolm Beattie's "Perl Compiler" to
create a binary distribution, in theory (I haven't tested that yet).

Available in the CPAN at

	CPAN/authors/id/MERLYN/sh2perl-0.02.tar.gz

at URLs such as:

	http://www.perl.com/CPAN/authors/id/MERLYN/sh2perl-0.02.tar.gz
	http://www.perl.org/CPAN/authors/id/MERLYN/sh2perl-0.02.tar.gz
	http://cpan.perl.org/authors/id/MERLYN/sh2perl-0.02.tar.gz

It can also be installed directly from CPAN.pm as:

	$ perl -MCPAN -eshell
	cpan> install MERLYN/sh2perl-0.02.tar.gz

It's still in development (hence the low version number).. if you can
think of things to make it better, let me know.  Doesn't handle csh
yet (read the docs for details).

Yours for a better Perl world,

-- 
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: 1 Apr 1998 00:12:30 GMT
From: ilya@math.ohio-state.edu (Ilya Zakharevich)
Subject: Re: ANNOUNCE: /bin/sh to Perl translator finally available!
Message-Id: <6fs0pe$b44$1@mathserv.mps.ohio-state.edu>

[A complimentary Cc of this posting was sent to Randal Schwartz 
<merlyn@stonehenge.com>],
who wrote in article <8ciuouv26b.fsf@gadget.cscaper.com>:
> 
> Yes!  Finally!  The long-awaited "Shell to Perl" translator is now available!

> It's still in development (hence the low version number).. if you can
> think of things to make it better, let me know.  Doesn't handle csh
> yet (read the docs for details).
> 
> Yours for a better Perl world,

How good is perl5.004_63/Configure.PL now?

Ilya


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

Date: Tue, 31 Mar 1998 16:38:27 -0800
From: Curt Cranfield <curt@vphos.net>
Subject: Building A Site Distribution?
Message-Id: <35218C83.11C4F78@vphos.net>

Hi Everyone,

Over the next few months our ogranzation will be upgrading all the OSs
on our machines.  At the same time, I would like to update all of the
perl versions to be similar.  Right now, we have multiple versions of
perl running across mutliple platforms which we want to eliminate.

I would like to get some advice on what everyone feels is the best way
to run perl on multiple machines all running the same architecture.  Is
it best just to create a 'site distribution' and install that
distribution on each machine?  If so, what directories/files will I
need.

I would hate to have to have the source on each of the machines (like we
currently do) - seems like a big waste of space.

Anyways, all advice is appreciated.

Thanks

Curt



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

Date: Wed, 01 Apr 1998 01:39:23 GMT
From: john13@interlog.com (John Russell)
Subject: Diddling with search engines via CGI
Message-Id: <352790c0.73133705@news.interlog.com>

I've done some launching of search engines like Altavista via
Javascript.  (Open a window with the URL http:// ... + my query.)  Now
I would like to do more elaborate things using Perl and LWP.

Is there a body of knowledge about this subject already?  For example,
I guess that anyone doing this kind of thing needs to know:

- Is there a method to make the search engines return very long lists
of results rather than a set of small pages with "next" links?  Which
search engines are best or worst in this regard?

- Do all search engines use CGI-friendly ?-encoded URLs for their
query results?

- Is there reusable code specifically for working with search engine
results (e.g. compare if "hits" from 2 engines are really the same,
transform results into standard format, etc.)?

Thanks in advance,
John
--
John Russell
john13@interlog.com, http://www.interlog.com/~john13/


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

Date: 1 Apr 1998 00:46:26 GMT
From: mike@stok.co.uk (Mike Stok)
Subject: Re: help needed with grep type function for perl script.
Message-Id: <6fs2p2$9m4@news-central.tiac.net>

In article <35245b76.446439225@client1.news.psi.net>,
just another $wanna{$be} perl hacker <root@127.0.0.1> wrote:

>I cannot find the meanings for the \Q and \E in the blue camel book.
>hint please.

I just tried telnettinmg to your machine and found that not only did I
have a login but also that

  perldoc perlop

describes \Q and \E in the Quote and Quote-like Operators section.

Hope this helps,

Mike


-- 
mike@stok.co.uk                    |           The "`Stok' disclaimers" apply.
http://www.stok.co.uk/~mike/       |   PGP fingerprint FE 56 4D 7D 42 1A 4A 9C
http://www.tiac.net/users/stok/    |                   65 F3 3F 1D 27 22 B7 41
stok@colltech.com                  |            Collective Technologies (work)


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

Date: Wed, 1 Apr 1998 09:37:46 +0700
From: "Bambang Suriawan" <stingjoel@usa.net>
Subject: How to setup Perl5 From ActiveWare in My IIS Ver 2.0??
Message-Id: <6fs9la$j06@news1.rad.net.id>

This is a multi-part message in MIME format.

------=_NextPart_000_0035_01BD5D51.D4163040
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I have perl 5 from ActiveWare and I want to install it on my IIS ver =
2.0....
I was run perlw32-install.bat in c:\perl\bin and it's done....how can I =
run my perl script?
Must I create cgi-bin directory...how about the path of perl?
Please help me run perl script on my intranet....FYI, now I can't browse =
the web...I just can browse Newsgroups and comunicate with e-mail...so =
please don't advise me to look on http.....TIA.


Regards,
Bambang Suriawan.
stingjoel@usa.net


------=_NextPart_000_0035_01BD5D51.D4163040
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>

<META content=3Dtext/html;charset=3Diso-8859-1 =
http-equiv=3DContent-Type>
<META content=3D'"MSHTML 4.71.1712.3"' name=3DGENERATOR>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT color=3D#000000 size=3D2>I have perl 5 from ActiveWare and I =
want to=20
install it on my IIS ver 2.0....</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2>I was run perlw32-install.bat in =
c:\perl\bin and=20
it's done....how can I run my perl script?</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2>Must I create cgi-bin =
directory...how about the=20
path of perl?</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2>Please help me run perl script on my =

intranet....FYI, now I can't browse the web...I just can browse =
Newsgroups and=20
comunicate with e-mail...so please don't advise me to look on=20
http.....TIA.</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2>Regards,</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2>Bambang Suriawan.</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2><A=20
href=3D"mailto:stingjoel@usa.net">stingjoel@usa.net</A></FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_0035_01BD5D51.D4163040--



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

Date: Tue, 31 Mar 1998 17:17:54 -0700
From: Chris Das <cdas@cnd.hp.com>
Subject: How to stop cmd Windows Pop-up on NT
Message-Id: <352187B2.94DA0FAE@cnd.hp.com>

Anyone know how to stop the terminal window pop-ups
on NT when using the 'system' command?  It is against our
policy to modify the Perl source so I guess I can create a
module that does an 'exec' without spawning a shell as Perl
does.  But I'm hoping someone else already has a better
solution such as surpressing the window from Perl.

Any help is greatly appreciated.

Thanks,
Chris Das




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

Date: Wed, 01 Apr 1998 01:16:56 GMT
From: nick@NOSPAMTHANKSciof.sbcc.net (Nick Tonkin)
Subject: Re: How to stop cmd Windows Pop-up on NT
Message-Id: <352194d4.29483585@news.csu.net>


You may want to look at the Win32::Process module which includes a
flag for the type of process you want that can be set to
DETACHED_PROCESS. If what you want is a detatched process.

Hope this helps

Nick


On Tue, 31 Mar 1998 17:17:54 -0700, Chris Das <cdas@cnd.hp.com> wrote:

>Anyone know how to stop the terminal window pop-ups
>on NT when using the 'system' command?  It is against our
>policy to modify the Perl source so I guess I can create a
>module that does an 'exec' without spawning a shell as Perl
>does.  But I'm hoping someone else already has a better
>solution such as surpressing the window from Perl.
>
>Any help is greatly appreciated.
>
>Thanks,
>Chris Das
>
>


=========================================
Nick Tonkin, Director
Computers In Our Future
Computadoras En Nuestro Futuro
Santa Barbara, California

Ensuring Equity in Access to Computer
Technology for the Low-Income Community
________________________________________
Remove NOSPAMTHANKS from e-mail to reply


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

Date: Wed, 01 Apr 1998 00:40:37 GMT
From: doswald@xmission.com (David Oswald)
Subject: Re: Is there a "Newsgroup" for Newbies to Perl?
Message-Id: <35218bc8.21089844@news.xmission.com>

On Tue, 31 Mar 1998 00:00:00 +0100, C.VOGEL@LINK-GOE.de (Chris Vogel)
wrote:

>                                           Goettingen, Stardate 0929.92
>Hi there,
>
>  doswald (David Oswald) wrote in 3508c605.180930773@news.xmission.com on
>  30.03.98 following lines, starting with '*'
>
>* Why do people resent being
>* asked FAQ type questions on this group?

Woah oh!  You cut that question out of context.  I asked that as a
rhetorical question which I went on to answer in the very next
sentence.  People resent being asked FAQ type questions because the
group is inundated by the same questions over and over again, and
because the FAQ was written to answer the questions without further
waste of time and bandwidth.  Don't ask FAQ's here.  RTFM!!!!

And don't trim my posts in such a way as to make it look like I'm
arguing the opposite side from where I actually stand.  There are
pleanty of people who support the other side without trying to make it
look like I do by taking one phrase out of context.




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

Date: Tue, 31 Mar 1998 16:43:54 -0800
From: Mike Nakagawa <mikenak@best.com>
Subject: Re: Is there a "Newsgroup" for Newbies to Perl?
Message-Id: <35218DCA.6D6F@best.com>

Chris Vogel wrote:
> 
>                                            Goettingen, Stardate 0929.92
> Hi there,
> 
>   doswald (David Oswald) wrote in 3508c605.180930773@news.xmission.com on
>   30.03.98 following lines, starting with '*'
> 
> * Why do people resent being
> * asked FAQ type questions on this group?
> 
> Because some people learn more from dialogue and discussions. I think
> there are different types of learners: People who sit and read
> happily, search through ressources and work on their own and other
> people who feel the need to discuss things they learn with other
> learners or with mentors (this is the reason why there are
> universities out there and not just places to exchange books).
> 
> I do not disagree that there are to much people who just want to
> steel time to get the things they need for free, but I see some people
> discouraged in trying to find people to exchange experiences while
> learning.
> 
> For these people it would be nice to have a place to go to - as I
> wrote before - maybe some kind of virtual university to share their
> experiences.
> 
> I understand that people like that are not in place in this newsgroup
> because I myself feel that I nearly can't keep up reading. A got idea
> might be a stack of moderated and in number of user limited
> mailinglists with some people moderating away the 'can anybody write a
> script for me' - questions.
> 
> This is not ment to share knowledge - it's out there all over the net,
> it is ment to share experiences in getting knowledge.
> 
> Chris.
> 
> --
>        Alt-Glas? Die Taste 'Glas' finde ich nicht...
>         (J.Ohlig@Link-Goe.de)

Are you suggesting a RFD for a comp.lang.perl.d group?


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

Date: Wed, 01 Apr 1998 01:20:02 GMT
From: jgloudon@manitoba.bbn.com (Jason Gloudon)
Subject: Re: Need help with "shared memory" module IPC::Shareable !
Message-Id: <slrn6i35d4.mss.jgloudon@manitoba.bbn.com>

Mark Seuffert <captain@pirate.de> wrote:
>Hi... back with another shm-example (somewhere below).
>
>From the view of a user, I still can not understand why I'm forced
>to use eval-blocks... I think it's the modul that has to catch 
>errors and should return (good) arguments if there was an error... 
>that's not my work!

Pray you never have to code in Java, as it forces the same thing with try /
catch blocks. Despite the inconvenience of the eval blocks, they do prevent the
casual coder from doing bad things like ignoring the return value from methods,
which could have very negative results (erasing one's hard disk), and force the
programmer to pay some attention to exception handling.  (I cite "open" as an
example of an often ignored return value).

IMO, modules should not be calling die/croak unless they have been called with
invalid arguments by which I mean things like passing a plain scalar instead of
a reference, but not things like passing a filename that doesn't exist
 .
 .
 .
 .
>Apache webserver ueses shared memory, more applications should use it if
>neccesary... and shared memory would be better implemented.  Actually sharded
>memory is a good choice if U need global data shared with multiple threads.
>What else should I use... another server (

In all the definitions of -threads- that I have seen, a thread executes in the
address space of a containing process possibly alongside other threads which see
the same address space. Multiple threads within the same process by definition
share the same address space, and so the "sharing" takes place by default.

What do you mean when you say "shared memory would be better implemented" ?
You should say whether you mean the operating system or by the Perl module
interface to it.

-- 
Jason Gloudon


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

Date: Tue, 31 Mar 1998 20:00:43 -0500
From: Bob Trieger <sowmaster@juicepigs.com>
To: "Franklin L. Petersen" <orangutan@grungyape.com>
Subject: Re: newbie for NT perl, 501 error
Message-Id: <352191BB.452@juicepigs.com>

Franklin L. Petersen wrote:
> 
> I just installed Perl 5.003(?) for NT 4.0 Server with IIS 3.0 and Front Page
> 98
> 
> I set the path, I made the file association, I set executable rights to the
> cgi-bin directory in both FP and NT/IIS
> 
> I adjusted my html form paths to /cgi-bin/form.pl
> 
> but all I get are 501 errors, method not supported.  I am not 100% sure what
> I did wrong.

What you did wrong was post a microsoft server question to a perl
newsgroup.

What you didn't do it set the registry key for the IIS3 server to
execute cgi. You have to add the following value to your registry. This
is from memory, if not correct it is close:

HKEY_LOCAL_MACKINE\
  CurrentControlSet\
            services\
                W3SVC\
            parameters\
              Scriptmap\

 .cgi c:\perl\bin\perl.exe %s %s


Good luck,
Bob Trieger               |  Titanic: big boat, bigger
sowmaster@juicepigs.com   |           iceberg, big deal


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

Date: Tue, 31 Mar 1998 19:14:57 -0600
From: umesh@intertrust.com
Subject: problematic pattern matching
Message-Id: <6fs49a$o86$1@nnrp1.dejanews.com>

How can I match a pattern of two characters where the second is a function of
the first?

E.g., how to match all patterns of the type "ab", "bc", "cd", "de", ... ?

I do not read this newsgroup regularly. Therefore, please send me email at
umesh@intertrust.com.

-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/   Now offering spam-free web-based newsreading


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

Date: 01 Apr 1998 01:08:40 +0100
From: Andrew Gierth <andrew@erlenstar.demon.co.uk>
Subject: Re: Public Key Encryption (non pgp)
Message-Id: <87n2e6z9mf.fsf@erlenstar.demon.co.uk>

>>>>> "Tom" == Tom Phoenix <rootbeer@teleport.com> writes:

 Tom> If someone refuses to use pgp, why would they use some other
 Tom> public key encryption? In other words, what reason could someone
 Tom> have which would oppose one and not the other?

Cost? PGP is not free for commercial users....

-- 
Andrew.


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

Date: 1 Apr 1998 01:58:00 GMT
From: gebis@albrecht.ecn.purdue.edu (Michael J Gebis)
Subject: Re: Public Key Encryption (non pgp)
Message-Id: <6fs6v8$dgo@mozo.cc.purdue.edu>

Tom Phoenix <rootbeer@teleport.com> writes:

}On 31 Mar 1998, Jamie Hoglund wrote:

}> Hate to followup to my own followup, but there are many reasons PGP
}> isn't acceptable for this, one of them is the fact that it isn't always
}> available, (and in fact usually isn't in this case. It's for people who
}> don't have the inclination to install PGP on their systems, and various
}> cranky ISP's that refuse to have it.) 

}If someone refuses to use pgp, why would they use some other public key
}encryption? In other words, what reason could someone have which would
}oppose one and not the other?

I'm worried about copyright/patent problems in RSA/MD5 pgp, and don't
trust the El-Gamal/SHA version because of possible NIST/NSA
tomfoolery.  (Ok, I don't really worry about either one, but
_somebody_ could)


-- 
Mike Gebis  gebis@ecn.purdue.edu  mgebis@eternal.net


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

Date: Tue, 31 Mar 1998 18:50:10 +0100
From: Russell Schulz <Russell_Schulz@locutus.ofB.ORG>
Subject: Re: rant: illiterate Perl programmers
Message-Id: <19980331.185010.8K7.rnr.w164w@locutus.ofB.ORG>

laird@asphodel.ecn.purdue.edu (Kyler Laird) writes:

> Is there some rule that all Perl programmers are
> required to screw up every piece of documentation
> that they touch by using bad grammar/spelling?

no, it's computer-industry-wide.  or more likely world-wide.

> It's getting sooo frustrating to read Apache Perl
> module docs because of all the stupid apostrophes.

> I even casually mentioned this to one of the
> authors, Doug MacEachern, and received the e-mail
> equivalent of a glazed-over stare.

I send the authors a few corrections; I don't know if they appreciate
it.  if they thank me, I usually go to the effort of making all the
fixes I can.

they have a better document, I've helped, everyone wins.
-- 
Russell_Schulz@locutus.ofB.ORG  Shad 86c


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

Date: Wed, 01 Apr 1998 00:55:32 GMT
From: sloop@mailcity.com
Subject: Re: REQ  Help
Message-Id: <35218ea2.21819857@news.xmission.com>

On Tue, 31 Mar 1998 23:57:15 -0800, Dan Kubilos <dkubilo@oxnardsd.org>
wrote:

>I am trying to install
>the *req* help ticket system on my server
>sunos 4.1.3 on a sparc
>
>No luck.  I am using Perl 5

Luck has nothing to do with it.  What is the problem in particular?

>I downlarded req_patched_for perl   no luck.

There's that luck word again.  Since when did luck become a part of
software configuration?  I always thought it had everything to do with
skill and understanding, and very little to do with luck.  Of course
bad luck could cause trouble; such as having a hard drive smoke in the
middle of a job, but that's a different kind of luck than that to
which you're referring.  Perhaps you could be more descript as to what
your problem actually is.  Luck is a cop-out.  Skill and understanding
are the issues at hand, and if there's a particular step that exceeds
your understanding go ahead and ask for insight here.  But we're not
mindreaders nor are we luck bringers.

>Anyone who has had luck with req and could give me some guidance it
>would be greatly appreciated.

What is your specific problem?  Where exactly do you encounter the
hangup?

>I have spent a full day looking through available docs and searching
>already

Which doc is unclear?  What instruction are you not understanding?  If
you need someone to guess at your problem contact one of the many
1-900 Psychic services.  This is a Perl usenet group.  People get
helpful responses when they ask well thought out questions.  You seem
to be asking for someone to come over to your place and do it for you.
For that you hire consultants, technicians, or programmers.




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

Date: Tue, 31 Mar 1998 18:56:24 +0100
From: Russell Schulz <Russell_Schulz@locutus.ofB.ORG>
Subject: Re: Someone put my munged e-mail address on a spam list
Message-Id: <19980331.185624.9J4.rnr.w164w@locutus.ofB.ORG>

  [ I've redirected to n.a.n.email -- why was it posted to c.l.p.m only?! ]

Zenin <zenin@archive.rhps.org> writes:

> John Stanley <stanley@skyking.OCE.ORST.EDU> wrote:
>> For many people, by the time "personal filters" can process the spam,
>> the cost has already been incurred. Personal filters do not always
>> benefit the user.
>
> Then there mail system is broken, period.  You don't fix one
> problem by creating another.

for me, the bulk of the cost of spam is in receiving it.  whether I
filter it (and throw out the occasional real message) or not, that
cost has been paid.  (I don't munge, but I don't flame those who do.)

I guess all mail systems outside NAmerica are broken, by your criteria.
-- 
Russell_Schulz@locutus.ofB.ORG  Shad 86c


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

Date: Tue, 31 Mar 1998 17:47:26 -0800
From: "Anthony F. Sanchez" <ncadmin@nova-creations.com>
Subject: Sorting a Delimeted Text File?
Message-Id: <35219CAE.EBB3E4D9@nova-creations.com>

Hi,

Does anyone know of a simple way to "sort" a field or fields in a
delimited text file?

Thanks.

-Anthony S.



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

Date: Tue, 31 Mar 1998 21:02:05 +0100
From: Roy Frederick <royf@swbell.net>
Subject: Re: The "Y2k-bugs-are-not-just-a-legacy-problem" FAQ
Message-Id: <35214BBC.E8387F84@swbell.net>

I believe that Bob Richardson (currently at Liant) and I originated
the nanocentury unit and the observation that it is approximately
pi seconds: During a drive back to U of T at Austin from Dallas in 1967 we
were
passing the time by devising odd units. The nanocentury turned out to
be the most useful by far as it allows me to remenber that pi is 3.15
(well
close anyway). It was nightime, Bob was driving, and I did the
calculations
in my head. Probably would need a calculator today. I remember thinking
that it was about 3.12 and Bob saying "hey, about pi seconds." I never
recalculated it and until recently assumed that it was 3.12. Not long ago
after a few glasses of wine at lunch time, I told a friend that I
guaranteed
it to be 3.12. Later that day I calculated it for some reason and found
that I had been wrong all those years!

Roy

Daniel P. B. Smith wrote:

> In article <6foj26$b7p$1@marina.cinenet.net>,
> Craig Berry <cberry@cinenet.net> wrote:
>
> >One of the more useful factoids I've encountered is "pi seconds is a
> >nanocentury."  It's easy to remember, accurate to well within 1%, and
> >makes long-interval time calculations in seconds easier to do in your
> >head.
>
> It was recently pointed out to me that "one furlong per fortnight"
> is almost exactly 1 centimeter per minute.  How's that for useful?
>
> And, of course, "in fourteen hundred and ninety two/Columbus sailed
> the ocean blue/Divide the son-of-a-bitch by two/And that's how many
> watts are in a horsepower."
>
> --
> Daniel P. B. Smith
> dpbsmith@world.std.com





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

Date: Wed, 01 Apr 1998 11:56:35 +1000
From: Jaime Metcher <metcher@spider.herston.uq.edu.au>
Subject: Re: verifying email address -- how?
Message-Id: <35219ED3.DEF6051D@spider.herston.uq.edu.au>

Agreeing with John Moreno and disagreeing with I R A Aggie:

It doesn't cost much to do a quick check of a list of addresses that are
going on to a listserv.  For each address you get one of three results:
either definitely OK, obviously bogus, and who knows.  For the "who
knows" addresses (pretty rare in the real world) you just shrug and move
on, but when you see something like:

Bill.Cilnton@dyselxia.com

you reach for the "bogus" stamp and the ink-pad.  The pay-off in my case
is reduced stress for those of my users who aren't *really* up to
dealing with listserv administration, even though it's their list.

-- 
Jaime Metcher


John Moreno wrote:
> 
> I R A Aggie <fl_aggie@thepentagon.com> wrote:
> 
> > But let us drop down to the bottom line, here: what is the cost/benefit
> > ratio to checking an email address? IMHO, not terribly high. In fact,
> > its so low as to become a worthless endeavor.
> 
> That depends upon what your doing and what tools your doing it with -
> once you've got your sytax checker it's easy enough to call, and won't
> take a excessive amount of time to return it's results.
> 
> > About the only people who would truely benefit from such a thing are
> > spammers. Except they don't care if their throwaway acount generates
> > 100,000 bounces and turns some poor ISP's server into a smoking crater.
> >
> > A valid use would be setting up a mailing list. But I suspect the running
> > and maintenance of such a thing is better served by setting up a proper
> > list server -- like majordomo.
> 
> Anonther valid use is mail and news programs - some of the incorrect
> addresses can be lethal to programs which hasn't anticipated them, and
> sending mail (evil) or news (bad) with munged addresses isn't good to
> start with, causing the other persons machine to crash and burn to boot
> is downright uncivilized.
> 
> (bad@bad.edu
> 
> --
> John Moreno
> I am trying to convince the author of YA-NewsWatcher that the latest
> version should be released to the public.  He doesn't think there's much
> interest in a new version.  Help me prove him wrong.  To do so, send me
> mail <mailto:phenix@interpath.com> with a Subject of New YA.  Comments
> on what you like/dislike in the current version will be appreciated.


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

Date: 1 Apr 1998 02:45:50 GMT
From: stanley@skyking.OCE.ORST.EDU (John Stanley)
Subject: Re: verifying email address -- how?
Message-Id: <6fs9ou$3sv$1@news.orst.edu>

In article <35219ED3.DEF6051D@spider.herston.uq.edu.au>,
Jaime Metcher  <metcher@spider.herston.uq.edu.au> wrote:
>It doesn't cost much to do a quick check of a list of addresses that are
>going on to a listserv.  For each address you get one of three results:
>either definitely OK, obviously bogus, and who knows.  

Nope, you get one of two results: "obviously bogus" and "who knows".
Most of the addresses, if properly formed, are "who knows", until you
send mail and get a response back from the recipient. At that point,
they enter the "previously valid but may change to invalid at any time"
catagory.

The value of simple checks to discard "obviously bogus" addresses is
that the person entering it gets the clue that you are somewhat serious
about entering a valid email address, even if you can't test it
immediately. 

>on, but when you see something like:
>
>Bill.Cilnton@dyselxia.com
>
>you reach for the "bogus" stamp and the ink-pad.  

The domain exists. You have no way of knowing if the mailbox exists or
not.  Just what criteria are you applying to this address to brand it
"obviously bogus"?

>The pay-off in my case
>is reduced stress for those of my users who aren't *really* up to
>dealing with listserv administration, even though it's their list.

At the expense of poor Mr. Cilnton at dyslexia.com...



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

Date: 31 Mar 1998 19:27:02 -0500
From: Dean Pentcheff <dean@tbone.biol.sc.edu>
Subject: Re: What does this one liner do?
Message-Id: <87g1jyv12g.fsf@tbone.biol.sc.edu>

Mike <mhanson@arrowweb.com> writes:
> Ronald J Kimball wrote:
> > Mike wrote:
> > > What does this do? select(undef,undef,undef,0.1);
> > 
> > Exactly what the documentation for four-argument select() says it does.
> > 
> > Try the perlfunc documentation or the Programming Perl book.
> 
> Can't you just tell me what it means. I don't have telenet access so i
> can't get the manual. And it does not say it the perl book that i have.

Because if we do, we all know full well that we'll see another query
like it from you within a day or two (by "like it" I mean something
that's clearly and obviously covered in the standard Perl
documentation).  Not a certainty that you'll do that, but a very high
probability.

What these people are trying to do is give you the clue that you can't
use a programming language without documentation.  You have many, many
choices with Perl, starting with the online docs distributed with it,
and moving on to the standard reference book, Programming Perl (from
O'Reilly and Associates, http://www.oreilly.com).  

We are not a reference book, but people with limited time.  Use a
reference book first, then turn to experienced people when you hit a
problem that, no matter what you've tried, you can't figure out.  Tell
us what you've tried (briefly) and what's not working.  Then we're
usually happy to help out.  

I'm also skeptical about your lack of telnet access.  You're
apparently posting from a dialup account using Netscape on a Win95
system.  When you're logged in, have you ever tried Start/Run/telnet
and then done a connect to some Internet host?  I bet you do have
telnet access...

However, you do appear to have WWW access.  Any reason you didn't
check in at one of the big indexing sites (www.yahoo.com) to see what
was available for Perl?  Had you done so, you'd have quickly found
http://www.perl.com, from which you could easily have found
WWW-accessible and downloadable versions of the Perl documentation.

You'll need to spend a bit more time and effort on your own before
someone is going to hand you an answer.  If that seems patronizing to
you, be assured that in other contexts of life, people are far nastier
than patronizing towards your attitude.

-Dean
-- 
N. Dean Pentcheff                                          <pentcheff@acm.org>
Biological Sciences, Univ. of South Carolina, Columbia SC 29208 (803-777-7068)


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

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

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