[7581] in Perl-Users-Digest
Perl-Users Digest, Issue: 1207 Volume: 8
daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Tue Oct 21 11:17:11 1997
Date: Tue, 21 Oct 97 08:03:15 -0700
From: Perl-Users Digest <Perl-Users-Request@ruby.OCE.ORST.EDU>
To: Perl-Users@ruby.OCE.ORST.EDU (Perl-Users Digest)
Perl-Users Digest Tue, 21 Oct 1997 Volume: 8 Number: 1207
Today's topics:
[Reposted due to Enlow UCE cancel]: Re: HELP! perl and (Faust Gertz)
[Reposted due to Enlow UCE cancel]: Re: HELP! perl and (Faust Gertz)
[Reposted due to Enlow UCE cancel]: Re: Help: sybperl 2 <jmillar@eaglequest.com>
[Reposted due to Enlow UCE cancel]: Re: Help: sybperl 2 <jmillar@eaglequest.com>
[Reposted due to Enlow UCE cancel]: Re: How do I collec (Faust Gertz)
[Reposted due to Enlow UCE cancel]: Re: How do I collec <seay@absyss.fr>
[Reposted due to Enlow UCE cancel]: Re: How do I collec <usenet-tag@qz.little-neck.ny.us>
[Reposted due to Enlow UCE cancel]: Re: How do I collec (Faust Gertz)
[Reposted due to Enlow UCE cancel]: Re: How do I collec <seay@absyss.fr>
[Reposted due to Enlow UCE cancel]: Re: How do I collec <usenet-tag@qz.little-neck.ny.us>
Digest Administrivia (Last modified: 8 Mar 97) (Perl-Users-Digest Admin)
----------------------------------------------------------------------
Date: Tue, 21 Oct 1997 01:05:24 GMT
From: faust@wwa.com (Faust Gertz)
Subject: [Reposted due to Enlow UCE cancel]: Re: HELP! perl and windows!
Message-Id: <REPOST-19828.394866943359.344cfa17.17891653@news.wwa.com>
On Tue, 21 Oct 1997 01:47:41 +0100, "A.K" <nihonjin@cyberdude.com>
wrote:
>i'm new atthis tuff and I got perl5.004 but I don't know how to install
>it under windows NT4.0 or windows95 there's no reference for this in the
>book I bought (learning perl)
On page xx, under the section entitled 'Frequently Asked Questions',
which is under the section entitled 'Additional Resources', there are
pointers to the information you request. If you truly have the 5.004
release, then the FAQ is included with the standard distribution's
documentation. If you have a pre-5.004 release, then, as documented
in _Learning Perl_ you will have to look for the FAQ either in
comp.lang.perl.announce or on the Web at http://language.perl.com/faq/
Just as an aside, if you are working in a Win32 environment, why
didn't you buy _Learning Perl on Win32 Systems_ instead of just plan
old _Learning Perl_? According to the O'Reilly site:
:In this carefully paced course, leading Perl trainers and a Windows NT practitioner teach you to program in the language that
:promises to emerge as the scripting language of choice on NT. Based on the "llama" book, this book features tips for PC users and
:new, NT-specific examples, along with a foreword by Larry Wall, the creator of Perl, and Dick Hardt, the creator of Perl for
:Win32.
Sounds like a good book to me. Anyway, back to the task at hand. If
you look at the FAQ, you will find the following section.
:What machines support Perl? Where do I get it?
:
:The standard release of Perl (the one maintained by the perl development team) is distributed only in source code form. You can
:find this at http://www.perl.com/CPAN/src/latest.tar.gz, which is a gzipped archive in POSIX tar format. This source builds with
:no porting whatsoever on most Unix systems (Perl's native environment), as well as Plan 9, VMS, QNX, OS/2, and the Amiga.
:
:Although it's rumored that the (imminent) 5.004 release may build on Windows NT, this is yet to be proven. Binary distributions for
:32-bit Microsoft systems and for Apple systems can be found http://www.perl.com/CPAN/ports/ directory. Because these are not
:part of the standard distribution, they may and in fact do differ from the base Perl port in a variety of ways. You'll have to check
:their respective release notes to see just what the differences are. These differences can be either positive (e.g. extensions for the
:features of the particular platform that are not supported in the source release of perl) or negative (e.g. might be based upon a less
:current source release of perl).
:
:A useful FAQ for Win32 Perl users is http://www.endcontsw.com/people/evangelo/Perl_for_Win32_FAQ.html
When you look at the useful FAQ for Win32 Perl users, you will find a
section entitled '1. Availability and Installation'. In this section,
you will find the following information.
:1.5. How do I unzip the Perl for Win32 package?
:
:Because the Perl for Win32 package contains long file names (LFNs), normal zip file handlers like PKZip will not open them
:correctly. [Does the newest version of PKZip handle LFNs correctly? -ESP] You need to get a zip file opener that can work with
:LFNs, such as:
:
: WinZip, a shareware GUI unzipper, available at http://www.winzip.com/
: Info-Zip Unzip, a command-line free unzipper, available at ftp://ftp.uu.net/pub/archiving/zip/WIN32/
:
:To extract the archive, make a new directory on your hard drive that will become your new perl directory ("C:\Program
:Files\perl5" and "C:\perl5" are good candidates). Extract the archive to that directory, making sure that directory names are
:expanded from the archive (this is crucial!). See the documentation for your unzipper for details.
:
:1.6. How do I build Perl for Win32 from the source code package?
:
:The source code package includes make files for Visual C++ versions 2.x and 4.x. The following instructions are for Visual C++
:4.x. [Does anyone have instructions for VC++ 2.x? How about other Win32 C++ compilers? -ESP]
:
:The source distribution only includes Intel targets. If you're building for another platform, like DEC Alpha, you may have to fiddle
:with the build settings to get them to work. [Anyone done this? -ESP]
:
:First, make sure you unzipped the archive correctly into the destination directory. Then, open the perl100.mdp project file in the
:dll-src subdirectory of your perl directory with Microsoft Developers Studio.
:
:Build the "perl100 - Win32 Perl Intel DLL Release" target (Go have some lunch -- this will take a while). You'll end up with a
:perl100.dll file in your ntt subdirectory of your perl directory.
:
:Now, open the perl.mdp project file in the exe-src subdirectory of your perl directory. Build the "perl - Win32 Perl Intel Release"
:target. You also have to build the "perl - Win32 PerlGlob Intel Release" target. These will produce perl.exe and perlglob.exe,
:respectively, in your ntt directory.
:
:Optionally, you can build the extension files that come with the source distribution. These include:
:
: Fcntl: Fcntl.mak in the dll-src\Ext\Fcntl directory. See question 9.15.
: SDBM_File: sdbm_file.mdp in the dll-src\Ext\SDBM_File directory.
: Win32 extensions: Win32.mdp in the dll-src\Ext\Win32 directory. Consider doing a batch build of these, to save yourself
: some headaches.
: Win32::NetResource: NetResource.mak in the dll-src\Ext\Win32\NetResource\ directory. For some reason, this one isn't
: included with all the other Win32 modules. See also question 9.16.
:
:Note that the extensions look for perl100.lib in the dll-src\Release directory, which by default doesn't exist. You can either create
:the directory and copy the lib file there, or go through the build settings for the extensions and set them to point to the proper
:directory, dll-src\LibRel.
:
:Building the extensions will put the extension binaries (.pll files) in the proper place in the Lib subdirectory.
:
:1.7. OK, I've got it downloaded, unzipped, and optionally built. Now what?
:
:The last step is running install.bat, a perl program masquerading as a batch file found in your perl directory. Running install.bat will
:register the perl program and PerlIS with your system, as well as copy the binary files from the ntt subdirectory to the bin
:subdirectory.
:
:If you installed in a directory with long file names (like "C:\Program Files\perl5"), you may want to change directory to the DOS
:version of your directory (like "cd C:\PROGRA~1\perl5") before running install.bat. This ensures that you get only readable paths
:in your registry, and could avoid some annoying errors.
:
:1.8. What does installing do to my registry?
:
:Installing Perl for Win32 adds the following keys to your registry, if they don't already exist:
:
: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Resource Kit\PERL5: main registry key
: BIN: path to the perl binaries
: PRIVLIB: path to the library files
: HTML-DOCS: path to the HTML documentation
:
:The BIN and PRIVLIB values are probably used in the perl interpreter to find files for loading. The purpose of the HTML-DOCS
:value is unclear.
:
:Installing also adds your perl binary path to the PATH variable for your system, as well as "." (current directory), for historical
:reasons.
:
:Also, if you have Microsoft Internet Information Server (IIS) installed, install.bat will associate an extension of your choosing (.pl is
:the default) with PerlIS in the IIS script mapping registry key,
:HKEY_LOCAL_MACHINE\System\Services\W3SVC\Parameters\Script Map. See IIS documentation for more info on the
:script map.
Any more questions?
Faust Gertz
Philosopher at Large
========= WAS CANCELLED BY =======:
Rogue cancel from Michael Enlow, X-Cancelled-by etc. are forged.
Further information can be acquired at http://www.sputum.com/ucepage.htm
You can express your displeasure with Mr. Enlow by contacting him at:
enlow@direcpc.com
Control: cancel <344cfa17.17891653@news.wwa.com>
Newsgroups: comp.lang.perl.misc
Path: ...!news.rediris.es!news-ge.switch.ch!newscore.univie.ac.at!europa.clark.net!204.59.152.222!news-peer.gsl.net!news-tokyo.gip.net!news.gsl.net!gip.net!nspixp!newsfeed.btnis.ad.jp!newsfeed1.btnis.ad.jp!news.fsinet.or.jp!ubc.co.jp!nobody
From: godmom@pagesz.net
Subject: cmsg cancel <344cfa17.17891653@news.wwa.com>
Approved: godmom@pagesz.net
Message-ID: <cancel.344cfa17.17891653@news.wwa.com>
X-No-Archive: Yes
Sender: faust@wwa.com (Faust Gertz)
X-Cancelled-By: godmom@pagesz.net
Organization: UBC
Date: Tue, 21 Oct 1997 02:28:51 GMT
Lines: 2
This article cancelled within Tin.
------------------------------
Date: Tue, 21 Oct 1997 01:05:24 GMT
From: faust@wwa.com (Faust Gertz)
Subject: [Reposted due to Enlow UCE cancel]: Re: HELP! perl and windows!
Message-Id: <REPOST-24681.246765136719.344cfa17.17891653@news.wwa.com>
On Tue, 21 Oct 1997 01:47:41 +0100, "A.K" <nihonjin@cyberdude.com>
wrote:
>i'm new atthis tuff and I got perl5.004 but I don't know how to install
>it under windows NT4.0 or windows95 there's no reference for this in the
>book I bought (learning perl)
On page xx, under the section entitled 'Frequently Asked Questions',
which is under the section entitled 'Additional Resources', there are
pointers to the information you request. If you truly have the 5.004
release, then the FAQ is included with the standard distribution's
documentation. If you have a pre-5.004 release, then, as documented
in _Learning Perl_ you will have to look for the FAQ either in
comp.lang.perl.announce or on the Web at http://language.perl.com/faq/
Just as an aside, if you are working in a Win32 environment, why
didn't you buy _Learning Perl on Win32 Systems_ instead of just plan
old _Learning Perl_? According to the O'Reilly site:
:In this carefully paced course, leading Perl trainers and a Windows NT practitioner teach you to program in the language that
:promises to emerge as the scripting language of choice on NT. Based on the "llama" book, this book features tips for PC users and
:new, NT-specific examples, along with a foreword by Larry Wall, the creator of Perl, and Dick Hardt, the creator of Perl for
:Win32.
Sounds like a good book to me. Anyway, back to the task at hand. If
you look at the FAQ, you will find the following section.
:What machines support Perl? Where do I get it?
:
:The standard release of Perl (the one maintained by the perl development team) is distributed only in source code form. You can
:find this at http://www.perl.com/CPAN/src/latest.tar.gz, which is a gzipped archive in POSIX tar format. This source builds with
:no porting whatsoever on most Unix systems (Perl's native environment), as well as Plan 9, VMS, QNX, OS/2, and the Amiga.
:
:Although it's rumored that the (imminent) 5.004 release may build on Windows NT, this is yet to be proven. Binary distributions for
:32-bit Microsoft systems and for Apple systems can be found http://www.perl.com/CPAN/ports/ directory. Because these are not
:part of the standard distribution, they may and in fact do differ from the base Perl port in a variety of ways. You'll have to check
:their respective release notes to see just what the differences are. These differences can be either positive (e.g. extensions for the
:features of the particular platform that are not supported in the source release of perl) or negative (e.g. might be based upon a less
:current source release of perl).
:
:A useful FAQ for Win32 Perl users is http://www.endcontsw.com/people/evangelo/Perl_for_Win32_FAQ.html
When you look at the useful FAQ for Win32 Perl users, you will find a
section entitled '1. Availability and Installation'. In this section,
you will find the following information.
:1.5. How do I unzip the Perl for Win32 package?
:
:Because the Perl for Win32 package contains long file names (LFNs), normal zip file handlers like PKZip will not open them
:correctly. [Does the newest version of PKZip handle LFNs correctly? -ESP] You need to get a zip file opener that can work with
:LFNs, such as:
:
: WinZip, a shareware GUI unzipper, available at http://www.winzip.com/
: Info-Zip Unzip, a command-line free unzipper, available at ftp://ftp.uu.net/pub/archiving/zip/WIN32/
:
:To extract the archive, make a new directory on your hard drive that will become your new perl directory ("C:\Program
:Files\perl5" and "C:\perl5" are good candidates). Extract the archive to that directory, making sure that directory names are
:expanded from the archive (this is crucial!). See the documentation for your unzipper for details.
:
:1.6. How do I build Perl for Win32 from the source code package?
:
:The source code package includes make files for Visual C++ versions 2.x and 4.x. The following instructions are for Visual C++
:4.x. [Does anyone have instructions for VC++ 2.x? How about other Win32 C++ compilers? -ESP]
:
:The source distribution only includes Intel targets. If you're building for another platform, like DEC Alpha, you may have to fiddle
:with the build settings to get them to work. [Anyone done this? -ESP]
:
:First, make sure you unzipped the archive correctly into the destination directory. Then, open the perl100.mdp project file in the
:dll-src subdirectory of your perl directory with Microsoft Developers Studio.
:
:Build the "perl100 - Win32 Perl Intel DLL Release" target (Go have some lunch -- this will take a while). You'll end up with a
:perl100.dll file in your ntt subdirectory of your perl directory.
:
:Now, open the perl.mdp project file in the exe-src subdirectory of your perl directory. Build the "perl - Win32 Perl Intel Release"
:target. You also have to build the "perl - Win32 PerlGlob Intel Release" target. These will produce perl.exe and perlglob.exe,
:respectively, in your ntt directory.
:
:Optionally, you can build the extension files that come with the source distribution. These include:
:
: Fcntl: Fcntl.mak in the dll-src\Ext\Fcntl directory. See question 9.15.
: SDBM_File: sdbm_file.mdp in the dll-src\Ext\SDBM_File directory.
: Win32 extensions: Win32.mdp in the dll-src\Ext\Win32 directory. Consider doing a batch build of these, to save yourself
: some headaches.
: Win32::NetResource: NetResource.mak in the dll-src\Ext\Win32\NetResource\ directory. For some reason, this one isn't
: included with all the other Win32 modules. See also question 9.16.
:
:Note that the extensions look for perl100.lib in the dll-src\Release directory, which by default doesn't exist. You can either create
:the directory and copy the lib file there, or go through the build settings for the extensions and set them to point to the proper
:directory, dll-src\LibRel.
:
:Building the extensions will put the extension binaries (.pll files) in the proper place in the Lib subdirectory.
:
:1.7. OK, I've got it downloaded, unzipped, and optionally built. Now what?
:
:The last step is running install.bat, a perl program masquerading as a batch file found in your perl directory. Running install.bat will
:register the perl program and PerlIS with your system, as well as copy the binary files from the ntt subdirectory to the bin
:subdirectory.
:
:If you installed in a directory with long file names (like "C:\Program Files\perl5"), you may want to change directory to the DOS
:version of your directory (like "cd C:\PROGRA~1\perl5") before running install.bat. This ensures that you get only readable paths
:in your registry, and could avoid some annoying errors.
:
:1.8. What does installing do to my registry?
:
:Installing Perl for Win32 adds the following keys to your registry, if they don't already exist:
:
: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Resource Kit\PERL5: main registry key
: BIN: path to the perl binaries
: PRIVLIB: path to the library files
: HTML-DOCS: path to the HTML documentation
:
:The BIN and PRIVLIB values are probably used in the perl interpreter to find files for loading. The purpose of the HTML-DOCS
:value is unclear.
:
:Installing also adds your perl binary path to the PATH variable for your system, as well as "." (current directory), for historical
:reasons.
:
:Also, if you have Microsoft Internet Information Server (IIS) installed, install.bat will associate an extension of your choosing (.pl is
:the default) with PerlIS in the IIS script mapping registry key,
:HKEY_LOCAL_MACHINE\System\Services\W3SVC\Parameters\Script Map. See IIS documentation for more info on the
:script map.
Any more questions?
Faust Gertz
Philosopher at Large
========= WAS CANCELLED BY =======:
Rogue cancel from Michael Enlow, X-Cancelled-by etc. are forged.
Further information can be acquired at http://www.sputum.com/ucepage.htm
You can express your displeasure with Mr. Enlow by contacting him at:
enlow@direcpc.com
Control: cancel <344cfa17.17891653@news.wwa.com>
Newsgroups: comp.lang.perl.misc
Path: ...!news.rediris.es!news-ge.switch.ch!newscore.univie.ac.at!europa.clark.net!204.59.152.222!news-peer.gsl.net!news-tokyo.gip.net!news.gsl.net!gip.net!nspixp!newsfeed.btnis.ad.jp!newsfeed1.btnis.ad.jp!news.fsinet.or.jp!ubc.co.jp!nobody
From: godmom@pagesz.net
Subject: cmsg cancel <344cfa17.17891653@news.wwa.com>
Approved: godmom@pagesz.net
Message-ID: <cancel.344cfa17.17891653@news.wwa.com>
X-No-Archive: Yes
Sender: faust@wwa.com (Faust Gertz)
X-Cancelled-By: godmom@pagesz.net
Organization: UBC
Date: Tue, 21 Oct 1997 02:28:51 GMT
Lines: 2
This article cancelled within Tin.
------------------------------
Date: Mon, 20 Oct 1997 20:11:07 -0400
From: "Jay T. Millar" <jmillar@eaglequest.com>
Subject: [Reposted due to Enlow UCE cancel]: Re: Help: sybperl 2.08 with RedHat 4.2
Message-Id: <REPOST-27275.167602539062.344BF31B.29227@eaglequest.com>
Jeffrey Yu wrote:
>
> I tried to compile the sybperl 2.08 CTlib in RedHat 4.2, I got
> a lot of "undefined reference to ' ' " errors. I have tried almost
> everything I can think of, but nothing seems to work so far.
> If anyone knows the answer to solve the problem, please
> share it with us, I believe over time there will be more and
> more people look into this tool. And an effective solution
> can save a lot of time. Thanks in advance.
>
> --Jeff
Hi Jeff,
Just went through the exact same hassle. Basically there are two things
that you need to do:
1. Compile the sybperl module as a *static* module so that a whole new
perl binary is created. Creating a dynamically loadable sybperl module
under Linux with ctlib will not work (from what I know). This
compilation method is controlled by the last variable defined in the
CONFIG file for sybperl (LINKTYPE=STATIC)
2. In the directory where you have the ctlib libraries installed (mine
are in /opt/sybase/lib), make a copy of the libsybtcl.a library and name
it libtcl.a
Once this is configured, compile sybperl and you'll get a new perl
binary with the appropriate ctlib libraries statically linked. Works
like a champ. Very, very cool.
I owe the sybperl mailing list for this information.
Jay Millar
jmillar@eaglequest.com
========= WAS CANCELLED BY =======:
Rogue cancel from Michael Enlow, X-Cancelled-by etc. are forged.
Further information can be acquired at http://www.sputum.com/ucepage.htm
You can express your displeasure with Mr. Enlow by contacting him at:
enlow@direcpc.com
Control: cancel <344BF31B.29227@eaglequest.com>
Newsgroups: comp.lang.perl.misc
Path: ...!news.rediris.es!news-ge.switch.ch!newscore.univie.ac.at!europa.clark.net!204.59.152.222!news-peer.gsl.net!news-tokyo.gip.net!news.gsl.net!gip.net!nspixp!newsfeed.btnis.ad.jp!newsfeed1.btnis.ad.jp!news.fsinet.or.jp!ubc.co.jp!nobody
From: godmom@pagesz.net
Subject: cmsg cancel <344BF31B.29227@eaglequest.com>
Approved: godmom@pagesz.net
Message-ID: <cancel.344BF31B.29227@eaglequest.com>
X-No-Archive: Yes
Sender: "Jay T. Millar" <jmillar@eaglequest.com>
X-Cancelled-By: godmom@pagesz.net
Organization: UBC
Date: Tue, 21 Oct 1997 02:29:41 GMT
Lines: 2
This article cancelled within Tin.
------------------------------
Date: Mon, 20 Oct 1997 20:11:07 -0400
From: "Jay T. Millar" <jmillar@eaglequest.com>
Subject: [Reposted due to Enlow UCE cancel]: Re: Help: sybperl 2.08 with RedHat 4.2
Message-Id: <REPOST-6041.8156127929688.344BF31B.29227@eaglequest.com>
Jeffrey Yu wrote:
>
> I tried to compile the sybperl 2.08 CTlib in RedHat 4.2, I got
> a lot of "undefined reference to ' ' " errors. I have tried almost
> everything I can think of, but nothing seems to work so far.
> If anyone knows the answer to solve the problem, please
> share it with us, I believe over time there will be more and
> more people look into this tool. And an effective solution
> can save a lot of time. Thanks in advance.
>
> --Jeff
Hi Jeff,
Just went through the exact same hassle. Basically there are two things
that you need to do:
1. Compile the sybperl module as a *static* module so that a whole new
perl binary is created. Creating a dynamically loadable sybperl module
under Linux with ctlib will not work (from what I know). This
compilation method is controlled by the last variable defined in the
CONFIG file for sybperl (LINKTYPE=STATIC)
2. In the directory where you have the ctlib libraries installed (mine
are in /opt/sybase/lib), make a copy of the libsybtcl.a library and name
it libtcl.a
Once this is configured, compile sybperl and you'll get a new perl
binary with the appropriate ctlib libraries statically linked. Works
like a champ. Very, very cool.
I owe the sybperl mailing list for this information.
Jay Millar
jmillar@eaglequest.com
========= WAS CANCELLED BY =======:
Rogue cancel from Michael Enlow, X-Cancelled-by etc. are forged.
Further information can be acquired at http://www.sputum.com/ucepage.htm
You can express your displeasure with Mr. Enlow by contacting him at:
enlow@direcpc.com
Control: cancel <344BF31B.29227@eaglequest.com>
Newsgroups: comp.lang.perl.misc
Path: ...!news.rediris.es!news-ge.switch.ch!newscore.univie.ac.at!europa.clark.net!204.59.152.222!news-peer.gsl.net!news-tokyo.gip.net!news.gsl.net!gip.net!nspixp!newsfeed.btnis.ad.jp!newsfeed1.btnis.ad.jp!news.fsinet.or.jp!ubc.co.jp!nobody
From: godmom@pagesz.net
Subject: cmsg cancel <344BF31B.29227@eaglequest.com>
Approved: godmom@pagesz.net
Message-ID: <cancel.344BF31B.29227@eaglequest.com>
X-No-Archive: Yes
Sender: "Jay T. Millar" <jmillar@eaglequest.com>
X-Cancelled-By: godmom@pagesz.net
Organization: UBC
Date: Tue, 21 Oct 1997 02:29:41 GMT
Lines: 2
This article cancelled within Tin.
------------------------------
Date: Mon, 20 Oct 1997 21:06:42 GMT
From: faust@wwa.com (Faust Gertz)
Subject: [Reposted due to Enlow UCE cancel]: Re: How do I collect email address using perl?
Message-Id: <REPOST-9898.6979064941406.344bc550.4543835@news.wwa.com>
On 18 Oct 1997 15:40:06 GMT, 56160@udel.edu (guess) wrote:
>This is for a school project.
>Your help is greatly appreciated.
Today, more than most days, 'September' abounds.
Instead of yelling at you or giving you a worthless script, I'll give
you an e-mail address for your collection. Ask Clifton Sharp
<clifto@megsinet.net> about the method of e-mail address collecting he
uses for his signature, which often reads something like:
: --
: +---------------------------------------------------------------------------+
: | Cliff Sharp | email@address.dom is an address I saw today. |
: | WA9PDM | |
: +---------------------------------------------------------------------------+
Streben nach Wahrheit
Faust Gertz
Philosopher at Large
"Even the gods, for all they are called wise, are no more to be
trusted than fleeting dreams. Among the gods, no less than mortal
men, confusion reigns." -- Orestes, _Iphigenia in Taurus_
========= WAS CANCELLED BY =======:
Rogue cancel from Michael Enlow, X-Cancelled-by etc. are forged.
Further information can be acquired at http://www.sputum.com/ucepage.htm
You can express your displeasure with Mr. Enlow by contacting him at:
enlow@direcpc.com
Control: cancel <344bc550.4543835@news.wwa.com>
Newsgroups: comp.lang.perl.misc
Path: ...!news.rediris.es!news-ge.switch.ch!newscore.univie.ac.at!europa.clark.net!204.59.152.222!news-peer.gsl.net!news-tokyo.gip.net!news.gsl.net!gip.net!nspixp!newsfeed.btnis.ad.jp!newsfeed1.btnis.ad.jp!news.fsinet.or.jp!ubc.co.jp!nobody
From: godmom@pagesz.net
Subject: cmsg cancel <344bc550.4543835@news.wwa.com>
Approved: godmom@pagesz.net
Message-ID: <cancel.344bc550.4543835@news.wwa.com>
X-No-Archive: Yes
Sender: faust@wwa.com (Faust Gertz)
X-Cancelled-By: godmom@pagesz.net
Organization: UBC
Date: Tue, 21 Oct 1997 00:24:39 GMT
Lines: 2
This article cancelled within Tin.
------------------------------
Date: Mon, 20 Oct 1997 11:43:43 +0200
From: Doug Seay <seay@absyss.fr>
To: guess <56160@udel.edu>
Subject: [Reposted due to Enlow UCE cancel]: Re: How do I collect email address using perl?
Message-Id: <REPOST-1170.9642639160156.344B27CF.227A6918@absyss.fr>
[posted and mailed]
guess wrote:
>
> This is for a school project.
> Your help is greatly appreciated.
First of all, it is bad form to ask others to do your homework. What
will happen if your professor happens to read this group? Are there
academic integrity rules that say that this is a no-no?
That asside, you don't give us enough information. Where will you be
getting them from? Not from culling usenet postings, I hope. From
email it is kinda simple, you can just look at the From:, To:, CC:, and
similar lines.
Email addresses are much more complicated than most people think. TomC
once wrote a little routine for validating email addresses that works
fairly often, but nothing always works. Randal has said that the only
valid way is to mail it and if you get an error (directly or via email)
then it was invalid. Otherwise you don't know. Not too reassuring.
- doug
<joke>
The easist way would be to buy the list that Sanford Wallace is
selling. It should have millions of addresses, every one of which is
valid and whose owner likes getting email.
</joke>
Don't worry if you don't understand the joke, it's more sick than funny.
========= WAS CANCELLED BY =======:
Rogue cancel from Michael Enlow, X-Cancelled-by etc. are forged.
Further information can be acquired at http://www.sputum.com/ucepage.htm
You can express your displeasure with Mr. Enlow by contacting him at:
enlow@direcpc.com
Control: cancel <344B27CF.227A6918@absyss.fr>
Newsgroups: comp.lang.perl.misc
Path: ...!news.rediris.es!news-ge.switch.ch!newscore.univie.ac.at!europa.clark.net!204.59.152.222!news-peer.gsl.net!news-tokyo.gip.net!news.gsl.net!gip.net!nspixp!newsfeed.btnis.ad.jp!newsfeed1.btnis.ad.jp!news.fsinet.or.jp!ubc.co.jp!nobody
From: godmom@pagesz.net
Subject: cmsg cancel <344B27CF.227A6918@absyss.fr>
Approved: godmom@pagesz.net
Message-ID: <cancel.344B27CF.227A6918@absyss.fr>
X-No-Archive: Yes
Sender: Doug Seay <seay@absyss.fr>
X-Cancelled-By: godmom@pagesz.net
Organization: UBC
Date: Tue, 21 Oct 1997 00:44:45 GMT
Lines: 2
This article cancelled within Tin.
------------------------------
Date: 20 Oct 1997 19:40:11 GMT
From: Eli the Bearded <usenet-tag@qz.little-neck.ny.us>
Subject: [Reposted due to Enlow UCE cancel]: Re: How do I collect email address using perl?
Message-Id: <REPOST-29751.092041015625.eli$9710201501@qz.little-neck.ny.us>
In article <62al8m$7pv@news.jhu.edu>, guess <56160@udel.edu> wrote:
> This is for a school project.
> Your help is greatly appreciated.
Well, I seem to recall a 128 byte limit from one of the RFCs, this
makes it doable, if tricky.
Something like
foreach ( ord(" ")..ord("~") ) { push @print,chr($_) }
for ( $i = 1; $i < 126; $i++ ) {
$address = "";
for ( $j = 0; $j < $i; $j++ ) { # Build local part
foreach $char ( @print ) {
$address .= $char;
}
}
$address .= '@';
for ( $j = 0; $j < $i; $j++ ) { # Build host part
foreach $char ( @print ) {
$address .= $char;
}
}
print "Address: $address\n";
}
Except that you need to take some special effort to escape the special
characters in the local part, and the host part should probably be
limited to valid hostnames rather than valid host part strings.
You should begin by reading the BNF for generating addresses in RFC 822.
Elijah
------
HTH. HAND.
========= WAS CANCELLED BY =======:
Rogue cancel from Michael Enlow, X-Cancelled-by etc. are forged.
Further information can be acquired at http://www.sputum.com/ucepage.htm
You can express your displeasure with Mr. Enlow by contacting him at:
enlow@direcpc.com
Control: cancel <eli$9710201501@qz.little-neck.ny.us>
Newsgroups: comp.lang.perl.misc
Path: ...!news.tamu.edu!newshost.comco.com!news.altair.com!thetimes.pixel.kodak.com!news.kodak.com!bloom-beacon.mit.edu!howland.erols.net!news-peer.gsl.net!news-tokyo.gip.net!news.gsl.net!gip.net!nspixp!newsfeed.btnis.ad.jp!newsfeed1.btnis.ad.jp!news.fsinet.or.jp!ubc.co.jp!nobody
From: godmom@pagesz.net
Subject: cmsg cancel <eli$9710201501@qz.little-neck.ny.us>
Approved: godmom@pagesz.net
Message-ID: <cancel.eli$9710201501@qz.little-neck.ny.us>
X-No-Archive: Yes
Sender: Eli the Bearded <usenet-tag@qz.little-neck.ny.us>
X-Cancelled-By: godmom@pagesz.net
Organization: UBC
Date: Tue, 21 Oct 1997 00:26:46 GMT
Lines: 2
This article cancelled within Tin.
------------------------------
Date: Mon, 20 Oct 1997 21:06:42 GMT
From: faust@wwa.com (Faust Gertz)
Subject: [Reposted due to Enlow UCE cancel]: Re: How do I collect email address using perl?
Message-Id: <REPOST-19560.403045654297.344bc550.4543835@news.wwa.com>
On 18 Oct 1997 15:40:06 GMT, 56160@udel.edu (guess) wrote:
>This is for a school project.
>Your help is greatly appreciated.
Today, more than most days, 'September' abounds.
Instead of yelling at you or giving you a worthless script, I'll give
you an e-mail address for your collection. Ask Clifton Sharp
<clifto@megsinet.net> about the method of e-mail address collecting he
uses for his signature, which often reads something like:
: --
: +---------------------------------------------------------------------------+
: | Cliff Sharp | email@address.dom is an address I saw today. |
: | WA9PDM | |
: +---------------------------------------------------------------------------+
Streben nach Wahrheit
Faust Gertz
Philosopher at Large
"Even the gods, for all they are called wise, are no more to be
trusted than fleeting dreams. Among the gods, no less than mortal
men, confusion reigns." -- Orestes, _Iphigenia in Taurus_
========= WAS CANCELLED BY =======:
Rogue cancel from Michael Enlow, X-Cancelled-by etc. are forged.
Further information can be acquired at http://www.sputum.com/ucepage.htm
You can express your displeasure with Mr. Enlow by contacting him at:
enlow@direcpc.com
Control: cancel <344bc550.4543835@news.wwa.com>
Newsgroups: comp.lang.perl.misc
Path: ...!news.rediris.es!news-ge.switch.ch!newscore.univie.ac.at!europa.clark.net!204.59.152.222!news-peer.gsl.net!news-tokyo.gip.net!news.gsl.net!gip.net!nspixp!newsfeed.btnis.ad.jp!newsfeed1.btnis.ad.jp!news.fsinet.or.jp!ubc.co.jp!nobody
From: godmom@pagesz.net
Subject: cmsg cancel <344bc550.4543835@news.wwa.com>
Approved: godmom@pagesz.net
Message-ID: <cancel.344bc550.4543835@news.wwa.com>
X-No-Archive: Yes
Sender: faust@wwa.com (Faust Gertz)
X-Cancelled-By: godmom@pagesz.net
Organization: UBC
Date: Tue, 21 Oct 1997 00:24:39 GMT
Lines: 2
This article cancelled within Tin.
------------------------------
Date: Mon, 20 Oct 1997 11:43:43 +0200
From: Doug Seay <seay@absyss.fr>
To: guess <56160@udel.edu>
Subject: [Reposted due to Enlow UCE cancel]: Re: How do I collect email address using perl?
Message-Id: <REPOST-8096.7528991699219.344B27CF.227A6918@absyss.fr>
[posted and mailed]
guess wrote:
>
> This is for a school project.
> Your help is greatly appreciated.
First of all, it is bad form to ask others to do your homework. What
will happen if your professor happens to read this group? Are there
academic integrity rules that say that this is a no-no?
That asside, you don't give us enough information. Where will you be
getting them from? Not from culling usenet postings, I hope. From
email it is kinda simple, you can just look at the From:, To:, CC:, and
similar lines.
Email addresses are much more complicated than most people think. TomC
once wrote a little routine for validating email addresses that works
fairly often, but nothing always works. Randal has said that the only
valid way is to mail it and if you get an error (directly or via email)
then it was invalid. Otherwise you don't know. Not too reassuring.
- doug
<joke>
The easist way would be to buy the list that Sanford Wallace is
selling. It should have millions of addresses, every one of which is
valid and whose owner likes getting email.
</joke>
Don't worry if you don't understand the joke, it's more sick than funny.
========= WAS CANCELLED BY =======:
Rogue cancel from Michael Enlow, X-Cancelled-by etc. are forged.
Further information can be acquired at http://www.sputum.com/ucepage.htm
You can express your displeasure with Mr. Enlow by contacting him at:
enlow@direcpc.com
Control: cancel <344B27CF.227A6918@absyss.fr>
Newsgroups: comp.lang.perl.misc
Path: ...!news.rediris.es!news-ge.switch.ch!newscore.univie.ac.at!europa.clark.net!204.59.152.222!news-peer.gsl.net!news-tokyo.gip.net!news.gsl.net!gip.net!nspixp!newsfeed.btnis.ad.jp!newsfeed1.btnis.ad.jp!news.fsinet.or.jp!ubc.co.jp!nobody
From: godmom@pagesz.net
Subject: cmsg cancel <344B27CF.227A6918@absyss.fr>
Approved: godmom@pagesz.net
Message-ID: <cancel.344B27CF.227A6918@absyss.fr>
X-No-Archive: Yes
Sender: Doug Seay <seay@absyss.fr>
X-Cancelled-By: godmom@pagesz.net
Organization: UBC
Date: Tue, 21 Oct 1997 00:44:45 GMT
Lines: 2
This article cancelled within Tin.
------------------------------
Date: 20 Oct 1997 19:40:11 GMT
From: Eli the Bearded <usenet-tag@qz.little-neck.ny.us>
Subject: [Reposted due to Enlow UCE cancel]: Re: How do I collect email address using perl?
Message-Id: <REPOST-17060.479339599609.eli$9710201501@qz.little-neck.ny.us>
In article <62al8m$7pv@news.jhu.edu>, guess <56160@udel.edu> wrote:
> This is for a school project.
> Your help is greatly appreciated.
Well, I seem to recall a 128 byte limit from one of the RFCs, this
makes it doable, if tricky.
Something like
foreach ( ord(" ")..ord("~") ) { push @print,chr($_) }
for ( $i = 1; $i < 126; $i++ ) {
$address = "";
for ( $j = 0; $j < $i; $j++ ) { # Build local part
foreach $char ( @print ) {
$address .= $char;
}
}
$address .= '@';
for ( $j = 0; $j < $i; $j++ ) { # Build host part
foreach $char ( @print ) {
$address .= $char;
}
}
print "Address: $address\n";
}
Except that you need to take some special effort to escape the special
characters in the local part, and the host part should probably be
limited to valid hostnames rather than valid host part strings.
You should begin by reading the BNF for generating addresses in RFC 822.
Elijah
------
HTH. HAND.
========= WAS CANCELLED BY =======:
Rogue cancel from Michael Enlow, X-Cancelled-by etc. are forged.
Further information can be acquired at http://www.sputum.com/ucepage.htm
You can express your displeasure with Mr. Enlow by contacting him at:
enlow@direcpc.com
Control: cancel <eli$9710201501@qz.little-neck.ny.us>
Newsgroups: comp.lang.perl.misc
Path: ...!news.tamu.edu!newshost.comco.com!news.altair.com!thetimes.pixel.kodak.com!news.kodak.com!bloom-beacon.mit.edu!howland.erols.net!news-peer.gsl.net!news-tokyo.gip.net!news.gsl.net!gip.net!nspixp!newsfeed.btnis.ad.jp!newsfeed1.btnis.ad.jp!news.fsinet.or.jp!ubc.co.jp!nobody
From: godmom@pagesz.net
Subject: cmsg cancel <eli$9710201501@qz.little-neck.ny.us>
Approved: godmom@pagesz.net
Message-ID: <cancel.eli$9710201501@qz.little-neck.ny.us>
X-No-Archive: Yes
Sender: Eli the Bearded <usenet-tag@qz.little-neck.ny.us>
X-Cancelled-By: godmom@pagesz.net
Organization: UBC
Date: Tue, 21 Oct 1997 00:26:46 GMT
Lines: 2
This article cancelled within Tin.
------------------------------
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 1207
**************************************