[9721] in Perl-Users-Digest
Perl-Users Digest, Issue: 3315 Volume: 8
daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Sun Aug 2 02:05:14 1998
Date: Sat, 1 Aug 98 23:00:20 -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: 3315
Today's topics:
Re: # in a print statement <johnc@interactive.ibm.com>
Re: ...maybe not <snif.nospamplease@xs4all.nl>
Re: 3 more questions for perl win32 officianados scott@softbase.com
Re: Converting ACCESS database to PERL/CGI (Fred Hurtubise)
device number -> filestystem? (Vladimir Gabrielescu)
Expect problem (Antti-Jussi Korjonen)
help help help please!!!! <dstanton@airmail.net>
Re: Help with Perl... <perlguy@inlink.com>
Re: hiding user input <johnc@interactive.ibm.com>
Re: How to change one field in a flat database? (Bjorn Malmberg)
How to read a variable from another Perl program? guna@my-dejanews.com
Re: Local Perl Installation and Form Processing <Tony.Curtis+usenet@vcpc.univie.ac.at>
Re: non-perl question about linux <jdporter@min.net>
Re: non-perl question about linux <ajohnson@gpu.srv.ualberta.ca>
PERL 5.00550 and windows 95 <Gilles.Maire@ungi.com>
Re: Perl == Unix? (was Re: Programmer's Editor) <quednauf@nortel.co.uk>
Re: Perl == Unix? (was Re: Programmer's Editor) <alan@find-it.furryferret.uk.com>
Re: Perl for Win32 <foltzj@timken.com>
Re: Problem with variables in simple script... (Ronald J Kimball)
Re: Problem with variables in simple script... <dgris@rand.dimensional.com>
Re: Programmer's Editor (Gabor)
Re: Programmer's Editor <alan@find-it.furryferret.uk.com>
Re: Programmer's Editor <alan@find-it.furryferret.uk.com>
Re: Programmer's Editor <alan@find-it.furryferret.uk.com>
Re: running an exe from a perl script <raul@miedo.gsyc.inf.uc3m.es>
Re: Split the command line! <redmondm@worldnet.att.net>
Re: Variable length exceed? <qdtcall@esb.ericsson.se>
Re: What's the future of Perl? <zenin@bawdycaste.org>
Re: Year 2000 <quednauf@nortel.co.uk>
Special: Digest Administrivia (Last modified: 12 Mar 98 (Perl-Users-Digest Admin)
----------------------------------------------------------------------
Date: Thu, 30 Jul 1998 14:38:23 +0000
From: John Call <johnc@interactive.ibm.com>
Subject: Re: # in a print statement
Message-Id: <35C0854B.C9F7E3DF@interactive.ibm.com>
Abigail wrote:
> Being new is not an excuse for not reading the manuals. It's in perlop.
>
> Abigail
> --
> perl -wle\$_=\<\<EOT\;y/\\n/\ /\;print\; -eJust -eanother -ePerl -eHacker -eEOT
I thought once the "Perl Studs" got their .moderated group that any advice they
gave here would be a little less venomous. I guess not. You got the new group. Go
be rude in there. If you give advice here then take the Tom P.'s approach please.
John Call
------------------------------
Date: Thu, 30 Jul 1998 19:24:33 +0200
From: "Jonkers" <snif.nospamplease@xs4all.nl>
Subject: Re: ...maybe not
Message-Id: <6pqa81$hcu$1@news2.xs4all.nl>
Brent Verner wrote in message <6pq1cv$icv$1@birch.prod.itd.earthlink.net>...
<snip>
>The latest build of Perl for Win32, Perl for ISAPI and PerlScript is Build
>316.
>This is based on 5.003_07 Core Perl code.
They're indeed a bit behind. The strange thing is that ActiveState says
their recent perl is dated/made 27 July 1998, so you might expect 5.005.
After downloading, you discover this is not true and you got yourself a very
old version.
<snip>
>bc5 and vc5. you'll have to wait until GS builds it, or know someone who
The strange thing is that GS, AFAIK, and many others have already built
perl.exe (Perl5.005) several times. I suppose there must be a special
reason, unknown to me, they're not putting it on the web. Maybe I should try
a magic word? ... Please ... ;-)
Sander
------------------------------
Date: 30 Jul 1998 19:11:01 GMT
From: scott@softbase.com
Subject: Re: 3 more questions for perl win32 officianados
Message-Id: <35c0c545.0@news.new-era.net>
KHeise (kheise@aol.com) wrote:
> 1) when i do a binary read on files with a line-feed (hex 0D) in the
> middle of a record it prints to file with a carriage-return inserted in
> front of it. i can't have this happen because the records are no longer
> fixed-length. i asked about this at the beginning of this week and a
> couple of generous folks recommended the binmode(HANDLE) command. i
> used this and, though it solved several other problems, the carriage
> return still appears. any suggestions?
I'll have to pass on this unless you have an example or something.
Usually quirks like this go away when you upgrade to a newer Perl
version.
> 2) how can i print a report in perl win32 after processing a file?
Several ways come to mind: You can just do a system("print file.txt")
to print to the default printer. You can use Automation to control
Word (or another Automation-capable program) for finer control over
the output.
> 3) what is a spammer?
It has something to do with GNU software licenses and FAQs.
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 17:40:02 GMT
From: fhurtubi@videotron.net (Fred Hurtubise)
Subject: Re: Converting ACCESS database to PERL/CGI
Message-Id: <35c0af14.15987897@news.videotron.net>
On Thu, 30 Jul 1998 15:50:16 GMT, NukeEmUp@ThePentagon.com (David
Cantrell) wrote:
>>Nope..
>>
>>No ODBC drivers does this (well, im on the DBI mailing list and thats
>>what many say :)
>
>Five out of ten ;-) perl can't talk directly to ODBC, but Dave Roth's
>excellent Win32::ODBC module allows perl on Win32 to talk to any ODBC
>datasource. It's on CPAN.
Ok, you're right...
But Im right too...
I should have add that no ODBC drivers can link a Access DB (Windoze)
to a Unix machine
[ Fridiric Hurtubise (frederic.hurtubise@videotron.net) ICQ : 390555 ]
[ Programmeur WWW - Perl - Oracle | Tiliphone: (514)281-1232 # 2972 ]
[ Groupe Vidiotron Ltie - Vidiotron.Net | http://spc.videotron.com ]
- Hi, Montreal Expos Office.
- Hi, what time is the game tonight?
- Well, depends, what time can you be here?
------------------------------
Date: 30 Jul 1998 13:49:02 -0400
From: vgabriel@lochaber.rutgers.edu (Vladimir Gabrielescu)
Subject: device number -> filestystem?
Message-Id: <6pqbme$cqk$1@lochaber.rutgers.edu>
I'm trying to figure out on what file system a file resides.
Using Perl5.004 under Solaris 2.6, I call stat, which among
other things returns a $dev. And yup, i can prove the $dev
is unique for each filesystem, but as far as I can tell it's
a large integer which I can't figure our how to map into a
real file system. Solaris does have a ustat(2) which I could
call, but does Perl have any native way of doing this?
Vlad
------------------------------
Date: 31 Jul 1998 11:26:06 GMT
From: aajii@aajii.ton.tut.fi (Antti-Jussi Korjonen)
Subject: Expect problem
Message-Id: <6ps9ke$9ht$1@baker.cc.tut.fi>
Hi!
This script works just fine, except I'd need to store the output in an array.
And I haven't got any idea, how to do this. Can anyone help?
sub execute_pad_command {
my ($command_to_execute)=@_;
use Expect;
$prompt="ready:";
$connection=Expect->spawn('/opt/SUNWconn/bin/pad',$command_port);
$connection->expect(3,'Connected') or die "Connection refused by pad.\r";
print $connection $password,"\r";
$connection->expect(3,$prompt) or die "Wrong password.\r";
#the output of expression below should be stored in an array...
print $connection $command_to_execute,"\r"; #<--------------------------
#
$connection->expect(3,$prompt) or die "Problems in executing command $command_to_execute.\r";
print $connection "d\r";
$connection->expect(3,'Call Cleared - DTE Originated (0000)');
$connection->hard_close();
}
--
__/ __/ __/ __/ Antti-Jussi Korjonen
__/ __/ __/ __/ __/__/ Vaajakatu 5 D 85
__/ __/ __/ __/ __/__/ 33720 TAMPERE, FINLAND
__/ __/ __/__/__/ __/ __/ tel. +358-(0)40-577 83 23
Antti-Jussi.Korjonen@sonera.fi
--------->> http://www.students.tut.fi/~k150556 <<---------
------------------------------
Date: Sun, 02 Aug 1998 00:15:14 -0700
From: David <dstanton@airmail.net>
Subject: help help help please!!!!
Message-Id: <17EE283EE436E57D.79B1767C5FCF431B.D6B604A0620B1D93@library-proxy.airnews.net>
I am trying to create a form with a special function.
I need a visitor to be able to go to my web site, then enter info into a
form. The first question will be "what is your company name?" The other
questions will be address, phone number etc.
Now here is the tricky partwhen they hit the submit button, the info
needs to go to a folder on my web site (server) that is entitled
Customers. When it writes the file to the fold with the info it needs
to be named the same name as the company name. Rem the first question
on the form was "what is your company name"? If another company fills
out the form then the next doc is saved as that company name. If two
company names are the same, then the perl will add a "1" to the dup.
When it saves this doc to the folder on the server, the info needs to be
config with one line per item and no titles.. ie this is the WRONG WAY
it should look:
Name: ABC Company
Address: 1234 main
City: Dallas
State: Texas
This is the CORRECT way it should look:
ABC Company
1234 main
Dallas
Texas
If anyone can provide the Perl for this I would really appreciate it.
Thanks in advance
David
------------------------------
Date: Fri, 31 Jul 1998 11:48:22 GMT
From: Brent Michalski <perlguy@inlink.com>
Subject: Re: Help with Perl...
Message-Id: <35C1AF06.B2879AA@inlink.com>
I wrote an article that does ALMOST what you area asking here. In the
article, it actually writes the whole HTML file every time. You could
modify it so that it only changes the text in between variables if you
wanted to.
Either way, it may be a good starting point. It is not a complex
example, just a nice, simple one waiting to be built upon.
You can find it at: http://webreview.com
HTH,
Brent Michalski
------------------------------
Date: Thu, 30 Jul 1998 14:38:42 +0000
From: John Call <johnc@interactive.ibm.com>
Subject: Re: hiding user input
Message-Id: <35C0855E.82D3256E@interactive.ibm.com>
Abigail wrote:
> Is there something wrong with your eyes that you didn't read the FAQ?
>
> Abigail
> --
> perl -wleprint -eqq-@{[ -eqw\\- -eJust -eanother -ePerl -eHacker -e\\-]}-
I thought once the "Perl Studs" got their .moderated group that any advice they
gave here would be a little less venomous. I guess not. You got the new group. Go
be rude in there. If you give advice here then take the Tom P.'s approach please.
John Call
------------------------------
Date: Thu, 30 Jul 1998 20:02:48 GMT
From: news@NOSPAM.gb-design.com (Bjorn Malmberg)
Subject: Re: How to change one field in a flat database?
Message-Id: <35c0d11c.23250366@news.algonet.se>
On Thu, 30 Jul 1998 13:41:06 -0500, tadmc@flash.net (Tad McClellan)
wrote:
> perlfaq, part 5:
>
> "How do I change one line in a file/
> delete a line in a file/
> insert a line in the middle of a file/
> append to the beginning of a file?"
>
> Those sound similar to me.
>
Thanks a lot, I'll try that one.. Hmm, why didn't I find that one in
the CPAN before I posted this msg??
>
>
> If you are having trouble with some other aspect of your program,
> then mention what aspect that is, and someone here will likely
> try and help you.
No problem yet, but I know where I can get more help if needed!
Thank you!
Bj0rN
------------------------------
Date: Thu, 30 Jul 1998 18:09:03 GMT
From: guna@my-dejanews.com
Subject: How to read a variable from another Perl program?
Message-Id: <6pqcru$g50$1@nnrp1.dejanews.com>
Hi,
i have two independant perl programs, say "server" and "client".
The "server" starts something like,
#!/usr/local/bin/perl
$myname = "John Steamer";
.
.
Now, is there a way i can read $myname from "client" without actually parsing?
something like an "extern" in "C" programs. If i use "require" it actually
executes the "server" code which i don't want.
Please cc to my email (guna@remedy.com) address also.
thanks,
Guna
-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/rg_mkgrp.xp Create Your Own Free Member Forum
------------------------------
Date: 31 Jul 1998 10:45:02 +0200
From: Tony Curtis <Tony.Curtis+usenet@vcpc.univie.ac.at>
Subject: Re: Local Perl Installation and Form Processing
Message-Id: <7x90lawgs1.fsf@fidelio.vcpc.univie.ac.at>
Re: Local Perl Installation and Form Processing, John
<john@cutnfun.com> said:
John> My scripts run
John> fine on my ISP, but I can't get them to work locally.
which has an HTTP server installed...
John> but I can't get them to work locally.
but you don't have one installed...
John> ... [snip] ...
John> <FORM METHOD=POST
John> ACTION="file:///F|/perl/bin/order-power.cgi">
^^^^^
No POST'able server involved in this URI.
John> The script does work from the command line, but
So it's not really a perl problem then.
John> obviously I can't send data to the script from the
John> command line.
You can with CGI.pm - this would solve most of your problems
in one fell swoop.
The most general solution is to install your own HTTP
server, but that's off-topic for this group.
hth
tony
--
Tony Curtis, Systems Manager, VCPC, | Tel +43 1 310 93 96 - 12; Fax - 13
Liechtensteinstrasse 22, A-1090 Wien, AT | <URI:http://www.vcpc.univie.ac.at/>
"You see? You see? Your stupid minds! | personal email:
Stupid! Stupid!" ~ Eros, Plan9 fOS. | tony_curtis32@hotmail.com
------------------------------
Date: Thu, 30 Jul 1998 18:18:29 GMT
From: John Porter <jdporter@min.net>
Subject: Re: non-perl question about linux
Message-Id: <35C0B994.6CA9@min.net>
Brent Verner wrote:
>
> 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.
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.
--
John Porter
------------------------------
Date: Thu, 30 Jul 1998 13:33:14 -0500
From: Andrew Johnson <ajohnson@gpu.srv.ualberta.ca>
Subject: Re: non-perl question about linux
Message-Id: <35C0BC6A.22C913A2@gpu.srv.ualberta.ca>
John Porter wrote:
!
[snip]
! 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.
FYI
I've never had a problem compiling or running perl on my
slackware-linux systems (kernels: 1.2.13 and 2.0.29)
regards
andrew
------------------------------
Date: Fri, 31 Jul 1998 10:25:29 +0200
From: Gilles Maire <Gilles.Maire@ungi.com>
Subject: PERL 5.00550 and windows 95
Message-Id: <35C17F79.19673CBB@ungi.com>
Hello,
I have recompiled Perl5.00550 on Windows NT serveur, and all work fine.
When I want to use perl95.exe on a Windows 95 platform I have a stupid
problem :
The path is
PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;C:\ISB\BIN;C:\PERL\5.00550\BIN\;C:\PERL\5.00550\MSWIN32-X86\
If I go inside the C:\PERL\5.00550\MSWIN32-X86\ directory and launch
perl -v all is ok ..
BUT :
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
------------------------------
Date: Fri, 31 Jul 1998 09:29:44 +0100
From: "F.Quednau" <quednauf@nortel.co.uk>
Subject: Re: Perl == Unix? (was Re: Programmer's Editor)
Message-Id: <35C18078.BA5DD368@nortel.co.uk>
Tom Christiansen wrote:
>
> ...You are now all infected. But don't worry! It's a
> beneficial virus! ...
Yeah, it got me and dragged me into the Linux world. Because if you know
Perl enough to make a few things move on the system, UNIX doesn't seem
as daunting anymore :)
PS
Not that it's still doing my head in...
--
____________________________________________________________
Frank Quednau
http://www.surrey.ac.uk/~me51fq
________________________________________________
------------------------------
Date: Fri, 31 Jul 1998 12:45:01 +0100
From: Alan Silver <alan@find-it.furryferret.uk.com>
Subject: Re: Perl == Unix? (was Re: Programmer's Editor)
Message-Id: <EZalpTA94aw1EwN2@find-it.uk.com>
In article <6pqgit$s33$1@csnews.cs.colorado.edu>, Tom Christiansen
<tchrist@mox.perl.com> writes
>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!
Oh don't tease !! If only it were true and I could ditch this poxy
Windows machine for a *real* (ie UNIX) computer.
The only thing is, the word "virus" has bad connotations. How about
"medicine". It may be a bit hard to swallow, but it does you a whole lot
of good.
--
Alan Silver
Please remove the furryferret when replying by e-mail
------------------------------
Date: Fri, 31 Jul 1998 11:56:51 -0000
From: "Jim Foltz" <foltzj@timken.com>
Subject: Re: Perl for Win32
Message-Id: <01bdbc7a$4e27b8e0$9c0ab993@foltzj-w95.timken.com>
Hi,
I had some problems when I installed the win32 version. It turned out that
the unzip program I used didn't do long filenames, and thus the perl
install didn't work
Once unzip-ed, it should install itself. Then you need to add the path to
the perel.exe to your PATH variable.
Javaman13 <hendridm@hcil.net> wrote in article
<35BAA5BA.C7B4193@hcil.net>...
> I recently downloaded Perl for Win32. I am a beginner with Perl and no
> little about the language. I have tried to use some of the tools but I
> get error messages pertaining to a file set called "@INC." I need to
> know what the file tree should look like and what the reistry should
> look like. Also, how do you implement all of the tools that come with
> the archive?
>
> Javaman13
>
>
------------------------------
Date: Sun, 2 Aug 1998 00:57:05 -0400
From: rjk@coos.dartmouth.edu (Ronald J Kimball)
Subject: Re: Problem with variables in simple script...
Message-Id: <1dd3zuh.1yswlwz65cc7qN@bay1-369.quincy.ziplink.net>
Spam Block <sp@m.block> wrote:
> > print <<"EndOfMessage";
>
> take the quotes (") off the EndOfMessage handle and you should get the
> confirmation message
I'm afraid that won't make a difference. As the perldata documentation
clearly states, <<EOT is the same as <<"EOT".
--
_ / ' _ / - 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: Sun, 02 Aug 1998 05:14:49 GMT
From: Daniel Grisinger <dgris@rand.dimensional.com>
Subject: Re: Problem with variables in simple script...
Message-Id: <6q0rto$lhu$1@rand.dimensional.com>
In article <35C3EE85.1D1C300@m.block>
sp@m.block wrote:
>> print "Content-type: text/html\n\n";
>> print <<"EndOfMessage";
>
> take the quotes (") off the EndOfMessage handle and you should get the
>confirmation message
This is utterly incorrect. While the posted script had several
glaring problems (the biggest being failing to use strict and
failing to use CGI), the above construct is exactly equivalent
to
print <<EndOfMessage;
some stuff
EndOfMessage
dgris
--
Daniel Grisinger dgris@perrin.dimensional.com
"No kings, no presidents, just a rough consensus and
running code."
Dave Clark
------------------------------
Date: 31 Jul 1998 12:00:32 GMT
From: gabor@vmunix.com (Gabor)
Subject: Re: Programmer's Editor
Message-Id: <slrn6s3cjs.1df.gabor@localhost.vmunix.com>
In comp.lang.perl.misc, Martin Gregory <mgregory@asc.sps.mot.com> wrote :
# Cameron Dorey <camerond@mail.uca.edu> writes:
#
# > [cc'd to tc]
# >
# > Tom Christiansen wrote:
# > >
# > > [snip]
# > > Several questions unrelated to your product's alleged technical wizardry:
# > >
# > > Is this free?
# > > Is source available?
# > > Does it run on Unix?
# > >
# > > If the answers to these are no, why are you advertising here? :-(
# >
# > IMHO, Questions 1 and 2 are valid, but with all due respect, this ain't
# > comp.lang.perl.unix, and Question 3 is irrelevant.
#
# I still don't see why he should not advertise here even if the answers
# to all the questions are NO.
#
# The _only_ relevant question to which a NO answer would contraindicate
# advertising here is
Because this isn't an advertisement group. How many people here are
interested in reading about new editors for windows ina perl newsgroup.
I mean why have a perl newsgroup in the first place if all posts are
welcome? Why not just have a be all newsgroup with a gazillion posts
covering every topic? See my point?
------------------------------
Date: Fri, 31 Jul 1998 12:47:53 +0100
From: Alan Silver <alan@find-it.furryferret.uk.com>
Subject: Re: Programmer's Editor
Message-Id: <GZ$l5WAp7aw1EwsX@find-it.uk.com>
In article <6plrpm$m6j$1@csnews.cs.colorado.edu>, Tom Christiansen
<tchrist@mox.perl.com> writes
> [courtesy cc of this posting sent to cited author via email]
>
>In comp.lang.perl.misc, xidicone@iname.com writes:
>:The latest version of the Zeus programmers text editor is now available:
>
>Several questions unrelated to your product's alleged technical wizardry:
>
> Is this free?
> Is source available?
> Does it run on Unix?
>
>If the answers to these are no, why are you advertising here? :-(
Because it's a *programmers'* editor and he quite rightly thought that
people posting here might just do the odd bit of programming.
It may come as a shock to you, but not all programming tools have to be
free, not all have to be compiled yourself (even on real UNIX machines,
much software costs wads and comes precompiled) and certainly not all of
them run on UNIX.
I think it's prefectly reasonable to advertise a product here. He made
it very clear it was an advert, it's relevant to Perl and it may benefit
people here.
--
Alan Silver
Please remove the furryferret when replying by e-mail
------------------------------
Date: Fri, 31 Jul 1998 12:48:51 +0100
From: Alan Silver <alan@find-it.furryferret.uk.com>
Subject: Re: Programmer's Editor
Message-Id: <C59kRaAj8aw1EwO+@find-it.uk.com>
In article <slrn6ru7tr.mme.gabor@vnode.vmunix.com>, Gabor
<gabor@vmunix.com> writes
>The question is, why is he advertising here at all. This is the last
>place I would look if I were looking for an editor. It's sort of
>like, does one go looking for cars in a grocery store? I would hope
>not.
Pardon me for being stupid, but he is advertising a programmers' editor
in a newsgroup for programmers. This sounds entirely appropriate to me.
How does your analogy fit at all ?
--
Alan Silver
Please remove the furryferret when replying by e-mail
------------------------------
Date: Fri, 31 Jul 1998 12:51:16 +0100
From: Alan Silver <alan@find-it.furryferret.uk.com>
Subject: Re: Programmer's Editor
Message-Id: <BJIkNfA0+aw1EwM8@find-it.uk.com>
In article <6pn92e$64d$1@msunews.cl.msu.edu>, Dan Nguyen
<nguyend7@egr.msu.edu> writes
>They saw 'comp' and just assummed we would be interested. I'd be
>supprised if they even knew what perl is. Let along what unix is.
Despite my love for UNIX (especially compared with the pathetically
inferior Microsoft alternative), it is *not* the case that perl=UNIX.
Perl is a programming language that runs on many platforms, including
UNIX ones, but alos including PCs and many others. UNIX is an operating
system. The two are separate, despite the fact that much Perl
work/development is done under UNIX.
It's a bit like saying that word processing and Windows are the same
thing since about 99% of all word processing in the world is done on PCs
running some flavour of Windows.
--
Alan Silver
Please remove the furryferret when replying by e-mail
------------------------------
Date: 30 Jul 1998 21:03:36 +0200
From: Raul Barral Tamayo <raul@miedo.gsyc.inf.uc3m.es>
Subject: Re: running an exe from a perl script
Message-Id: <4m4svztb3r.fsf@miedo.gsyc.inf.uc3m.es>
Of course, RTFM.
Ra ul.
Khadidja Malleck <malleck@dsi.cnrs.fr> writes:
> I would like to know how to call a program from within a perl script?
> I have a file called Launch.sh and the permissions are set in 755 and I
> want to call it from a perl script.
> Can anyone help me please???
------------------------------
Date: 30 Jul 1998 17:24:58 GMT
From: "Martin Redmond" <redmondm@worldnet.att.net>
Subject: Re: Split the command line!
Message-Id: <6pqa9a$eb1@bgtnsc03.worldnet.att.net>
Jonah Olsson wrote in message ...
>How do I split the command line (i.e. $ENV{'QUERY_STRING'}) so I get the
key
Check out parse_params in CGI.pm:
sub parse_params {
my($self,$tosplit) = @_;
my(@pairs) = split('&',$tosplit); # split on &
my($param,$value);
foreach (@pairs) {
($param,$value) = split('=',$_,2); # split on =
$param = unescape($param);
$value = unescape($value);
$self->add_parameter($param);
push (@{$self->{$param}},$value);
}
}
Martin
------------------------------
Date: 31 Jul 1998 10:14:01 +0200
From: Calle Dybedahl <qdtcall@esb.ericsson.se>
Subject: Re: Variable length exceed?
Message-Id: <isemv2bfp2.fsf@godzilla.kiere.ericsson.se>
gregory j pryzby <pryzby@tux.org> writes:
> Any ideas?
There's probably a bug in your program. Pity you didn't include the
program so someone might've told you where.
--
Calle Dybedahl, UNIX Sysadmin
qdtcall@esavionics.se http://www.lysator.liu.se/~calle/
------------------------------
Date: 31 Jul 1998 08:35:55 GMT
From: Zenin <zenin@bawdycaste.org>
Subject: Re: What's the future of Perl?
Message-Id: <901874757.153560@thrush.omix.com>
Craig Berry <cberry@cinenet.net> wrote:
>snip<
: OK, so what *does* it do (better than the usual run-time interpreter, that
: is)? Is shrouding for release to untrustworthy clients the only win?
Well, it also allows you to build your own interpreters that can
be run as "#!/usr/home/joe/bin/my_interpreter".
On most (all?) systems that support #! magic numbers, the given
interpreter can not itself be interpreted ala the same #! syntax,
it must be a native executable format.
Thus, if you can compile your script you gain this ability. I've
been doing this for years though, with a program called "shc" (shell
compiler), however it doesn't really compile anything it just
obfusts the script (so using "strings" won't show the script
elements) and puts a C wrapper around it.
--
-Zenin (zenin@archive.rhps.org) From The Blue Camel we learn:
BSD: A psychoactive drug, popular in the 80s, probably developed at UC
Berkeley or thereabouts. Similar in many ways to the prescription-only
medication called "System V", but infinitely more useful. (Or, at least,
more fun.) The full chemical name is "Berkeley Standard Distribution".
------------------------------
Date: Fri, 31 Jul 1998 09:36:56 +0100
From: "F.Quednau" <quednauf@nortel.co.uk>
Subject: Re: Year 2000
Message-Id: <35C18228.F05E96B6@nortel.co.uk>
joe wrote:
>
> I was wondering about Perl and the Year 2000.
I think we all do. I still don't know to which party to go on Newyear's
eve 1999. Maybe I'll go to the desert and watch the innocence of a Camel
walking on as if nothing had happened. Certainly would put things into
perspective...
--
____________________________________________________________
Frank Quednau
http://www.surrey.ac.uk/~me51fq
________________________________________________
------------------------------
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 3315
**************************************