[9708] in Perl-Users-Digest
Resend: Perl-Users Digest, Issue: 3301 Volume: 8
daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Sat Aug 1 20:04:58 1998
Date: Sat, 1 Aug 98 16:59:04 -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 Sat, 1 Aug 1998 Volume: 8 Number: 3301
Today's topics:
non-perl question about linux <REPLY_TO_damonbrent@earthlink.net>
Re: non-perl question about linux (Des Herriott)
Re: non-perl question about linux <thomas@daimi.aau.dk>
Re: non-perl question about linux (Bjorn Malmberg)
Re: non-perl question about linux <nguyend7@egr.msu.edu>
Re: non-perl question about linux (Ronald J Kimball)
Re: non-perl question about linux <loucksw@bright.net>
nperl: warning: Setting locale failed. perl: warning: P <paolo@consonet.com>
Re: nperl: warning: Setting locale failed. (M.J.T. Guy)
number (6 -> 06) conversion question (Adam Donahue)
Re: number (6 -> 06) conversion question scott@softbase.com
Re: number (6 -> 06) conversion question (Larry Rosler)
Re: number (6 -> 06) conversion question (Larry Rosler)
Re: number (6 -> 06) conversion question (Larry Rosler)
Re: number (6 -> 06) conversion question (Matthew Bafford)
Re: number (6 -> 06) conversion question (Mark-Jason Dominus)
Re: open IN, "file " or die <= it dies! (Andrew M. Langmead)
Overriding print?? <kevin@today.com>
Re: Overriding print?? <jdporter@min.net>
Parse HTML to 16-bit Text <matt@steinhoff.net>
Re: Perl + FP Web Server + Microsoft Web Server joetombus@my-dejanews.com
Re: Perl + FP Web Server + Microsoft Web Server <jerryp.usenet@connected.demon.co.uk>
Re: perl 32bit <thomas@daimi.aau.dk>
Re: perl 32bit <REPLY_TO_damonbrent@earthlink.net>
Re: PERL 5.00550 and windows 95 joetombus@my-dejanews.com
Perl == Unix? (was Re: Programmer's Editor) <camerond@mail.uca.edu>
Re: Perl == Unix? (was Re: Programmer's Editor) <ckuskie@cadence.com>
Perl equivalent of Java's synchronize??? <philip.hallstrom@cendantsoft.com>
Special: Digest Administrivia (Last modified: 12 Mar 98 (Perl-Users-Digest Admin)
----------------------------------------------------------------------
Date: Thu, 30 Jul 1998 12:17:35 -0400
From: "Brent Verner" <REPLY_TO_damonbrent@earthlink.net>
Subject: non-perl question about linux
Message-Id: <6pq2sk$khc$1@birch.prod.itd.earthlink.net>
hey, i'm sorry if this non-perl question offends you, but i have a great
amount of respect for some of the regular posters, and their opinions would
be appreciated on this matter -- i know i'm wrong, so please don't waste any
more space by flaming this post.
i'm gonna leave the perl/win32 world behind and install linux on my box.
i've done a fair amount of research on linux, and have no idea which
distribution of linux to install. if any of you out there are running
linux, i'd appreciate your recommendation(s) on which linux to get. i've
been to most of the linux newsgroups, but most of the people posting are the
people having trouble with their linux (i may end up there), so i'm wanting
opinions from people who aren't having problems with their OS.
thank you,
brent
------------------------------
Date: 31 Jul 1998 15:45:37 GMT
From: des@corp.netcom.net.uk (Des Herriott)
Subject: Re: non-perl question about linux
Message-Id: <6psor1$pis$1@taliesin.netcom.net.uk>
On Fri, 31 Jul 1998 13:46:43 GMT, John Porter <jdporter@min.net> wrote:
> Draco Paladin wrote:
> >
> > I use Slackware 3.4 and haven't had any problems yet.
> > It's almost as easy as RedHat to set up too. (I've done both.)
>
> Thanks! I have heard that RedHat 5.0 had some problems with
> the "latest" (at that time) release of Perl. Can you comment
> on that?
ISTR the original Perl RPM with RH5.0 had some problems, which were
related to the packaging, not to Perl itself. An update RPM appeared
shortly after to fix the problem. I've never had a problem with Perl
on RH5.0 or RH5.1 myself.
(No, I can't remember what the problem actually was :-)
--
Des Herriott
des@corp.netcom.net.uk
------------------------------
Date: Fri, 31 Jul 1998 22:22:00 +0200
From: Thomas Jespersen <thomas@daimi.aau.dk>
Subject: Re: non-perl question about linux
Message-Id: <35C22768.B71C9CC0@daimi.aau.dk>
John Porter wrote:
>
> I'm going to both flame you -- "Shame!" -- and turn this into a
> perl-related topic.
> I've heard that some flavors of linux don't run perl too well --
> compile problems, non-functioning functions, whatever -- and
> I would like to know what flavors those are, so I can void them;
> or alternatively to hear what flavors of linux people have had
> absolutely no problems installing/using perl on.
I have been running perl on the redhat from 3.03 and up, Slackware
(don't remember version) and right now SuSE. No problems with any of
them
------------------------------
Date: Thu, 30 Jul 1998 16:17:00 GMT
From: news@NOSPAM.gb-design.com (Bjorn Malmberg)
Subject: Re: non-perl question about linux
Message-Id: <35c09c2a.9695070@news.algonet.se>
On Thu, 30 Jul 1998 12:17:35 -0400, "Brent Verner"
<REPLY_TO_damonbrent@earthlink.net> wrote:
if any of you out there are running
>linux, i'd appreciate your recommendation(s) on which linux to get. i've
>been to most of the linux newsgroups, but most of the people posting are the
>people having trouble with their linux (i may end up there), so i'm wanting
>opinions from people who aren't having problems with their OS.
I'm running Linux RedHat 5 and I have nothing to complain about, it's
fairly easy but yet a *NIX OS, I love it!!
That's my recommendation!
Bj0rN
------------------------------
Date: 30 Jul 1998 16:46:39 GMT
From: Dan Nguyen <nguyend7@egr.msu.edu>
Subject: Re: non-perl question about linux
Message-Id: <6pq81f$2gc$1@msunews.cl.msu.edu>
Brent Verner <REPLY_TO_damonbrent@earthlink.net> wrote:
Simple.
Do you want to spend $$. RedHat
Do you want it FREE. Debian
Do you want an easy time installing and managing. RedHat.
Do you want a slightly more complicated installation. Debian.
RedHat has a nice installation program, and configuration.
Debian is free, but installation and configuration can take a
while. Especially if you never installed another linux system before.
--
Dan Nguyen | There is only one happiness in
nguyend7@msu.edu | life, to love and be loved.
http://www.cse.msu.edu/~nguyend7 | -George Sand
------------------------------
Date: Fri, 31 Jul 1998 20:01:16 -0400
From: rjk@coos.dartmouth.edu (Ronald J Kimball)
Subject: Re: non-perl question about linux
Message-Id: <1dd1qen.7uzp4cfuyenhN@bay1-301.quincy.ziplink.net>
- <root.noharvest.\@not_even\here.com> wrote:
> nice... you found a very descriptive sig line for your message. You
> obviously only read the part of the message that was "off-topic"
> without being able to read the part where he said he KNEW it was off
> topic but figured the people who frequent this newsgroup would
> probably be a good source for information on linux. I suppose you are
> an NT nut and so you feel intimidated by questions pertaining to a
> real, robust operating system that outperforms NT any day?
You seem to be under the impression that it is okay to post an off-topic
message to a newsgroup as long as you acknowledge that the message is
off-topic.
You are mistaken.
It is entirely irrelevant that the people in this newsgroup may be a
good source for information on Linux. No one reads this newsgroup
because they want to share information on Linux. Anyone here who wants
to share information on Linux would also be reading the Linux
newsgroups, where the poster's original question would have been
appropriate.
Consider: I bet everyone in this newsgroup would be a good source for
information on breathing...
By the way, I prefer Unix and Mac. I don't like NT. But I don't flame
anyone because of their choice of operating system.
--
_ / ' _ / - aka - rjk@coos.dartmouth.edu
( /)//)//)(//)/( Ronald J Kimball chipmunk@m-net.arbornet.org
/ http://www.ziplink.net/~rjk/
"It's funny 'cause it's true ... and vice versa."
------------------------------
Date: Thu, 30 Jul 1998 13:30:54 -0400
From: "William L. Loucks" <loucksw@bright.net>
Subject: Re: non-perl question about linux
Message-Id: <6pqb46$1c9$1@cletus.bright.net>
I thought you could download RedHat free from
sunsite.unc.edu
...a RedHat directory is there.
>Do you want to spend $$. RedHat
>Do you want it FREE. Debian
------------------------------
Date: Sat, 01 Aug 1998 00:14:44 +0000
From: Paolo Supino <paolo@consonet.com>
Subject: nperl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LC_ALL = "", LANG = "EN" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). ew annoying behavior
Message-Id: <35C25DF4.8755EB7E@consonet.com>
Hi
This morning I tried to install PGP module on my computer. Since then
evey time I run perl it give me the following error a few times while
the script runs:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LC_ALL = "",
LANG = "EN"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
How can I make this go away (My scripts are mostly text menu based scripts).
--
Paolo
------------------------------
Date: 1 Aug 1998 12:14:50 GMT
From: mjtg@cus.cam.ac.uk (M.J.T. Guy)
Subject: Re: nperl: warning: Setting locale failed.
Message-Id: <6pv0rq$377$1@pegasus.csx.cam.ac.uk>
[ Subject line trimmed ! ]
Paolo Supino <paolo@consonet.com> wrote:
>
>perl: warning: Setting locale failed.
>perl: warning: Please check that your locale settings:
> LC_ALL = "",
> LANG = "EN"
> are supported and installed on your system.
>perl: warning: Falling back to the standard locale ("C").
>
>
> How can I make this go away (My scripts are mostly text menu based scripts).
Follow the instructions on the packet. perldiag says this
perl: warning: Setting locale failed.
(S) The whole warning message will look something like:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LC_ALL = "En_US",
LANG = (unset)
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Exactly what were the failed locale settings varies. In
the above the settings were that the LC_ALL was "En_US"
and the LANG had no value. This error means that Perl
detected that you and/or your system administrator have
set up the so-called variable system but Perl could not
use those settings. This was not dead serious,
fortunately: there is a "default locale" called "C" that
Perl can and will use, the script will be run. Before
you really fix the problem, however, you will get the
same error message each time you run Perl. How to
really fix the problem can be found in the perllocale
manpage section LOCALE PROBLEMS.
Now try perldoc perllocale ...
Mike Guy
------------------------------
Date: 30 Jul 1998 13:50:27 GMT
From: amd0978@acf2.nyu.edu (Adam Donahue)
Subject: number (6 -> 06) conversion question
Message-Id: <6pptn3$q0b$1@news.nyu.edu>
Let's say I want to convert the output of localtime so that anything less
than 10 gets a leading zero. Is there a quick and easy way of doing
this? I came up with
($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) =
map { if ($_ < 10) {"0" . $_} else {$_} } localtime(time);
but this doesn't seem as elegant as it could be. ;-) Any other
suggestions?
------------------------------
Date: 30 Jul 1998 15:07:08 GMT
From: scott@softbase.com
Subject: Re: number (6 -> 06) conversion question
Message-Id: <35c08c1c.0@news.new-era.net>
Adam Donahue (amd0978@acf2.nyu.edu) wrote:
> Let's say I want to convert the output of localtime so that anything less
> than 10 gets a leading zero. Is there a quick and easy way of doing
> this?
I normally use sprintf, out of laziness. If the number already has a 0,
a %2d won't affect it, and will add it if not. You could also use
something like
$numb = '0' . $numb if (length($numb) == 1)
I'm not sure which would be more efficient, but how often do you have
to do this?
Scott
--
Look at Softbase Systems' client/server tools, www.softbase.com
Check out the Essential 97 package for Windows 95 www.skwc.com/essent
All my other cool web pages are available from that site too!
My demo tape, artwork, poetry, The Windows 95 Book FAQ, and more.
------------------------------
Date: Thu, 30 Jul 1998 07:48:33 -0700
From: lr@hpl.hp.com (Larry Rosler)
Subject: Re: number (6 -> 06) conversion question
Message-Id: <MPG.102a279f4c2aa4c19897a4@nntp.hpl.hp.com>
[Posted to comp.lang.perl.misc and copy mailed.]
In article <6pptn3$q0b$1@news.nyu.edu> on 30 Jul 1998 13:50:27 GMT, Adam
Donahue <amd0978@acf2.nyu.edu> says...
> Let's say I want to convert the output of localtime so that anything less
> than 10 gets a leading zero. Is there a quick and easy way of doing
> this? I came up with
>
> ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) =
> map { if ($_ < 10) {"0" . $_} else {$_} } localtime(time);
>
> but this doesn't seem as elegant as it could be. ;-) Any other
> suggestions?
perldoc -f sprintf
It is easy enough (once you get the hang of it) and (despite a recent
thread here questioning this) quite quick enough.
--
Larry Rosler
Hewlett-Packard Laboratories
http://www.hpl.hp.com/personal/Larry_Rosler/
lr@hpl.hp.com
------------------------------
Date: Thu, 30 Jul 1998 09:57:24 -0700
From: lr@hpl.hp.com (Larry Rosler)
Subject: Re: number (6 -> 06) conversion question
Message-Id: <MPG.102a45ca414cedff9897a7@nntp.hpl.hp.com>
[Posted to comp.lang.perl.misc and copy mailed.]
In article <35c196ab.1590537@thunder> on Thu, 30 Jul 1998 16:08:04 GMT,
David Cantrell <NukeEmUp@ThePentagon.com> says...
...
> Extending this question a bit, is there an elegant way of zero-padding
> a number to an arbitrary length. For instance, padding to make all
> numbers 4 figures ... 6 -> 0006, 37 -> 0037, and so on ...
>
> I thought that sprintf was the way to go, but having gone through the
> docs and K&R I can't figure out what the format should be.
Can you generalize from '%.2d' ?
--
Larry Rosler
Hewlett-Packard Laboratories
http://www.hpl.hp.com/personal/Larry_Rosler/
lr@hpl.hp.com
------------------------------
Date: Thu, 30 Jul 1998 10:00:18 -0700
From: lr@hpl.hp.com (Larry Rosler)
Subject: Re: number (6 -> 06) conversion question
Message-Id: <MPG.102a467a42830fda9897a8@nntp.hpl.hp.com>
[Posted to comp.lang.perl.misc and copy mailed.]
In article <1998Jul30.161522@ukwit01> on Thu, 30 Jul 1998 16:15:22 BST,
Lack Mr G M <gml4410@ggr.co.uk> says...
...
> Use printf and a format of %2zd for the number.
That is not supported by any perl I know of. Have you tried it? You
surely mean '%.2d' as has been shown here ad nauseam.
--
Larry Rosler
Hewlett-Packard Laboratories
http://www.hpl.hp.com/personal/Larry_Rosler/
lr@hpl.hp.com
------------------------------
Date: Thu, 30 Jul 1998 15:30:32 GMT
From: dragons@scescape.net (Matthew Bafford)
Subject: Re: number (6 -> 06) conversion question
Message-Id: <MPG.102a54202aed8495989691@news.scescape.net>
In article <6pptn3$q0b$1@news.nyu.edu> on 30 Jul 1998 13:50:27
GMT, Adam Donahue (a) felt the following information to be of
use:
>
> Let's say I want to convert the output of localtime so that anything less
> than 10 gets a leading zero. Is there a quick and easy way of doing
> this? I came up with
>
> ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) =
> map { if ($_ < 10) {"0" . $_} else {$_} } localtime(time);
>
> but this doesn't seem as elegant as it could be. ;-) Any other
> suggestions?
Well, this may not be the best, but it works:
($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) =
map { sprintf '%.2d', $_ } localtime(time);
Hope this helps!
--Matthew
------------------------------
Date: 1 Aug 1998 13:05:55 -0400
From: mjd@op.net (Mark-Jason Dominus)
Subject: Re: number (6 -> 06) conversion question
Message-Id: <6pvhtj$d5n$1@monet.op.net>
In article <35c196ab.1590537@thunder>,
David Cantrell <NukeEmUp@ThePentagon.com> wrote:
>Extending this question a bit, is there an elegant way of zero-padding
>a number to an arbitrary length.
sub pad_int {
my ($length, $value) = @_;
sprintf("%0${length}d", $value);
}
You don't want to call it `pad_print', because it doesn't print
anything.
Caution: This solution is not portable to systems without Perl.
------------------------------
Date: Thu, 30 Jul 1998 14:46:30 GMT
From: aml@world.std.com (Andrew M. Langmead)
Subject: Re: open IN, "file " or die <= it dies!
Message-Id: <Ewwx1I.J5M@world.std.com>
kst@king.cts.com (Keith Thompson) writes:
>This is actually mentioned in the on-line documentation for "open".
>Here's the relevant passage from the 5.004_04 docs.
> The filename that is passed to open will have
> leading and trailing whitespace deleted.
[stuff deleted]
>Personally, I think this is a misfeature. Note that the solution
>(prepending "./" )is Unix-specific (unless Perl magically makes it work
>on other systems).
I've always assumed that the removal of leading and trailing
whitespace comes from perl's heritage. If it was a language that the
moniker "Practical Extraction and Reporting Language" could be tacked
onto, it is very likely that "reports" were created from filenames
"extracted" from fixed field files (like the output format of many
unix utilities). In an environment such as this, there is very likely
leading and trailing whitespace.
And no, perl doesn't perform any path translation when passing
filenames to the operating system. Some operating systems (like MS-DOS
and Windows) allow the forward slash as an optional alternate path
separator, so the programmer can still use a forward slash, but others
(like the Macintosh) do not.
--
Andrew Langmead
------------------------------
Date: Thu, 30 Jul 1998 10:48:29 -0700
From: Kevin Williams <kevin@today.com>
Subject: Overriding print??
Message-Id: <35C0B1ED.C8EF0E99@today.com>
I'm trying to find a way to override print. After searching the net and
dejanews I still haven't found a good way to do this. I know it's one
of the functions you cannot directly override. What is the easiest way
to do this? Do I need to get in the code and rewrite the parts I want?
Or is there a layer above that? I don't really want to have to report
this for every new version of Perl.
I'm basically trying to redirect perl's print through ISAPI's
WriteClient call. No, I don't want to use PerlIS from ActiveState. Any
other ideas?
Thanks for your help.
Kevin
------------------------------
Date: Thu, 30 Jul 1998 18:46:32 GMT
From: John Porter <jdporter@min.net>
Subject: Re: Overriding print??
Message-Id: <35C0C028.19DB@min.net>
Kevin Williams wrote:
>
> I'm basically trying to redirect perl's print through ISAPI's
> WriteClient call.
TIEHANDLE.
--
John Porter
------------------------------
Date: Thu, 30 Jul 1998 11:56:56 -0400
From: Matt Steinhoff <matt@steinhoff.net>
Subject: Parse HTML to 16-bit Text
Message-Id: <35C097C8.2267@steinhoff.net>
I've got to translate HTML files to a proprietary 16-bit
format (familar with Atex?). Until recently, it was fine to
lose the text mode information (bold, italic, etc.) and just
send plain text.
Easy: dump the de-html'ed text through sed 's/./&^@/g'.
Now I've got to send the mode information along with the
transmission. Problem.
I bought a couple exotic (at least to my neighborhood)
animals and figured that I could learn enough perl to get it
done in a couple weeks if I used the perl HTML to ASCII parser
currently in use as a base to work from.
I'm two weeks in and can't.
So here's the question...
What's the easiest way to covert from...
There is a <B>bold</B> word in this sentence.
...to...
There is a b^Do^Dl^Dd^D word in this sentence.
I know better than to expect code as I've posted none of
my own, but pointers to modules that do something nearly like
this and inspiration would be great. (Of course I won't turn
down code. {grin})
I've already looked into Unicode::Map8 and the like, but
since I'm not doing a full character set replacement so I
don't see that they would be very useful.
Matt
+----------------------------------------------------------------+
| Matt Steinhoff 407-420-6121 |
| matt@steinhoff.net Unix Systems Administrator |
------------------------------
Date: Fri, 31 Jul 1998 20:33:16 GMT
From: joetombus@my-dejanews.com
Subject: Re: Perl + FP Web Server + Microsoft Web Server
Message-Id: <6pt9mc$f0t$1@nnrp1.dejanews.com>
binmode did not help either. I tried! Thank you anyway for the input!
> perldoc -f binmode
In article <35C05746.C76DB388@daimi.aau.dk>,
thomas@daimi.aau.dk wrote:
> grumo@passosnet.net wrote:
> >
> > Sorry,
> >
> > It is possible to make Perl to work with above home servers, period.
> >
> > But, only the Content-Type: text/html seems to produce results in the
> > browser. For instance:
> >
> > $file = 'myfile.gif';
> > print "Content-Type: image/gif\n\n";
> > open(PIC,"$file");
> > print <PIC>;
> > close(PIC);
> >
> > produces no image! Strange?!
> >
> > Anyone, can give some input? I guess this is not a easy one.
>
-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/rg_mkgrp.xp Create Your Own Free Member Forum
------------------------------
Date: Sat, 1 Aug 1998 15:27:24 +0100
From: Jerry Pank <jerryp.usenet@connected.demon.co.uk>
Subject: Re: Perl + FP Web Server + Microsoft Web Server
Message-Id: <bQK5RFAMXyw1EwuC@connected.demon.co.uk>
In <comp.lang.perl.misc>
joetombus@my-dejanews.com, writes:
>binmode did not help either. I tried! Thank you anyway for the input!
>
>> perldoc -f binmode
>
>In article <35C05746.C76DB388@daimi.aau.dk>,
> thomas@daimi.aau.dk wrote:
>> grumo@passosnet.net wrote:
>> >
>> > Sorry,
>> >
>> > It is possible to make Perl to work with above home servers, period.
>> >
>> > But, only the Content-Type: text/html seems to produce results in the
>> > browser. For instance:
>> >
>> > $file = 'myfile.gif';
>> > print "Content-Type: image/gif\n\n";
>> > open(PIC,"$file");
>> > print <PIC>;
>> > close(PIC);
>> >
>> > produces no image! Strange?!
>> >
>> > Anyone, can give some input? I guess this is not a easy one.
>>
>
>-----== Posted via Deja News, The Leader in Internet Discussion ==-----
>http://www.dejanews.com/rg_mkgrp.xp Create Your Own Free Member Forum
As a book consuming learner, I had loads of problems doing this within
Window$.
The example I used (from Shishir Gundavaram's CGI Programming) would
intermittently fail dependant on image content until `binmode STDOUT'
was added. Live and learn :-(
I think `local $/' could help but I'm willing to be warmed for that one.
# works under windows
sub image {
my $picture = shift; # full filename
binmode(STDOUT); # this is `the secret' for a POB
local $/; # this may help ?
open (IMAGE, "<".$picture) or die "$! $picture_path";
binmode IMAGE;
my $size = (stat($picture))[7]; # there are other ways
print "content-type: image/gif\n";
print "content-length: $size\n\n";
print <IMAGE>;
close IMAGE;
}
--
Jerry Pank mailto:jerryp.usenet@connected.demon.co.uk
That wouldn't be good enough.
-- Larry Wall in <199710131621.JAA14907@wall.org>
------------------------------
Date: Thu, 30 Jul 1998 16:09:39 +0200
From: Thomas Jespersen <thomas@daimi.aau.dk>
Subject: Re: perl 32bit
Message-Id: <35C07EA3.6C4DFEA9@daimi.aau.dk>
philey wrote:
>
> hey.
> where can i get the perl compiler for windows 95?
/CPAN/ports/
------------------------------
Date: Thu, 30 Jul 1998 12:27:09 -0400
From: "Brent Verner" <REPLY_TO_damonbrent@earthlink.net>
Subject: Re: perl 32bit
Message-Id: <6pq3eh$lb8$1@birch.prod.itd.earthlink.net>
philey <philey@hotmail.com> wrote in message
6po72t$4qg$1@usenet40.supernews.com...
>hey.
>where can i get the perl compiler for windows 95?
>
>thanks
i don't know if this is what you are looking for, but this compiles perl
scripts into .exe for win32 only, yeah that sounds like what you are asking
for.
http://www.demobuilder.com/perl2exe.htm
use the GS port rather than the activestate in my opinion.
brent
------------------------------
Date: Fri, 31 Jul 1998 20:41:00 GMT
From: joetombus@my-dejanews.com
Subject: Re: PERL 5.00550 and windows 95
Message-Id: <6pta4s$fpc$1@nnrp1.dejanews.com>
Path problem!?
PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;C:\ISB\BIN;C:\PERL\5.00550\BIN\;C:\PERL\5.
005 50\MSWIN3~1\ works...
In article <35C18A20.2432D84@nortel.co.uk>,
"F.Quednau" <quednauf@nortel.co.uk> wrote:
> Gilles Maire wrote:
> >
>
> >
PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;C:\ISB\BIN;C:\PERL\5.00550\BIN\;C:\PERL\5.005
50\MSWIN32-X86\
>
> > if I am not in the good directory, the perl command is not found... It
> > is a problem with the path variable... on window 95 .. any idea?
> >
> > Gilles MAire
>
-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/rg_mkgrp.xp Create Your Own Free Member Forum
------------------------------
Date: Thu, 30 Jul 1998 13:38:43 -0500
From: Cameron Dorey <camerond@mail.uca.edu>
To: Tom Christiansen <tchrist@mox.perl.com>
Subject: Perl == Unix? (was Re: Programmer's Editor)
Message-Id: <35C0BDB3.475A26B6@mail.uca.edu>
[cc'd to tc]
First, thank you, Tom, for cc'ing this to me, because my newsfeed seems
to "burp" occasionally, delaying postings for days, even.
Tom Christiansen wrote:
>
> [courtesy cc of this posting sent to cited author via email]
>
> In comp.lang.perl.misc,
> Cameron Dorey <camerond@mail.uca.edu> writes:
> :IMHO, Questions 1 and 2 are valid, but with all due respect, this ain't
> :comp.lang.perl.unix, and Question 3 is irrelevant ["Does it run on Unix?].
>
> Not so. You cannot know Perl well without knowing Unix -- the more you
> know one, the more you know the other -- and vice versa.
I beg to differ, your logic is faulty. I do not know Unix. I am learning
Perl. If I knew Unix to begin with, maybe some of the stumbling blocks I
am finding with Perl would have been easier to traverse, but they are
not impossible now. Maybe, after sufficient work with Perl, I will be
able to learn Unix, if the need ever arises, but in the forseeable
future, I have no need. According to perl5.005.announce on CPAN,
"Virtually all known and current Unix derivatives are supported, as are
VMS, DOS, OS/2, Windows, QNX, BeOS, and the Amiga. There are also the
beginnings of support for MPE/iX." That would lead me to believe that,
although it may be the vast majority of systems which use Perl are some
flavor of Unix, that the two are not inseparable.
> Anyway, Perl development is done on Unix. It's a relevant issue.
Relevant, perhaps, for the Perl Porters, but not necessarily for a Perl
user. I would love to be a Porter, but I'm actually just a lowly
chemist, using Perl as written (on M$, no less).
> And if you must know, it's because I'm sick and tired of fleeceware
> for PoBs and nothing for programmers.
Tom, I think we all are aware of your feelings about M$. Fine, I can
live with that, and I don't like the evidence we see of people who just
want to copy a script without learning anything about how it works, and
then bugging others to "fix" it. I don't believe we get too many of them
who come back time and again on clpm, I haven't noted any signature from
that breed coming up often. Why not? Well, someone will have to ask
them.
> --tom
------------------------------
Date: Fri, 31 Jul 1998 16:10:50 -0700
From: Colin Kuskie <ckuskie@cadence.com>
To: Tom Christiansen <tchrist@mox.perl.com>
Subject: Re: Perl == Unix? (was Re: Programmer's Editor)
Message-Id: <Pine.GSO.3.96.980731160424.29004C-100000@pdxmail.cadence.com>
On 30 Jul 1998, Tom Christiansen wrote:
> [courtesy cc of this posting sent to cited author via email]
>
> Oh, crud, looks like the cat's out the bag. We've been apprehended
> redhanded. It's all true. Unix, you see, if a virus -- and Perl is
> the carrier that allows it to jump hosts, even penetrating hostile
> environments. You are now all infected. But don't worry! It's a
> beneficial virus! The Unix virus through its deceptive Perl shell is
> now rewriting your DNA by repairing the broken parts, not breaking the
> working ones. Be happy. Tell your friends. Spread the contamination.
> Be one with the Unix. It will set your free. Be free!
For those of you who don't believe Tom, I would encourage you to get a
copy of the Winter 1996 edition of The Perl Journal. It is the story
of a man in the terminal stage of infection:
"I cannot control myself any more. Soon I shall be entirely its
creature, and then I shall be forced to write down the forbidden
knowledge I have received - write it down and publish it in an
innocuous-looking volume, presented to the general reader so that they
might suffer and wilt in its hideous grasp.
But first I warn you! Flee while you can! Flee before the approach of
the dread beast with one hump and no 'a' in its name, flee before it
eats your mind as it has
Oh, that's better. I feel all right now. Don't worry, everything is
under control.
There is no cause for alarm.
I repeat: there is no cause for alarm."
-- Charlie Stross, TPJ v.1, n.4 Winter 1996. pg 38.
------------------------------
Date: Fri, 31 Jul 1998 17:24:07 -0700
From: Philip Hallstrom <philip.hallstrom@cendantsoft.com>
Subject: Perl equivalent of Java's synchronize???
Message-Id: <Pine.GSO.3.96.980731165834.15233N-100000@rose>
Hi -
I'm about to get into some Apache/Perl stuff and have a function
that will be persistant, but should only be called by one instance at a
time (did that make sense?)
In Java (at least when I played with it) had a keyword "synchronize" that
if put before functions indicated that it could only be called "one at a
time".
Other than using flock is there a way to do this in Perl?
Thanks!
-philip
--
Philip Hallstrom
philip.hallstrom@cendantsoft.com
425.649.9800 x5738
------------------------------
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 3301
**************************************