[6502] in Perl-Users-Digest

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

Perl-Users Digest, Issue: 127 Volume: 8

daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Sun Mar 16 15:07:09 1997

Date: Sun, 16 Mar 97 12:00:27 -0800
From: Perl-Users Digest <Perl-Users-Request@ruby.OCE.ORST.EDU>
To: Perl-Users@ruby.OCE.ORST.EDU (Perl-Users Digest)

Perl-Users Digest           Sun, 16 Mar 1997     Volume: 8 Number: 127

Today's topics:
     ACCEPT MAJOR CREDIT CARDS !!!!!! takecards@answerme.com
     Re: File path separators (John Kodis)
     help splitting a file <keng@wco.com>
     Help w/Perl5 & Cross Platfomr Perl <smr@servtech.com>
     Re: Help w/Perl5 & Cross Platfomr Perl (Nathan V. Patwardhan)
     Help with process watching deamon (Travis XE Dawson)
     Re: HELP: delete and chmod file with perl (Tad McClellan)
     Re: Help: Regular Expression <ajohnson@gpu.srv.ualberta.ca>
     Re: How to strip newlines from string (Jeffrey)
     Re: No such thing as "soft reference" <roderick@argon.org>
     Re: perl 5 on NT4 install help needed (badly) <techranger@geocities.com>
     Perl frontend for MS Access <mpeaslee@best.com>
     Re: perl religion (was: Re: Which one is the best (patt (Tad McClellan)
     Re: Reg. expression question <merlyn@stonehenge.com>
     String format (Claes Gustafsson)
     Re: String format (Tad McClellan)
     system calls <ceetm@cee.hw.ac.uk>
     Re: system calls <tchrist@mox.perl.com>
     Re: system calls (Tim Gim Yee)
     Re: term 'regular expressions' considered undesirable (John Kodis)
     The difference between GET and POST methods w/Perl <keiper@science.duq.edu>
     Re: Unix and ease of use  (WAS: Who makes more ...) (Bill Dugan)
     Re: What is the best Perl book? (Michael Fuhr)
     Re: Who makes more $$ - Windows vs. Unix programmers? (taka)
     Re: year 2000 question (Jason C Austin)
     Digest Administrivia (Last modified: 8 Mar 97) (Perl-Users-Digest Admin)

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

Date: Sat, 15 Mar 1997 20:05:12
From: takecards@answerme.com
Subject: ACCEPT MAJOR CREDIT CARDS !!!!!!
Message-Id: <5gfjnt$2b2@news.shscomputer.com>

ACCEPT MAJOR CREDIT CARDS       WE APPROVE !!!!!
****************************************       **********************
Visa, Master card, American Express, Discover Card

        Merchant Bankcard Systems, a proven leader in our industry, can
provide your business the ability to accept credit cards from customers.  
Accepting credit cards is a must in today's marketplace. Your sales will
increase as customers know your business welcome's there card. Don't
lose another sale, because you don't take credit cards.

         Our rates are among the lowest in our industry, starting at 1.55% !
Over 97% of our clients ARE APPROVED!   We can approve almost any
type of business. We are approving businesses just like yours everyday!

WE APPROVE:
                         * RETAIL BUSINESS        * MAIL-ORDER
                         * SERVICE BUSINESS     * PHONE-ORDER
                         * PROFESSIONAL            * HOME-BASED 
                         * RESTAURANTS              * ON-LINE BUSINESS  
WE OFFER:
         * ZERO-DOWN START UP !!!!          * FREE- FED-EX SHIPPING
         * APPROVALS IN 48 HOURS          * FREE -TEC-SUPPORT 
         * PC SOFTWARE AVAILABLE        * FREE - PERSONAL PAGER  
         * MAC SOFTWARE AVAILABLE     * NO HYPE / NO HASSLES 
            
                     ******APPROVALS WITHIN 48 HOURS******  

                                   http://www.takecards.com
                                   ******  WE APPROVE ******

                                       VISIT US US NOW !!!!!!!! 












































 Send me Email here</a>">E-MAIL US NOW !!!!!!!! 









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

Date: 14 Mar 1997 02:53:37 GMT
From: kodis@kodis.jagunet.com (John Kodis)
Subject: Re: File path separators
Message-Id: <slrn5ihfdi.kag.kodis@kodis.jagunet.com>

Previously, Johannes Baagoe wrote:

>But that mistake makes me wonder whether there are any clear rules for
>directory paths - do they or don't they end with a separator? on
>Unix-like systems? MS-DOS? MacOs? VMS? OS2? etc.
>
>Further: Is there a standard, portable way to concatenate a directory
>path and a filename to get a full path? We need this whenever we want to
>open a file we found with a readdir whithout chdir-ing, and while most
>sources I have seen simply say someting like $path = "$dir/$file", this
>is 1. Unix-dependent, 2. wrong if $dir already contains a trailing
>slash.

Well, yes and no.  

Although the ``/dir1/dir2/dirn/file'' construct is native to Unix,
filenames formed in this fashion will work in a surprisingly large
number of situations.  In addition to Unix, this style of path name is
accepted by msdos and OS/2 file system primitives.  Under VMS the file
naming conventions are quite different, but Unix style names will
still frequently work by virtue of being mapped from Unix-style to
VMS-style and back by the open() and related routines in the C
run-time library.

Also, under Unix, the slash is idempotent, so while dir/file would be
the conventional reference this would refer to the same file as
dir//file or even dir///////////////////////////////file.  Limiting
this to a single slash is neater, but the alternatives aren't wrong,
just messy.

-- John Kodis.


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

Date: 16 Mar 1997 18:00:59 GMT
From: Ken Gaugler <keng@wco.com>
Subject: help splitting a file
Message-Id: <5ghcgr$5pa$1@news.wco.com>

Hello.

I have a large (> 1MByte) text file which I would like to
write out to separate files, one file per page.  The file
is a book in text form, consisting of paragraphs of text,
with each page having a page number at the bottom, and
white space before the next page, like this:

 ...texttexttexttexttexttexttexttexttexttexttexttext
texttexttexttexttexttexttexttexttexttext. texttexttext
texttexttexttext.  texttexttexttexttexttexttexttext

                        3


texttexttexttexttext. texttexttexttexttexttexttexttext
texttexttexttexttexttexttexttexttexttexttexttext...

and so on.

Is there a smooth way in Perl to write the contents of
each page to a separate file, with the filename auto-
magically generated, filenames like p1, p2 ... p245?

I am grateful for any hints or suggested readings
anyone can provide.

Please reply to keng@wco.com.

Thanks!




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

Date: Sun, 16 Mar 1997 10:01:35 -0500
From: Steve Rogers <smr@servtech.com>
Subject: Help w/Perl5 & Cross Platfomr Perl
Message-Id: <332C0B4F.305A@servtech.com>

I just got a book "Cross Platform Perl" which says
it covers Perl5.  I have Windows95.  It came with a 
CD and the book says the CD contains the binary version of 
Perl for Windows 95 and NT.

I tried to install.  

First problem.  It said to unzip the zip file in the
CD into a directory called \perl, so I did.

In the \perl directory that got created there was 
a \perl5 directory with branches from there.  I assumed
some documentation was wrong, so I deleted the directory
and unzipped into the root, which made a \perl5 directory
tree.

Then it says to run install.bat.  When I do, It gets partway
through the install.bat script and then complains that it can't
find install.bat.  I've tried everyting.

1.  Can anyone suggest how I could get Perl5 for Win32 on my
Win 95 system from this CD?

2.  Can anyone suggest how I could get Perl5 for Windows 95
from the web?

I want to start learning Perl.


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

Date: 16 Mar 1997 15:36:47 GMT
From: nvp@shore.net (Nathan V. Patwardhan)
Subject: Re: Help w/Perl5 & Cross Platfomr Perl
Message-Id: <5gh42f$6ih@fridge-nf0.shore.net>

Steve Rogers (smr@servtech.com) wrote:

: Then it says to run install.bat.  When I do, It gets partway
: through the install.bat script and then complains that it can't
: find install.bat.  I've tried everyting.

I'll venture a guess that this book was printed before NT Perl 5.003_07,
and NT Perl 5.001m PL 110 were released.  I had the same problem for NT Perl
5.001m PL 107, and I had to hack the install.bat script (rarely a good thing).

Since you're learning, I wouldn't suggest hacking the install.bat file, but
trying the following one of the following options:

(1) Get NT Perl 5.003_07 from http://www.activeware.com => it's called
    something like: Pw32i03.exe (DON'T GET PerlScript.  GET Perl).
(2) OR Get NT Perl 5.001m PL110 from the same site as #1.  PL110 lacks some
    of the functionality I suspect that you will see in your book, like
    sockets.

--
Nathan V. Patwardhan
nvp@shore.net



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

Date: Sun, 16 Mar 1997 01:04:08 -0500
From: tdawson@pcrealm.net (Travis XE Dawson)
Subject: Help with process watching deamon
Message-Id: <tdawson-1603970104080001@128.226.67.87>

I am writing a prggy that watches all process' running and kills those
that it finds questionable or that are just not allowed or taking up too
much CPU or MEMORY. So right now I am using:

chomp (@psout  = `ps -ax -o "ruser pid %mem %cpu command"`);
and it works fine but is there a module out there that has ps built in so
I dont have to have my script run ps every 5 min. and maybe save a little
cpu??

-please mesage me directly
-tdawson@pcrealm.net


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

Date: Sun, 16 Mar 1997 08:07:06 -0600
From: tadmc@flash.net (Tad McClellan)
Subject: Re: HELP: delete and chmod file with perl
Message-Id: <aqugg5.8i.ln@localhost>

george (jalbertl@ere.umontreal.ca) wrote:
: I need some help...

: How I should do to make my perl script to delete a file (like the rm 
: command) 

unlink()


: and how I could make my script to chmod a file.

chmod()


--
    Tad McClellan                          SGML Consulting
    Tag And Document Consulting            Perl programming
    tadmc@flash.net


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

Date: Sun, 16 Mar 1997 03:22:57 -0600
From: Andrew Johnson <ajohnson@gpu.srv.ualberta.ca>
Subject: Re: Help: Regular Expression
Message-Id: <332BBBF1.6DE0D1B9@gpu.srv.ualberta.ca>

Jeffrey wrote:
[snip]
 
! Something like the following should work (although untested -- I'm
! typing directly into my newsreader):
! 
!      open(MAILLIST, maillist);
!      $/ = ""; ## input in paragraph mode
!      my($name, $email);
!      while (<MAILLIST>)
!      {
!         if (($name) = /^Name:\s+(.*)/
!             and
!             ($email) = /^Email:\s+(.*)/)
!         {
!              print "$name|$email\n";
!         }
!      }
!         

this would also require the /m modifier on the second regex,
would it not?
($email) = /^Email:\s+(.*)/m)

regards,
andrew


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

Date: 14 Mar 1997 20:46:21 GMT
From: jfriedl@tubby.nff.ncl.omron.co.jp (Jeffrey)
To: tchrist@mox.perl.com (Tom Christiansen)
Subject: Re: How to strip newlines from string
Message-Id: <JFRIEDL.97Mar15054621@tubby.nff.ncl.omron.co.jp>


[mail and post]

Tom Christiansen <tchrist@mox.perl.com> wrote:
|> I don't know the rest of the cases.  But it's a C library thing.
|> I would suggest using s/[\n\r]/ /g instead, although with my luck
|> this will break on Macs.

Should be fine on Macs, but not on Dos/Windoze where both are usually used.

If you know you have only the one ``newline'' at the end, you could use
  s/[\n\r]+/ /g

but if there are multiple sets in a row, they'll all be compressed.
I'd guess that

  s/\r?\n/ /g

would work pretty much everywhere.
	Jeffrey
----------------------------------------------------------------------------
Jeffrey Friedl <jfriedl@ora.com> Omron Corp, Nagaokakyo, Kyoto 617 Japan
See my Jap<->Eng dictionary at http://www.wg.omron.co.jp/cgi-bin/j-e
O'Reilly's Regular Expression book: http://enterprise.ic.gc.ca/~jfriedl/regex/



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

Date: 16 Mar 1997 10:26:15 -0500
From: Roderick Schertler <roderick@argon.org>
To: dbenhur@egames.com
Subject: Re: No such thing as "soft reference"
Message-Id: <pzzpw3lv6a.fsf_-_@eeyore.ibcinc.com>

On Sat, 15 Mar 1997 22:49:37 -0800, Devin Ben-Hur <dbenhur@egames.com> said:
>
> Well, actually, if you checkout the perlref man page and search for
> "soft reference" you will not find anything (eg: 'man perlref | grep
> -i soft' produces no output).

Documentation Man to the rescue!

> I've seen a lot of people call these "soft" references (I suppose they
> think of it as an alternative to "hard references"), but there's no
> such thing, and misuse of this term makes it hard to follow up by
> actually going to the documentation because neither the man pages or
> the camel have any entry for "soft references."

People aren't going to stop calling them soft references.  The term
makes sense and it's shorter than the alternative.

--- pod/perlref.pod.~1~	Tue Dec 31 01:52:38 1996
+++ pod/perlref.pod	Sun Mar 16 10:16:45 1997
@@ -26,7 +26,8 @@
 
 A symbolic reference contains the name of a variable, just as a
 symbolic link in the filesystem contains merely the name of a file.  
-The C<*glob> notation is a kind of symbolic reference.  Hard references
+The C<*glob> notation is a kind of symbolic reference.  Symbolic
+references are sometimes called soft references.  Hard references
 are more like hard links in the file system: merely another way
 at getting at the same underlying object, irrespective of its name.
 

-- 
Roderick Schertler
roderick@argon.org


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

Date: Sun, 16 Mar 1997 14:02:26 -0500
From: Scott Hassel <techranger@geocities.com>
To: nick@easinet.co.uk
Subject: Re: perl 5 on NT4 install help needed (badly)
Message-Id: <332C43C2.24E9@geocities.com>

Wintermute wrote:
> 
> recall wrote:
> >
> > Does anyone out the know how to install perl 5 on NT4 - I've tried twice
> > now and everything seems OK until you try and run a script - running it
> > locally is fine but via HTTP I get HTTP1.0/501 Not Supported error - can
> > somebody please tell me or point me to someone who can tell me how to
> > install this damned thing
> >
> > Thanks in advance
> >
> > Nick Clarkson
> > nick@easinet.co.uk
> 

I have answered this in the mail lists a couple of times. You need to
use the -d switch when unzipping this file. This will create everything
in the right place, and then you will be able to install.


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

Date: Sun, 16 Mar 1997 10:59:12 -0800
From: Mark Peaslee <mpeaslee@best.com>
Subject: Perl frontend for MS Access
Message-Id: <332C4300.B5B@best.com>

Subject: Perl frontend for MSAccess

I'm new to PERL and have been given the task of creating a frontend for
a MS Access database.  My thought is that this has already been done by
others and thought I would check and see if I could get some advice. 
Does, anyone know if there is a program in perl already written for this
and if not, any advice on how I should go about creating one???  Any and
all advice is very welcomed.  

Cheers!
Mark Peaslee
mpeaslee@best.com
mpeaslee@kensington.com


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

Date: Sat, 15 Mar 1997 22:31:43 -0600
From: tadmc@flash.net (Tad McClellan)
Subject: Re: perl religion (was: Re: Which one is the best (pattern matching))
Message-Id: <f3tfg5.p02.ln@localhost>

Clay Irving (clay@panix.com) wrote:

: open BIBLE, "the_book" or die "without religion";
: read BIBLE, $your_head, $alot;
: close BIBLE;
: sleep $peacefully;


Clay's admonition to RTM caused me to go find:


[ New American Standard translation ]


 ... the acquisition of wisdom is above that of pearls. 
- Job 28:18


and upon finding one pearl of great values(), he went and sold
all that he had, and bought it. 
- Matthew 13:46


It had a great and high Wall, ...
- Revelation 21:12


Depart from eval(), and do() good;
seek() peace, and pursue it. 
- Psalm 34:14


 ... "You have split() my() flock() and driven them away ... 
- Jeremiah 23:2


"... and works > these shall he do();
because I goto() the Father." 
- John 14:12


and return()ed from the crypt() and reported ...
- Luke 24:9


For the love of $$ is a root of all sort()s of eval(), ...
- I Timothy 6:10


Seekdir() Lord while() He may be found;
- Isaiah 55:6

 ... For() it is time() to seek() the Lord ...
- Hosea 10:12


and the crypt()s were open()ed; ... 
- Matthew 27:52



--
    Tad McClellan                          SGML Consulting
    Tag And Document Consulting            Perl programming
    tadmc@flash.net


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

Date: 16 Mar 1997 07:28:42 -0700
From: Randal Schwartz <merlyn@stonehenge.com>
To: "Matt Bieber" <mattdb@syntrillium.com>
Subject: Re: Reg. expression question
Message-Id: <8cn2s3di79.fsf@gadget.cscaper.com>

>>>>> "Matt" == Matt Bieber <mattdb@syntrillium.com> writes:

Matt> Hi, I seem to be stuck with this one (I'm sure it's easy--I'm still picking
Matt> up the basics):

Matt> I'm trying to weed out any string that contains anything other than: 

Matt> a-zA-Z0-9_, .'s, or @

Matt> And isn't formatted ____@____

Matt> Obviously, this is for email addresses. What I have is:
[code deleted]

Uh oh.  You mentioned the magic words "[validate] email address".  You
really need to read the body of literature already published on Usenet
about that.  Hit dejanews and say "validate email address".

The short answer is, you don't, and can't, except by sending something
there. fred&barney@stonehenge.com is a *valid* address (go ahead, try
it!), and would have been rejected by your errant code.

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

-- 
Name: Randal L. Schwartz / Stonehenge Consulting Services (503)777-0095
Keywords: Perl training, UNIX[tm] consulting, video production, skiing, flying
Email: <merlyn@stonehenge.com> Snail: (Call) PGP-Key: (finger merlyn@ora.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: Sat, 15 Mar 97 20:29:13 GMT
From: hakan.gustafsson@varberg.mail.telia.com (Claes Gustafsson)
Subject: String format
Message-Id: <332aeab4.0@d2o7.telia.com>

How do I print a number with three digits?

001,002,003...025,026

instead of

1,2,3...25,26

Claes Gustafsson


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

Date: Sun, 16 Mar 1997 08:09:40 -0600
From: tadmc@flash.net (Tad McClellan)
Subject: Re: String format
Message-Id: <4vugg5.8i.ln@localhost>

Claes Gustafsson (hakan.gustafsson@varberg.mail.telia.com) wrote:
: How do I print a number with three digits?

: 001,002,003...025,026

: instead of

: 1,2,3...25,26


printf()


--------------
#! /usr/bin/perl -w

@nums = qw( 1 2 3 25 26);

foreach (@nums) {
   printf("%03d\n", $_);
}
--------------


--
    Tad McClellan                          SGML Consulting
    Tag And Document Consulting            Perl programming
    tadmc@flash.net


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

Date: Sun, 16 Mar 1997 14:01:11 GMT
From: Triantafyllos Marakis <ceetm@cee.hw.ac.uk>
Subject: system calls
Message-Id: <Pine.SUN.3.95.970316135706.12891B-100000@loki>

I am using a system call :
system "/bin/grep -c -i '$string' file";

I've tryed to assign the return value to a variable but this 
does not work.

Any ideas?

Thanks. 

TRIANTAFYLLOS MARAKIS     |Email:ceetm@cee.hw.ac.uk
BSc in Computer Science IV|Web  :http://www.cee.hw.ac.uk/~ceetm
HERIOT-WATT University    |George Burnett Hall(2.54), Heriot-Watt Univ.,
Edinburgh, Scotland       |Edinburgh,EH14 4AS, Scotland UK





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

Date: 16 Mar 1997 15:10:11 GMT
From: Tom Christiansen <tchrist@mox.perl.com>
Subject: Re: system calls
Message-Id: <5gh2gj$9mt$1@csnews.cs.colorado.edu>

 [courtesy cc of this posting sent to cited author via email]

In comp.lang.perl.misc, 
    Triantafyllos Marakis <ceetm@cee.hw.ac.uk> writes:
:I am using a system call :
:system "/bin/grep -c -i '$string' file";
:
:I've tryed to assign the return value to a variable but this 
:does not work.
:
:Any ideas?

I have an idea that you don't know the difference between these two:

    $exit_status   = system $cmd;
    $output_string = `$cmd`;

--tom
-- 
	Tom Christiansen	tchrist@jhereg.perl.com


I've got plenty of inputs and outputs.  I don't need the video. --Andrew Hume


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

Date: Sun, 16 Mar 1997 09:08:57 GMT
From: tgy@chocobo.org (Tim Gim Yee)
Subject: Re: system calls
Message-Id: <332babb5.42782337@news.oz.net>

On Sun, 16 Mar 1997 14:01:11 GMT, Triantafyllos Marakis
<ceetm@cee.hw.ac.uk> wrote:

>I am using a system call :
>system "/bin/grep -c -i '$string' file";
>
>I've tryed to assign the return value to a variable but this 
>does not work.

$count = `/bin/grep -c -i '$string' file`;

Backticks will capture the the output of your command.  But why even
make a system call?  Count the number of lines which match $string,
case insensitive, right?

open FILE, $file or die "Couldn't open $file: $!";
@lines = grep {/$string/i} <FILE>;
$count = @lines;
close FILE;

Sure, it's more typing, but it's also more portable.

HTH!

-- Tim Gim Yee             tgy@chocobo.org
http://www.dragonfire.net/~tgy/moogle.html
"Will hack perl for a moogle stuffy, kupo!"


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

Date: 15 Mar 1997 15:21:22 GMT
From: kodis@kodis.jagunet.com (John Kodis)
Subject: Re: term 'regular expressions' considered undesirable
Message-Id: <slrn5ilfjj.tul.kodis@kodis.jagunet.com>

Previously, Rahul Dhesi wrote:

>The ? suffix in perl5, which causes quantifiers to become non-greedy,
>help bring perl paterns close to real regular expressions.
>
>   /a.*b.*c/	# greedy, needs backtracking, slow, not regular expression
>   /a.*?b.*?c/  # non-greedy, no backtracking, fast, regular expression
>
>Perhaps it's now too late, and we need to find a new term for what
>we used to call regular expressions.

My understanding is that both of the examples above are regular
expressions.  Regular expressions are capable of supporting r* (Kleen
closures), r+ (positive closures), and r? (whatever this is called).

As far as I know, the only non-regular features of Perl regular
expressions is the ability to back-reference a previous match using
the \1 and related patterns.  This back-referencing ability allows
Perl regular expressions to recognise balanced and nested constructs,
two of the classic ``no can do'' types of patterns that can only be
expressed in a context-free or more powerful grammer.

[ References available is sec 3.3 of the red dragon book, as well as
  most every other compiler or formal language theory book ever
  written. ]

So while Perl regular expressions aren't completely regular, they're
close enough that I'm not uncomfortable referring to them by that
term.  I don't that a new term is called for (even though I think that
``irregular expressions'' has a nice ring to it).

-- John Kodis.


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

Date: 16 Mar 1997 17:13:05 GMT
From: "keiper" <keiper@science.duq.edu>
Subject: The difference between GET and POST methods w/Perl
Message-Id: <01bc322f$898333a0$d188bea5@jer>

Hi all -

I have developed a Perl script to take a line like element_name=Li from
STDIN (the way a HTML form submits via the POST method) and open a page
with that element's name, etc.  One problem is that I would prefer to send
this data via JavaScript using the get format (ie.
elementwin.cgi?element_name=Li).  Is there a standard script available for
parsing the input from the GET method, or am I getting into trouble here? 
Please respond to <a
href=mailto:keiper@science.duq.edu>keiper@science.duq.edu</a>.  Thanks.

- Jerm


begin 600 elementwin.cgi
M(R$O=7-R+V)I;B]P97)L#0H-"B,@1&5F:6YE(&9A:7)L>2UC;VYS=&%N=',-
M"@T*(R!'970@=&AE(&EN<'5T#0HC;W!E;B!I;F9I;&4L("(\96Q?:6XN='AT
M(CL-"B-R96%D*&EN9FEL92P@)&)U9F9E<BP@,C4V*3L-"G)E860H4U1$24XL
M("1B=69F97(L(#(U-BD[#0H-"B,@4W!L:70@=&AE(&YA;64M=F%L=64@<&%I
M<G,-"D!P86ER<R ]('-P;&ET*"\F+RP@)&)U9F9E<BD[#0H-"F9O<F5A8V@@
M)'!A:7(@*$!P86ER<RD-"GL-"B @(" H)&YA;64L("1V86QU92D@/2!S<&QI
M="@O/2\L("1P86ER*3L-"@T*(" @(",@56XM5V5B:69Y('!L=7,@<VEG;G,@
M86YD("4M96YC;V1I;F<-"B @(" D=F%L=64@/7X@='(O*R\@+SL-"B @(" D
M=F%L=64@/7X@<R\E*%MA+69!+48P+3E=6V$M9D$M1C M.5TI+W!A8VLH(D,B
M+"!H97@H)#$I*2]E9SL-"@T*(" @(",@4W1O<"!P96]P;&4@9G)O;2!U<VEN
M9R!S=6)S:&5L;',@=&\@97AE8W5T92!C;VUM86YD<PT*(" @(",@3F]T(&$@
M8FEG(&1E86P@=VAE;B!U<VEN9R!S96YD;6%I;"P@8G5T('9E<GD@:6UP;W)T
M86YT#0H@(" @(R!W:&5N('5S:6YG(%5#0B!M86EL("AA:V$@;6%I;'@I+@T*
M(" @(",@)'9A;'5E(#U^(',O?B$O('XA+V<[( T*#0H@(" @(R!5;F-O;6UE
M;G0@9F]R(&1E8G5G9VEN9R!P=7)P;W-E<PT*(" @(",@<')I;G0@(E-E='1I
M;F<@)&YA;64@=&\@)'9A;'5E/% ^(CL-"@T*(" @("1&3U)->R1N86UE?2 ]
M("1V86QU93L-"GT-"@T*<')I;G0@(D-O;G1E;G0M='EP93H@=&5X="]H=&UL
M7&Y<;B([#0IP<FEN=" B/$AE860^/%1I=&QE/B1&3U)->R=E;&5M96YT7VYA
M;64G?3PO5&ET;&4^/"](96%D/EQN(CL-"G!R:6YT("(\9G)A;65S970@<F]W
M<STG*BPQ,# G/EQN(CL-"G!R:6YT("(\9G)A;64@<W)C/6AT=' Z+R]S8VEE
M;F-E+F1U<2YE9'4O86-I9%]T86)L97,O8V=I+V5L96UE;G1?9&5S8RYC9VD_
M96QE;65N=#TD1D]237LG96QE;65N=%]N86UE)WT^7&XB.PT*<')I;G0@(CQF
M<F%M92!S<F,]:'1T<#HO+W-C:65N8V4N9'5Q+F5D=2]A8VED7W1A8FQE<R]D
M969A=6QT+FAT;6P^7&XB.PT*<')I;G0@(CPO9G)A;65S970^7&XB.PT*<')I
M;G0@(CQN;V9R86UE<SY<;B([#0IP<FEN=" B/&)O9'D^2&5Y+"!B=61D>2X@
M($5A="!M>2!A<W,A/"]B;V1Y/B([#0IP<FEN=" B/"]N;V9R86UE<SX\+VAT
';6P^(CL-"B!A
`
end



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

Date: Sun, 16 Mar 1997 18:39:34 GMT
From: wkdugan@ix.netcom.com (Bill Dugan)
Subject: Re: Unix and ease of use  (WAS: Who makes more ...)
Message-Id: <332c3e42.3609659@nntp.ix.netcom.com>

mwolfe@shrike.depaul.edu wrote:

>In the end Linux will bury MS.  Linux is open.  This means open
>competition.  This means better products.  LINUX RULES.

MS has buried lots of better products.


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

Date: 15 Mar 1997 22:00:37 -0700
From: mfuhr@dimensional.com (Michael Fuhr)
Subject: Re: What is the best Perl book?
Message-Id: <5gfupl$4ph@nova.dimensional.com>

  [cc to author]
"Brian Ling" <gt2666b@prism.gatech.edu> writes:

>I need to get a book on Perl and I wanted to know which one was the best.
>Thanks in advance.

Take a look at the book reviews on www.perl.com:

    http://www.perl.com/perl/critiques/index.html

Or save yourself some time and just buy a copy of _Programming Perl_,
2nd ed., by Wall, Christiansen, and Schwartz.
-- 
Michael Fuhr
http://www.dimensional.com/~mfuhr/


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

Date: Sun, 16 Mar 1997 12:49:02 -0600
From: GOtaka601@hotmail.com (taka)
Subject: Re: Who makes more $$ - Windows vs. Unix programmers?
Message-Id: <GOtaka601-1603971249020001@hk10.superlink.net>

Hi guys please please please take out your discussion from
Newsgroup "nyc.food"
Since you have enough brain to make the discussion.
you know, your posts are no relation to nyc. food.

Simply delete nyc.food from the List would do.
Thank you.

-- 
You must delete "GO" from address to reply by e-mail
my correct address is 
taka601@hotmail.com

I do NOT want anyone to send any kind of 
unsolicited mail, include one-line comment. 
Thank you.
taka


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

Date: 13 Mar 1997 17:55:56 GMT
From: jason@wisteria.cs.odu.edu (Jason C Austin)
Subject: Re: year 2000 question
Message-Id: <JASON.97Mar13125556@wisteria.cs.odu.edu>

Dan Ellsweig (Enterprise Management) (dxe@cassidy.sbi.com) wrote:
=> Greetings
 
=> I am in the process of insuring year 2000 compliance for all of
=> my PERL code. I have a question regarding the 'localtime()' library
=> function.
 
=> Does anyone know of a version of PERL which will support
=> 4 character year as returned by localtime()?? Currently
=> the localtime function calculates the correct year then it
=> subtracts 100 from the year before returning the year value
=> in the localtime array. The result is a 2 character year (99 for 1999 or
=> 00 for 2000). 

	It's documented as the year - 1900, so just add 1900 to get
the four digit year.  It will be 100 is the year 2000 and not 00. This
is from the Unix localtime() library call and changing it in perl
would just make thing inconsistent.
--
Jason C. Austin
austin@visi.net




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

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

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