[10483] in Perl-Users-Digest

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

Perl-Users Digest, Issue: 4075 Volume: 8

daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Mon Oct 26 17:17:58 1998

Date: Mon, 26 Oct 98 14:00:25 -0800
From: Perl-Users Digest <Perl-Users-Request@ruby.OCE.ORST.EDU>
To: Perl-Users@ruby.OCE.ORST.EDU (Perl-Users Digest)

Perl-Users Digest           Mon, 26 Oct 1998     Volume: 8 Number: 4075

Today's topics:
        $INPUT_RECORD_SEPARATOR tbhanson@startribune.com
        CGI problem when retrieving filenames <jeffk@synplicity.com>
    Re: Date compare routine (Joergen W. Lang)
        File Locking <upsetter@shore.net>
    Re: http://www.raduga.ru - iNFORMACIONNO-RAZWLEKATELXNY <d-edwards@nospam.uchicago.edu>
    Re: lack of flock() for Win95/98? fix? (Daniel Beckham)
    Re: MSQL dump from PERL script (Daniel Beckham)
        Need help with SQL updates in WIN32 perl (Hemi Craig)
    Re: newbie MAIL question (Larry Rosler)
    Re: newbie MAIL question (Larry Rosler)
    Re: Not to start a language war but.. <JamesL@Lugoj.Com>
    Re: Not to start a language war but.. droby@copyright.com
    Re: Not to start a language war but.. (Cees de Groot)
    Re: Not to start a language war but.. (Larry Rosler)
    Re: Not to start a language war but.. (David Combs)
    Re: Not to start a language war but.. <jdporter@min.net>
    Re: Not to start a language war but.. <jdporter@min.net>
    Re: Not to start a language war but.. <jdporter@min.net>
    Re: Not to start a language war but.. (Adam Turoff)
        OLE and EXCEL <geir_sjurseth@dell.com>
        Open an existing Microsoft Excell workbook and write to <majid.sharif@mci.com>
        Opendir and Readdir not working as expected (Walter Smith)
    Re: Perl isn't a programming language [sic] (was: What  <rr@xs4all.nl>
    Re: Perl isn't a programming language [sic] (was: What  (brian d foy)
        Perl require not always finishing on NT gregghill@my-dejanews.com
        Perl require not always finishing on NT gregghill@my-dejanews.com
        Perl Resource Kit Win32 Question <britoki@usa.net>
    Re: Problem with code nguyen.van@imvi.bls.com
    Re: problem with file test -e <tchrist@mox.perl.com>
    Re: Problems with NT perl (Daniel Beckham)
    Re: programing fun: trees: Part... <jdporter@min.net>
        Semephore Help (Bob Mariotti)
        Sending mail using perl <dtropea@cabletron.com>
        Sending mail using perl dtropea@ctron.com
    Re: Sending mail using perl <geir_sjurseth@dell.com>
    Re: Sending mail using perl (Greg Bacon)
    Re: Size of JPEG and GIF (Sean McAfee)
        Web Client Automation debel@my-dejanews.com
    Re: where can i put in CGI program ? (Daniel Beckham)
        Special: Digest Administrivia (Last modified: 12 Mar 98 (Perl-Users-Digest Admin)

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

Date: Mon, 26 Oct 1998 21:30:45 GMT
From: tbhanson@startribune.com
Subject: $INPUT_RECORD_SEPARATOR
Message-Id: <712pm5$vt8$1@nnrp1.dejanews.com>

Hi, I'm hoping someone out there has done this. I expect I'm making some
elementary mistake (or I've found a bug).

I'd like to build a simple perl script that can read lines from STDIN
delimited by \n or \r (e.g. so I can deal with "unix" and "mac" line formats,
respectively.)

So I've built a simple perl script, call it simp.pl:
- - - - - -
# try reading \n vs. \r delimited lines (pc vs. mac format)

use Getopt::Std;

die "bad options!\n" unless getopts('m');

if ($opt_m) {
# use this to separate lines with carriage return instead of newline (mac)
    $INPUT_RECORD_SEPARATOR = "\r";
}

while (<STDIN>) {
    print  "debug: saw a line\n";
}

- - - - -

Now I've created two 10-line files which I believe differ only in that the one
has lines delimited by \n, the other by \r. I've called them pc and mac,
respectively.

When I run "simp.pl < pc" I see 10 lines as expected. When I run "simp.pl -m <
mac" I see only 1.

Anyone have any ideas?

--Tim Hanson


(tbhanson in /home/tbhanson/elex @ mpbgw-demo15) >simp.pl <pc
debug: saw a line
debug: saw a line
debug: saw a line
debug: saw a line
debug: saw a line
debug: saw a line
debug: saw a line
debug: saw a line
debug: saw a line
debug: saw a line
(tbhanson in /home/tbhanson/elex @ mpbgw-demo15) >simp.pl -m < mac
debug: saw a line


-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    


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

Date: Mon, 26 Oct 1998 11:58:05 -0000
From: "Jeff Kiser" <jeffk@synplicity.com>
Subject: CGI problem when retrieving filenames
Message-Id: <3634d6c1$0$29745@nntp1.ba.best.com>

I have an example that works fine as one script but I wanted to attempt to
make it a little more modular for ease with reuse.  My main problem is, this
is a CGI script that uploads a file selected using the mulitpart-form data
encryption type (I am using CGI.pm by the way).  When I select a file using
NT, the file is written out as C:\<some path>\<some file>.  My problem is
that any backslashed characters are being interpretted before I can do
anything with them.  For example, if the path were C:\test\testfile.txt and
I got to get it using $file = $form->param('filename'); the $file variable
gets set as:

C:    est    estfile.txt

the '\t' character patterns are being interpretted as tab characters.  I've
tried to rebuild them but it won't work.  Does anyone know of any
workarounds to keep this translation from occuring? Thanks

Jeff Kiser
jeffk@synplicity.com





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

Date: Mon, 26 Oct 1998 21:45:16 +0100
From: jwl@_munged_worldmusic.de (Joergen W. Lang)
Subject: Re: Date compare routine
Message-Id: <1dhixae.w8ztuu16nsct3N@host006-210.seicom.net>

Mike <support@counter.w-dt.com> wrote:

> I don't want some big long module, I just want to know a short snipplet
> that will tell me if one date is after another.

Mike,

as long as you just go 
"Gimme, gimme, gimme - Thx in adv.",

 ....

"No, that's not what I want, gimme, gimme, gimme, but no big long
module", 

without even specifying what format your date is in, you'd rather end up
in people's killfiles, than will you get the results you are looking
for. 

If you just say, what you _don't_ want, you'd better take a little more
time reading the documentation and come up with a solution by yourself.

BTW, the Time::Local module takes a mere 9k on my machine and loads in
close to _no_ time. What makes you think you have to load "a 85kb
module written in C or c++ or perl" as you indicate in your repost of
your question ? (Reposting the same thing won't earn you many credits,
either...).

What's wrong with a module written in Perl ? Which language would you
prefer ? Esperanto ? Dutch ? English, even ? - God forbid ! ;-)

I can only speculate on the reasons that hinder you from using a module,
that is accessed quite easily, loads fast and comes with its own
embedded documentation and is tailor-made to do what you want.

If you hesitate to use a module because you do not know how to use it,
RTFM. (perldoc Time::Local in this case).

If you hesitate to use a module because you do not know how to include
it in your @INC - RTFM (perldoc lib in this case).

If you hesitate to use a module, because you think it's to big - check
its size and, if it seems too big just copy and paste the code you need
into your program. (as long as copyright allows to do so).

hth,
HANT,

Joergen
-- 
  To reply by email please remove _munged_ from address Thanks !
-------------------------------------------------------------------
   "Everything is possible - even sometimes the impossible"
             HOELDERLIN EXPRESS - "Touch the void"


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

Date: Mon, 26 Oct 1998 20:25:55 GMT
From: Art Cohen <upsetter@shore.net>
Subject: File Locking
Message-Id: <nV4Z1.352$dP4.73778@news.shore.net>

I have a CGI-based flat-file database. Users enter information via a web
form and it's stored in a text file.

I'm using flock to lock the file before writing to it, but I'm still
having problems -- every three or four months or so -- with the file
getting truncated.

Has anybody else experienced this?

One idea I had is that if something/someone (the sysadmin) did a kill -9
while the script was in the middle of writing out the file, it might get
corrupted (I don't know enough about Unix to know exactly what would
happen in this case). 

I thought of writing first to a temporary file, and then copying that over
to the "live" file, but it seems like that would introduce a race
condition (I could lock the live file while I was writing to the temp
file, but then I'd have to unlock it before copying the new file over).

Any ideas/suggestions would be greatly appreciated. Is there something I'm
overlooking or an invalid assumption?

TIA,

--Art

-- 
--------------------------------------------------------------------------
                    National Ska & Reggae Calendar
                  http://www.agitators.com/calendar/
--------------------------------------------------------------------------


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

Date: Mon, 26 Oct 1998 20:08:49 GMT
From: Darrin Edwards <d-edwards@nospam.uchicago.edu>
Subject: Re: http://www.raduga.ru - iNFORMACIONNO-RAZWLEKATELXNYJ SERWER
Message-Id: <tgn26jkrvy.fsf@noise.bsd.uchicago.edu>

"Andrey Komarov" <andrey@raduga.ru> writes:
[snip "KU^U BEZPOLEZNOJ INFORMACII"]

This is a perl newsgroup.  Advertisements should go elsewhere.

|TO -- newsgroup DLQ perlA.  rEKLAMY LU^[E POSYLATX W KAKOE-NIBUDX
DRUGOE MESTO.

Thanks,
Darrin


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

Date: Mon, 26 Oct 1998 15:15:28 -0500
From: danbeck@eudoramail.com (Daniel Beckham)
Subject: Re: lack of flock() for Win95/98? fix?
Message-Id: <MPG.109ea26d1c4206839896a5@news.supernews.com>

As a last resort, I would suggest writing your own locking function.  
This will only work if your script is the only one working with the 
file...

Try this:

If you need to open a file named myfoo for read or write, first create a 
file named myfoo.lock.  When you are finished reading or writing to the 
file, delete the foo.lock file.  At the same time, before you begin to 
read or write to a file, check to make sure there isn't already a 
myfoo.lock file and if there is, sleep for a few seconds, check again, 
and if the myfoo.lock file has been deleted, create your lock file and 
then read or write to the file.

You can even have a preset time that if the lock file doesn't go away in 
say, 5 seconds, you just go ahead and read or write to the file, assuming 
that the other process has bombed, etc.  Not the most elegant way, but 
very workable and easy to implement...

Regards,

Daniel Beckham


In article <362F4819.472C77DA@home.com>, gtermars@home.com says...
> Jan VanderStoel wrote:
> > I attempted to run a Perl script using the flock() function on a Win 98
> > platform using Perl 5.005.  The script failed giving an error message saying
> > that the flock() function is not implemented on this platform.  The docs do
> > not indicate that flock() is not implemented.  This script does work on Win
> > NT 4.  Is there a fix for the Win 95/98 platform?
> 
> If I remember correctly, there isn't much of a fix for this on Win95/98,
> neither is there one for NT if running on a FAT partition.  Sorry.
> 
> 


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

Date: Mon, 26 Oct 1998 15:33:11 -0500
From: danbeck@eudoramail.com (Daniel Beckham)
Subject: Re: MSQL dump from PERL script
Message-Id: <MPG.109ea692595993699896a7@news.supernews.com>

Well, what have you got so far?  What parts are you having trouble with?

In article <3630bc8b.0@diana.idirect.com>, edgar@insidewire.com says...
> I need help in creating a script which will call the standard msql dump
> program on my server, to output to a text file which I will then be able to
> retrive with ftp.
> 
> Any help is greatly appreciated
> 
> --
> -Edgar
> 330556
> edgarnospam@insidewire.com
> 
> 
> 


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

Date: 26 Oct 1998 21:48:05 GMT
From: HemiCraig@hd.com (Hemi Craig)
Subject: Need help with SQL updates in WIN32 perl
Message-Id: <712qml$3j2$1@bayer.itron.com>

Looking for some expertise in the area of SQL command usage in PERL.  I have 
not been able to successfully UPDATE a column in a table.  I have been able to 
perform SELECTS without problems.  My current NT box has WIN Perl and WIN32 
ODBC . Any help will be appreciated.  

I attempted with the following statements:

$sqlstatement = "UPDATE CCUAlarms SET state = 1 WHERE ccu_id = 1";

 if (! $O->Sql($sqlstatement))
    
  {       

     @FieldNames = $O->FieldNames();            # Get list of field names
       print("field descriptions are @FieldNames\n");
       foreach $k (@FieldNames) {
       print("fieldnames are <$k>\n");
         }

     while($O->FetchRow())
      {                     # Get a row of data
        undef %Data;
        %Data = $O->DataHash();                 # Generate associative array
                                                # of field names and values
        $t = $Data{"state"};          

        print ("\n\state = \t\t$t\n");

  
      } # end while
  } # end if



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

Date: Mon, 26 Oct 1998 12:52:10 -0800
From: lr@hpl.hp.com (Larry Rosler)
Subject: Re: newbie MAIL question
Message-Id: <MPG.109e80d3a5a458d698983a@nntp.hpl.hp.com>

In article <3634731E.5F2D@somewhere.com> on Mon, 26 Oct 1998 13:03:35 
+0000, fred <fred@somewhere.com> says...
> ... in the
> email message that goes out the Subject line appears blank and instead
> the Subject text appears in the body of the message (followed by what I
> wanted to be the body of the message).
 ...
> #!/usr/bin/perl5

You are missing the ;-w' flag and 'use strict;', though those are not 
the cause of your problem.
 
 ...
> open (MAIL, "|$mailprog $recipient") || die "unable to send request\n";
> print MAIL "Reply-to: $email\n\n";

The problem is here.  You are sending an empty line, which is the 
convention that indicates no more headers.  Change this to only one "\n" 
and the Subject will be in the headers, and its double newline will end 
the headers.

> print MAIL "Subject:  My Test\n\n";
> 
> print MAIL "This is the message to print";


-- 
(Just Another Larry) Rosler
Hewlett-Packard Laboratories
http://www.hpl.hp.com/personal/Larry_Rosler/
lr@hpl.hp.com


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

Date: Mon, 26 Oct 1998 13:04:14 -0800
From: lr@hpl.hp.com (Larry Rosler)
Subject: Re: newbie MAIL question
Message-Id: <MPG.109e83a5d157ae8698983d@nntp.hpl.hp.com>

In article <3634731E.5F2D@somewhere.com> on Mon, 26 Oct 1998 13:03:35 
+0000, fred <fred@somewhere.com> says...
> ... in the
> email message that goes out the Subject line appears blank and instead
> the Subject text appears in the body of the message (followed by what I
> wanted to be the body of the message).
 ...
> #!/usr/bin/perl5

You are missing the '-w' flag and 'use strict;', though those are not 
the cause of your problem.
 
 ...
> open (MAIL, "|$mailprog $recipient") || die "unable to send request\n";
> print MAIL "Reply-to: $email\n\n";

The problem is here.  You are sending an empty line, which is the 
convention that indicates no more headers.  Change this to only one "\n" 
and the Subject will be in the headers, and its double newline will end 
the headers.

> print MAIL "Subject:  My Test\n\n";
> 
> print MAIL "This is the message to print";


-- 
(Just Another Larry) Rosler
Hewlett-Packard Laboratories
http://www.hpl.hp.com/personal/Larry_Rosler/
lr@hpl.hp.com


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

Date: Mon, 26 Oct 1998 12:08:39 -0800
From: James Logajan <JamesL@Lugoj.Com>
Subject: Re: Not to start a language war but..
Message-Id: <3634D6C7.6D24EDB3@Lugoj.Com>

Dan Sugalski wrote:
[On Tom Christiansen...]
> Whle I have an enourmous respect for him, accusing him of bias for
> financial reasons is a lot like accusing The Prez of celibacy. Tom's many
> things--loud, outspoken, opinionated, talented, abrasive, competent, and
> more deserving of the label 'curmudgeon' than anyone I know of other than
> Harlan Ellison (and I mean that in the nicest possible way, Tom :)--but
> biased by money is *not* one of them.

I never mentioned money in my original post; others have concluded that
was my only argument. It wasn't. Tom Christiansen has a lot of time
invested in Perl, respect from peers, and perhaps some money that
can be directly traced to his co-authorship of the Perl books. So
he has motivation and opportunity; he obviously killed Mr. Body
in the kitchen with the revolver. Oh wait, sorry, getting a little
confused here.

> I think you need to find another cheap shot here. This one missed.

Check out my post where I argue that Perl appears too cluttered because
it's syntax's scope is too small. Think I got a hit there?


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

Date: Mon, 26 Oct 1998 20:34:21 GMT
From: droby@copyright.com
Subject: Re: Not to start a language war but..
Message-Id: <712mcd$qlb$1@nnrp1.dejanews.com>

In article <363200AA.613CF211@erols.com>,
  WMWilson <m.v.wilson@erols.com> wrote:
> Just wondering why Perl is so much more popular than python...I've just
> started learning Perl and have somewhat of an interest in possibly
> giving Python a try as well, just to see which works better for me.  It
> doesn't seem like there's as much Python info out there though, I don't
> even have any man pages (that I've found at least) for Python.  What's
> the deal?  Is it harder, or just newer and hasn't quite been recognized
> yet, or something else?  Also, from everything I've read Python is
> object-oriented, I've read a little about object-oriented programming,
> but all in all I haven't really been able to figure out what the big
> deal is, can someone clue me in on this.
>

"Not to start a language war", eh?  What else does a question like this ever
do?

<quote perlfaq1>
How does Perl compare with other languages like Java, Python, REXX, Scheme, or
Tcl?

Favorably in some areas, unfavorably in others. Precisely which areas are good
and bad is often a personal choice, so asking this question on Usenet runs a
strong risk of starting an unproductive Holy War.

Probably the best thing to do is try to write equivalent code to do a set of
tasks. These languages have their own newsgroups in which you can learn about
(but hopefully not argue about) them.

</endquote>

Do we really need to go through this holy war again?  Some people prefer
Python to Perl.  Some people prefer Perl to Python.  Some have good reasons. 
Some think they have good reasons.

--
Don Roby
droby@copyright.com

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    


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

Date: 26 Oct 1998 21:03:27 +0100
From: cg@bofh.cdg.acriter.nl (Cees de Groot)
Subject: Re: Not to start a language war but..
Message-Id: <712kif$dvp$1@bofh.cdg.acriter.nl>

 <huntersean@hotmail.com> said:
>In article <7117ns$b3u$1@bofh.cdg.acriter.nl>,
>  cg@pobox.com wrote:
>   > [And to Tom C.: if numbers are the issue, let's put up a poll - number
>   > of Perl programmers, number of Python programmers, and most important:
>   > the movement between the languages.]
>
>   Todays perl jobs on www.jobserve.com: 248
>   Todays python jobs on www.jobserve.com: 0
>
And probably a ton of VB and Cobol jobs. Does that make them better
languages? One million flies...

That's why I think the most interesting statistic would be the relative
movement between the languages.

(and I also think that this thread should grind to a halt - follow up
set to poster)

-- 
Cees de Groot               http://pobox.com/~cg          <cg@pobox.com>
--- We're hiring Java developers => www.acriter.com


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

Date: Mon, 26 Oct 1998 13:02:51 -0800
From: lr@hpl.hp.com (Larry Rosler)
Subject: Re: Not to start a language war but..
Message-Id: <MPG.109e835494fa5c4498983b@nntp.hpl.hp.com>

[Posted to comp.lang.perl.misc and a copy mailed.]

In article <3634CF69.7F001D43@Lugoj.Com> on Mon, 26 Oct 1998 11:37:13 -
0800, James Logajan <JamesL@Lugoj.Com> says...
 ...
> $b = 42
> $a = $b + 5
> $a = $a * 9
 ...
> Perl tries to provide context information at the token level; hence we
> are told no less than 3 times in 2 lines that "a" is a string (but we
> do numeric operations on it!). That is over-kill (and misleading in the
> end anyway!)

You are quite wrong about the meaning of the prefix '$'.  It means 
'scalar', not 'string'.  The value of the scalar could be something else 
entirely, such as a number, as in this case, or a reference.  In fact, 
strings and numerical values are quite interchangeable in Perl, with the 
compiler using the correct one as needed.  Thus, using your example, the 
values of the scalars $a and $b are numbers, but if one were to print 
them they would automatically be converted to strings first -- as you 
would want.

-- 
(Just Another Larry) Rosler
Hewlett-Packard Laboratories
http://www.hpl.hp.com/personal/Larry_Rosler/
lr@hpl.hp.com


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

Date: Mon, 26 Oct 1998 21:11:34 GMT
From: dkcombs@netcom.com (David Combs)
Subject: Re: Not to start a language war but..
Message-Id: <dkcombsF1GDJA.Iq6@netcom.com>

(1) What about garbage collection?

The last time I looked at Python, it worked via ONLY
ref-counts; ie, could not gc circular lists, anything
with backpointers, etc.

Seemed to me like a real loss, compared to perl's.

---

(2) Also, there were only maybe two books on python, and
on the newsgroup I read lots of hate mail about the
snake book, how the index was no good (if there even was
one, I forget), how it was impossible to find anything
in the book, etc.

---

(3) Also, back then, seemed there was only ONE person doing
implementation: Guido.  Whereas LOTS of people were
working on growing/fixing-up perl.


I admit that this was some time ago; maybe lots has changed
since then?


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

Date: Mon, 26 Oct 1998 16:10:59 -0500
From: John Porter <jdporter@min.net>
Subject: Re: Not to start a language war but..
Message-Id: <3634E563.1E411997@min.net>

WMWilson wrote:
> Not to start a language war but...

"...but what the heck", right?

Thanks a lot.

Did you try consulting the massive archive of both newsgroups
at Deja News?  You would have found more than enough info to
obviate any need to ask this question again.

And if you really have to ask, do it in just one newsgroup or the other.

-- 
John Porter

Please Don't "Courtesy CC" me.
I read this newsgroup fanatically.  You know that!
("Emailed only" is fine, though.)


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

Date: Mon, 26 Oct 1998 16:32:32 -0500
From: John Porter <jdporter@min.net>
Subject: Re: Not to start a language war but..
Message-Id: <3634EA70.16E822D1@min.net>

Cameron Laird wrote:
> 
> Andrew M. Kuchling <akuchlin@cnri.reston.va.us> wrote:
> >Anyone else ever
> >read a biography, or known anyone who has?)

> Sigmund Freud did once.  He wrote a letter to Fliess
> about the experience:
>   Whoever undertakes to write a biography
>   binds himself to lying, to concealment,
>   to flummery, and even to hiding his own
>   lack of understanding, since biographi-
>   cal material is not to be had, and if it
>   were it could not be used.  Truth is not
>   accessible; mankind does not deserve it.

Just another pebble on the heap of evidence that Freud was 
a wacko, and the fruits of his labor mere folly and futility.


> Freud was an early contributor to c.l.p.m, I think;
> he certainly has the rhetoric down.

I'm surprised, and even a little disappointed, to see this
kind of flamage coming from you, Cameron.

-- 
John Porter

Please Don't "Courtesy CC" me.
I read this newsgroup fanatically.  You know that!
("Emailed only" is fine, though.)


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

Date: Mon, 26 Oct 1998 16:50:05 -0500
From: John Porter <jdporter@min.net>
Subject: Re: Not to start a language war but..
Message-Id: <3634EE8D.CA19342@min.net>

Dennis Lee Bieber wrote:
> 
> I have had the last two
> variants of the Camel book and have been unable to even make sense of
> "Hello World".

Really?

	print "Hello World"

is too tough for you?

And if you were trying to learn Perl -- I assume you were, if you
were actually reading two versions of the Camel book -- why didn't
you ask here (comp.lang.perl.misc) for help?

-- 
John Porter

Please Don't "Courtesy CC" me.
I read this newsgroup fanatically.  You know that!
("Emailed only" is fine, though.)


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

Date: 26 Oct 1998 16:54:16 -0500
From: ziggy@panix.com (Adam Turoff)
Subject: Re: Not to start a language war but..
Message-Id: <712r28$q6m@panix.com>

Klaus Schilling  <Klaus.Schilling@home.ivm.de> wrote:
>Java developers are capitalists, whereas python developers are anarchists.

Anarchists who favor fewer degrees of expression?  

Funny kind of anarchist, that.

Z.



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

Date: Mon, 26 Oct 1998 15:13:44 -0600
From: "Geir Sjurseth" <geir_sjurseth@dell.com>
Subject: OLE and EXCEL
Message-Id: <712o7g$8v$1@obsidian.us.dell.com>

Does anyone out there know how to open up an .XLS file read only?  I just
need to know the syntax for perl and the OLE module.  I can open it up in
the background, but it then asks me if I wanna type in the password.  I
would just like to automate this and have the perl script answer "Read Only"
for me.  Thanks in advance for any help.

Geir_Sjurseth@dell.com





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

Date: Sun, 25 Oct 1998 15:40:49 -0500
From: "Majid Sharif" <majid.sharif@mci.com>
Subject: Open an existing Microsoft Excell workbook and write to a particular cell
Message-Id: <J65Z1.444$L44.1085@news.cwix.com>

Using Perl from a DOS promt, I'm trying to open an existing Microsoft Excell
workbook and write to a particular cell.  However, I'm receiving an error
message of:  "Can't call method "worksheets" without a package or object
reference at cpexcel1.pl line 16.

Does any one have knowlege to help me get the code below to work?
Thanks

********************Code follows
below***********************************************************************
******
use strict;

use Win32::OLE;

my ($ex, $Row, $Column);

$ex = new Win32::OLE 'Excel.Application' or die "oops\n";


# open an existing workbook

$ex->Workbooks->Open( 'test.xls' );


# write to a particular cell

#$ex->Workbooks(1)->Worksheets('Sheet1')->Cells(1,1)->{Value} = "foo";

print "Range:";

print $ex->Workbooks(1)->Worksheets('Sheet1')->UsedRange->Columns->{Count};

print ",";

print $ex->Workbooks(1)->Worksheets('Sheet1')->UsedRange->Rows->{Count};

print "\n";

foreach $Row (1..2)

{

foreach $Column (1..3)

{

print "[$Row, $Column] = ";

print
$ex->Workbooks(1)->Worksheets('Sheet1')->Cells(int($Row),int($Column))->{Val
ue};

print " ";

print
$ex->Workbooks(1)->Worksheets('Sheet1')->Cells(int($Row),int($Column))->Font
->{Size};

print " ";

print
$ex->Workbooks(1)->Worksheets('Sheet1')->Cells(int($Row),int($Column))->Font
->{Underline};

print " ";

print
$ex->Workbooks(1)->Worksheets('Sheet1')->Cells(int($Row),int($Column))->Font
->{ColorIndex};

print " ";

print
$ex->Workbooks(1)->Worksheets('Sheet1')->Cells(int($Row),int($Column))->Font
->{Bold};

print " ";

}

print "\n";

}


# save and exit

#$ex->Save;

$ex->Quit;





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

Date: 26 Oct 1998 21:03:42 GMT
From: smithw@nospam.spam.com (Walter Smith)
Subject: Opendir and Readdir not working as expected
Message-Id: <712o3e$ac2$1@nonews.col.hp.com>

Folks,

(this is on a perl5 system)

The following script I expected to list all the files
in the given directory, but all it returns is ".".

#!/usr/local/bin/perl
chdir "/etc/lvmconf/";
opendir(DIR,".") || die "cant open /etc/lvmconf";
#opendir(DIR,"/etc/lvmconf/") || die "cant open /etc/lvmconf";
print `pwd`;
@files = readdir(DIR) || die "cant readdir";
closedir(DIR);
print @files;



I'm stumped....it seems so simple and obvious, but it
doesn't work.  Can someone smack me over the skull with
a 2x4 and tell me what I'm missing?   I've tried "opendir"
on the directory directly (the commented out 3rd line) or
in this current chdir/openddir/readdir sequence, and 
both did the same. 

Thanks!

Walter


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

Date: Mon, 26 Oct 1998 22:21:03 +0100
From: rr <rr@xs4all.nl>
Subject: Re: Perl isn't a programming language [sic] (was: What isn't Perl good  for?)
Message-Id: <3634E7BF.365B6C20@xs4all.nl>

oh no, but he's (jlewchuk@junctionnet.com ) right you know...

you see , any other "programming" language  is unmaintable, unpractical,
unintelligable, uncomprehensible,  uninteresting, unpleasant, uncreative
plus it makes the poor sod called programmer very un_happy,

Perl is neither of the above
therefor Perl is not a programming language

come to think of it ,
neither is Python

hey , you can't have it all

rr


Tom Christiansen wrote:

> In comp.lang.perl.misc, jlewchuk@junctionnet.com writes:
> :Also, from my POV, PERL is treated as a programming language, which it's not.
>
> You display truly poor judgment coming to this newsgroup (note its name)
> to claim that "perl is not a programming langauge".  You don't know
> what you're talking about, or else you're just plain wicked.
>
> :If you try to treat it like one, you will fail miserably in producing good
> :code.  Either it'll be illegible, unmaintainable, buggy, incomprehensible, or
> :all of the above.
>
> I can't tell whether you simply don't know what you're remarkably
> ignorant or whether you're just here to spread dissent.  I'm not sure
> I care which case it should be, either.  I expect others will spell out
> in detail why your assertion is offensive and horribly wrong.
>
> --tom
> --
>  "VAX. For those who care enough to steal the very best."
>      -- A microscopic message on the silicon chip inside
>         one of Digital Equipment's often stolen computer designs.



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

Date: Mon, 26 Oct 1998 16:47:04 -0400
From: comdog@computerdog.com (brian d foy)
Subject: Re: Perl isn't a programming language [sic] (was: What isn't Perl good for?)
Message-Id: <comdog-ya02408000R2610981647040001@news.panix.com>

In article <3634E7BF.365B6C20@xs4all.nl>, rr <rr@xs4all.nl> posted:

> you see , any other "programming" language  is unmaintable, unpractical,
> unintelligable, uncomprehensible,  uninteresting, unpleasant, uncreative
> plus it makes the poor sod called programmer very un_happy,
> 
> Perl is neither of the above
> therefor Perl is not a programming language

why do people have such a difficult time separating the tools from the
project?  all of your adjectives seem to describe the code written in
a language, not the language itself.  nobody derides the hammer that built
Mr. Blanding's house

-- 
brian d foy                                  <comdog@computerdog.com>
CGI Meta FAQ <URL:http://computerdog.com/CGI_MetaFAQ.html>


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

Date: Mon, 26 Oct 1998 21:13:19 GMT
From: gregghill@my-dejanews.com
Subject: Perl require not always finishing on NT
Message-Id: <712olf$u5e$1@nnrp1.dejanews.com>

We've had an intermittent problem lately that sounds to me like the Perl
require statment doesn't ALWAYS read in the entire file before the compile
phase starts.

The server is NT 4.0 SP3 w/ IIS 3.0 and Perl for Win32 Build 315 (5.003_07)

I have a set of .cgi routines that all 'require' a common library file. The
routines work 99.9% of the time, but sometimes for no apparent reason they
fail. As seen in the error listing below, the subroutine GET_FORM_FIELDS is
undefined. Yet all of the .cgi routines use this subroutine to gather data
from the form submitted.  If the subroutine was really not defined, the
script would NEVER work!  Other errors include '... did not return a true
value ...' -- but only sometimes.  This should NEVER work if the require'd
file didn't return a true value...

As expected, clients then get the standard message one sees when a compile
error occurs:

 CGI Error.  The specified CGI application misbehaved by not returning a
complete set of HTTP headers. The headers it did return are:

(then nothing indicating the headers it did return)

The same form re-submitted a moment later usually works just fine!

Anyone else experience intermittent problems like this?

PerlIS-Err.log
*** 'E:\approot\cgi-bin\_sub_message_detail.cgi' error message at: 1998/10/26
08:13:46
Missing right bracket at C:\Perl\lib/Exporter.pm line 31, at end of line
syntax error at C:\Perl\lib/Exporter.pm line 31, at EOF
BEGIN failed--compilation aborted at E:/approot/cgi-bin/common_lib.pl line 6.

*** 'E:\approot\cgi-bin\_sub_enroll_detail.cgi' error message at: 1998/10/26
08:13:46
Undefined subroutine &main::GET_FORM_FIELDS called at
E:\approot\cgi-bin\_sub_enroll_detail.cgi line 17.

*** 'E:\approot\cgi-bin\_sub_addr_detail.cgi' error message at: 1998/10/26
08:54:46
Undefined subroutine &main::GET_FORM_FIELDS called at
E:\approot\cgi-bin\_sub_addr_detail.cgi line 17.

*** 'E:\approot\cgi-bin\_sub_enroll_detail.cgi' error message at: 1998/10/26
09:07:40
E:/approot/cgi-bin/common_lib.pl did not return a true value at
E:\approot\cgi-bin\_sub_enroll_detail.cgi line 5.

*** 'E:\approot\cgi-bin\_sub_main_detail.cgi' error message at: 1998/10/26
09:12:39
Can't locate /common_lib.pl in @INC at E:\approot\cgi-bin\_sub_main_detail.cgi
line 5.

*** 'E:\approot\cgi-bin\_sub_enroll_detail.cgi' error message at: 1998/10/26
09:12:39
Undefined subroutine &main::GET_FORM_FIELDS called at
E:\approot\cgi-bin\_sub_enroll_detail.cgi line 17.


-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/rg_mkgrp.xp   Create Your Own Free Member Forum


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

Date: Mon, 26 Oct 1998 21:21:37 GMT
From: gregghill@my-dejanews.com
Subject: Perl require not always finishing on NT
Message-Id: <712p51$v1j$1@nnrp1.dejanews.com>

We've had an intermittent problem lately that sounds to me like the Perl
require statment doesn't ALWAYS read in the entire file before the compile
phase starts.

The server is NT 4.0 SP3 w/ IIS 3.0 and Perl for Win32 Build 315 (5.003_07)

I have a set of .cgi routines that all 'require' a common library file. The
routines work 99.9% of the time, but sometimes for no apparent reason they
fail. As seen in the error listing below, the subroutine GET_FORM_FIELDS is
undefined. Yet all of the .cgi routines use this subroutine to gather data
from the form submitted.  If the subroutine was really not defined, the
script would NEVER work!  Other errors include '... did not return a true
value ...' -- but only sometimes.  This should NEVER work if the require'd
file didn't return a true value...

As expected, clients then get the standard message one sees when a compile
error occurs:

 CGI Error.  The specified CGI application misbehaved by not returning a
complete set of HTTP headers. The headers it did return are:

(then nothing indicating the headers it did return)

The same form re-submitted a moment later usually works just fine!

Anyone else experience intermittent problems like this?

PerlIS-Err.log
*** 'E:\approot\cgi-bin\_sub_message_detail.cgi' error message at: 1998/10/26
08:13:46
Missing right bracket at C:\Perl\lib/Exporter.pm line 31, at end of line
syntax error at C:\Perl\lib/Exporter.pm line 31, at EOF
BEGIN failed--compilation aborted at E:/approot/cgi-bin/common_lib.pl line 6.

*** 'E:\approot\cgi-bin\_sub_enroll_detail.cgi' error message at: 1998/10/26
08:13:46
Undefined subroutine &main::GET_FORM_FIELDS called at
E:\approot\cgi-bin\_sub_enroll_detail.cgi line 17.

*** 'E:\approot\cgi-bin\_sub_addr_detail.cgi' error message at: 1998/10/26
08:54:46
Undefined subroutine &main::GET_FORM_FIELDS called at
E:\approot\cgi-bin\_sub_addr_detail.cgi line 17.

*** 'E:\approot\cgi-bin\_sub_enroll_detail.cgi' error message at: 1998/10/26
09:07:40
E:/approot/cgi-bin/common_lib.pl did not return a true value at
E:\approot\cgi-bin\_sub_enroll_detail.cgi line 5.

*** 'E:\approot\cgi-bin\_sub_main_detail.cgi' error message at: 1998/10/26
09:12:39
Can't locate /common_lib.pl in @INC at E:\approot\cgi-bin\_sub_main_detail.cgi
line 5.

*** 'E:\approot\cgi-bin\_sub_enroll_detail.cgi' error message at: 1998/10/26
09:12:39
Undefined subroutine &main::GET_FORM_FIELDS called at
E:\approot\cgi-bin\_sub_enroll_detail.cgi line 17.


-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    


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

Date: Mon, 26 Oct 1998 12:15:45 -0800
From: Brian Tokuyoshi <britoki@usa.net>
Subject: Perl Resource Kit Win32 Question
Message-Id: <3634D871.FBAFFFDF@usa.net>

The ads for the the Perl Resource kit Win32 edition say that the
ActiveState Debugger is included.  Can someone tell me if it is the
LICENSED version, or is it just the shareware/downloadable version?


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

Date: Mon, 26 Oct 1998 20:20:46 GMT
From: nguyen.van@imvi.bls.com
Subject: Re: Problem with code
Message-Id: <712lit$m5t$1@nnrp1.dejanews.com>

Hi Dave,

Thanks for your help. I'm struggling with thess dammed codes for several days,
but still not working for me. I got the following errors:

 Can't open aol_out: No such file or directory
Can't open msie_out: No such file or directory
Can't open netscape_out: No such file or directory

Do you know what's wrong. I tried different way too but none of them working
for me. Thanks for your help.


Thanks
Van
In article <87g1cfgosa.fsf@freenet.carleton.ca>,
  bn711@freenet.carleton.ca (David Huggins) wrote:
> nguyen.van@imvi.bls.com writes:
>
> > I have another problem with filehandle. The following is my code:
> <snip>
> > I see the changes in STDOUT but there weren't no changes in the files
> > (i.e aol_out, msie_out, netscape_out). What are other additional steps that
I
> > need to do so that I can see the changes in these files. I also don't want
to
> > change the file names. Your help is appreciated.
>
> Here's a hugely shorter version that probably does what you want:
>
> #!/usr/bin/perl -wpi
> use strict;
>
> # default list of parameters (files to munge)
> # this operates outside the implicit read-print loop (as in awk)
> BEGIN {@ARGV = qw(aol_out msie_out netscape_out) unless @ARGV}
>
> # $_ is, of course, not necessary here
> s#(AOL)\s(\d\.\d+)#$1_$2#g;
> s#(MSIE)\s(\d\.\d+)#$1_$2#g;
> s#(Mozilla)\/(\d\.\d+)#$1_$2#g;
>
> # implicit print to the current file is already provided by -p
> print STDOUT;
> __END__
>
> The key is the switches on the shebang line:
>
>  -p makes Perl act like sed and awk (i.e. it puts an implicit
> read-print loop around the script)
>  -i makes Perl do some magic that makes it look like you're modifying
> files in place (read the perlrun(1) man page to find out what it
> really does)
>  -w is good.  use it always.
>
> This version is a lot less C-like than your original...  I'll leave it
> to you to decide whether using Perl's features makes it more concise
> or just more obfuscated.  As they say, TMTOWTDI :-)
>
> Cheers
>
> --
>           David Huggins-Daines - bn711@freenet.carleton.ca
>            PGP public key #63A8B719 on public key servers
>     fingerprint=4F 38 A2 34 E1 E0 B7 6E  C3 DA 6C E3 C6 6A 05 62
>

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    


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

Date: 26 Oct 1998 20:55:28 GMT
From: Tom Christiansen <tchrist@mox.perl.com>
Subject: Re: problem with file test -e
Message-Id: <712nk0$ajl$1@csnews.cs.colorado.edu>

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

In comp.lang.perl.misc, breville@uoguelph.ca (Barry G Reville) writes:
:	I have a program that uses the -e file test several times to 
:check if a file exists before opening the file to write to.  

Using -e for such a purpose is a fundamental error.  You see, -e
nearly always indicates that you've done something wrong by creating
a race condition.  This is usually called a bug.  In fact, I'm *this*
close to asking that -e generate a warning. :-)/2

What you should be doing is something more like 

    sysopen(FH, $path, O_CREAT|O_EXCL|O_RDWR)

--tom
-- 
    If you want to program in C, program in C.  It's a nice language.  I
    use it occasionally...   :-)
            --Larry Wall in <7577@jpl-devvax.JPL.NASA.GOV>


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

Date: Mon, 26 Oct 1998 15:20:00 -0500
From: danbeck@eudoramail.com (Daniel Beckham)
Subject: Re: Problems with NT perl
Message-Id: <MPG.109ea37fa6de7e839896a6@news.supernews.com>

You really didn't provide much information for us to go with.  SUX!! 
isn't a perl keyword.  Provide an example and a little more information 
and I'm sure we can help you out, even if you English isn't too good.

In article <70o3to$e44$1@srv4-poa.nutecnet.com.br>, 
commitman@digitalnet.com.br says...
> The cgi don't see that $FORM{ "FIELD" } is my form field. SUX !!!
> 
> Who may help me ???
> 
> I'm using d post method
> 
> Sory because my english !
> 
> Tks !
> 
> 
> 


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

Date: Mon, 26 Oct 1998 16:02:52 -0500
From: John Porter <jdporter@min.net>
Subject: Re: programing fun: trees: Part...
Message-Id: <3634E37C.9350BCBA@min.net>

Xah wrote:
> 
> Long lines in my post or email are intentional.

That pretty much confirms my suspicions that you don't give
a crap about conventions, standards, or the convenience of those
who might help you.

-- 
John Porter

Please Don't "Courtesy CC" me.
I read this newsgroup fanatically.  You know that!
("Emailed only" is fine, though.)


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

Date: Tue, 27 Oct 1998 09:37:56 GMT
From: bobm@cunix.com (Bob Mariotti)
Subject: Semephore Help
Message-Id: <3635905e.18631103@news.tiac.net>

Can someone help, please: 

We have scoured the FAQ's and come up empty.  We are trying to control
access to a serial port with a CGI script.  To prevent interlacing by
multi-taking we would like to use a semaphore to control access.
We have spent the last several days trying to implement this logic
with no luck (on our IBM AIX box)

Can someone please provide a snipit of code as an example of
setting/waiting then releasing these semephores?

Thanks in advance.



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

Date: Mon, 26 Oct 1998 13:54:18 -0500
From: Dan Tropea <dtropea@cabletron.com>
Subject: Sending mail using perl
Message-Id: <3634C55A.1AC6@cabletron.com>

I have created a perl cgi program that will take a html form and
process the data. The question is once i process the data i 
know how to shove the data into a output file but i would like to 
also automatically send the data to a person via e-mail. 

Any suggestions. 

Thank you.


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

Date: 26 Oct 1998 12:04:31 -0800
From: dtropea@ctron.com
Subject: Sending mail using perl
Message-Id: <712kkf$b9m@pdrn.zippo.com>

I have created a perl cgi program that will take a html form and
process the data. The question is once i process the data i 
know how to shove the data into a output file but i would like to 
also automatically send the data to a person via e-mail. 

Any suggestions. 

Thank you.


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

Date: Mon, 26 Oct 1998 15:39:29 -0600
From: "Geir Sjurseth" <geir_sjurseth@dell.com>
Subject: Re: Sending mail using perl
Message-Id: <712pno$ii$1@obsidian.us.dell.com>

Sure all you gotta do is issue commands directly to sendmail.
like so:

open(MAIL,"|sendmail -t"); ## Sendmail -t tells it to wait for each command
individually ##
print MAIL "TO:  whoever\@wherever.com\n";
print MAIL "FROM:  whoever\@wherever.com\n";
print MAIL "Subject:  whatever the subject is\n";
print MAIL "the body of your message\n";
print MAIL ".\n";
close (MAIL);
in lieu of manually typing out the body you just port over the <textarea>
from your html.

It is quick and easy....

maybe you can anser my question.

How would use OLE to open up an .XLS spreadsheet read only?  Any idea?
Geir_sjurseth@dell.com

Dan Tropea wrote in message <3634C55A.1AC6@cabletron.com>...
>I have created a perl cgi program that will take a html form and
>process the data. The question is once i process the data i
>know how to shove the data into a output file but i would like to
>also automatically send the data to a person via e-mail.
>
>Any suggestions.
>
>Thank you.




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

Date: 26 Oct 1998 21:08:33 GMT
From: gbacon@itsc.uah.edu (Greg Bacon)
Subject: Re: Sending mail using perl
Message-Id: <712och$5qu$1@info.uah.edu>

In article <3634C55A.1AC6@cabletron.com>,
	Dan Tropea <dtropea@cabletron.com> writes:
: I have created a perl cgi program that will take a html form and
: process the data. The question is once i process the data i 
: know how to shove the data into a output file but i would like to 
: also automatically send the data to a person via e-mail. 

Talk to /usr/lib/sendmail.  Sending mail is its specialty, after all.

Greg
-- 
I don't think a powerful program makes my life better if I have to wear chains
to use it, if using it means I lose my freedom to share.
    -- RMS


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

Date: Mon, 26 Oct 1998 21:18:08 GMT
From: mcafee@waits.facilities.med.umich.edu (Sean McAfee)
Subject: Re: Size of JPEG and GIF
Message-Id: <kG5Z1.3640$fS.11744202@news.itd.umich.edu>

In article <712o2v$tb7$1@nnrp1.dejanews.com>,
 <parab0la@my-dejanews.com> wrote:
>I'm writing a small HTML generator in PERL, and wants to find out the size of
>GIF and JPEG images.  So that I can write the HEIGHT= and WIDTH= options in
>the <IMG> tag.	What is the most suitable way to do it?  Should I use PERL to
>parse the header of those files?

Yes.  You want the Image::Size module, available at CPAN, the Comprehensive
Perl Archive Network (I'm assuming you don't know what it is, else you'd
have looked there first).  You can get there from www.perl.com.

-- 
Sean McAfee | GS d->-- s+++: a26 C++ US+++$ P+++ L++ E- W+ N++ |
            | K w--- O? M V-- PS+ PE Y+ PGP?>++ t+() 5++ X+ R+ | mcafee@
            | tv+ b++ DI++ D+ G e++>++++ h- r y+>++**          | umich.edu


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

Date: Mon, 26 Oct 1998 20:21:51 GMT
From: debel@my-dejanews.com
Subject: Web Client Automation
Message-Id: <712lku$mad$1@nnrp1.dejanews.com>

Greetings!

I'm writing a web client to query a CGI program that uses the POST method.
Like this:

$ua = LWP::UserAgent->new();
my $req = POST 'http://www.usno.navy.mil/cgi-bin/aa_rstable', [year => $year,
type => $report_type, st => $state, place => $city, ZZZ => 'END' ];
my $content = $ua->request($req)->as_string;

This code works fine as long $city contains values like "Atlanta" or "Boston".
However, it fails when $city contains "Los Angeles" -- in other words, cities
with spaces in their names.

I'm using the ActiveState port of Perl (5.005) and I'm encoding the "space"
character like this:

$city =~ s/(\W)/sprintf("%%%x", ord($1))/eg;

Am I missing something here? Any advice you can give will be greatly
appreciated!
--
Daniel

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    


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

Date: Mon, 26 Oct 1998 15:36:33 -0500
From: danbeck@eudoramail.com (Daniel Beckham)
Subject: Re: where can i put in CGI program ?
Message-Id: <MPG.109ea7602b0730fb9896a8@news.supernews.com>

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

What the hell are you talking about?

In article <70rmjr$u0l$1@nnrp1.dejanews.com>, lyp22@yahoo.com says...
> Can any one tell me:
> Any free web side that i can put in my own CGI program?
> please reply by e-mail
> Thank.
> 
> -----------== Posted via Deja News, The Discussion Network ==----------
> http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    
> 


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

Date: 12 Jul 98 21:33:47 GMT (Last modified)
From: Perl-Request@ruby.oce.orst.edu (Perl-Users-Digest Admin) 
Subject: Special: Digest Administrivia (Last modified: 12 Mar 98)
Message-Id: <null>


Administrivia:

Special notice: in a few days, the new group comp.lang.perl.moderated
should be formed. I would rather not support two different groups, and I
know of no other plans to create a digested moderated group. This leaves
me with two options: 1) keep on with this group 2) change to the
moderated one.

If you have opinions on this, send them to
perl-users-request@ruby.oce.orst.edu. 


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

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