[7689] in Perl-Users-Digest
Perl-Users Digest, Issue: 1315 Volume: 8
daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Thu Nov 13 22:16:53 1997
Date: Thu, 13 Nov 97 19:00:22 -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 Thu, 13 Nov 1997 Volume: 8 Number: 1315
Today's topics:
Re: Cannot Opendir in NT? (Martien Verbruggen)
cgi help <ke4krt@mindspring.com>
Re: cgi help (brian d foy)
Re: Extracting ASCII records from BINARY files??? (Gabor)
Re: GUI for perl? (Martien Verbruggen)
Re: HELP NEEDED: Why won't my script work? <wtansill@erols.com>
Re: How are LVALUES Created? <stuartc@ind.tansu.com.au>
Re: HTTP/1.0 501 Not Supported (Martien Verbruggen)
IO::Select different in 5.004_4 <-> 5.004_3? <vanderlistmj@ANTISPAMremoveme.sbphrd.com>
LWP::UserAgent <Jim.Hobbs@state.mn.us>
Re: LWP::UserAgent (brian d foy)
Re: oraperl (John D Groenveld)
Re: Perl.exe (Ralf Matthies)
Perl/SQL help <aegis@outland.cyberwar.com>
Re: Perl/SQL help (brian d foy)
Reading in Environment variables - How to ? sekhar@wv.mentorg.com
Re: Reading in Environment variables - How to ? (brian d foy)
Re: Sendmail without SENDMAIL (Martien Verbruggen)
Re: tell in piped filehandle (Martien Verbruggen)
Re: which Perl is for me?! can't find 5.004_04 for win9 <dtbaker@flash.net>
Re: which Perl is for me?! can't find 5.004_04 for win9 <etta@none.com>
Re: which Perl is for me?! (brian d foy)
Re: which Perl is for me?! (Mike Stok)
Re: Y2000 Issues in PERL CGI scripts? (brian d foy)
Digest Administrivia (Last modified: 8 Mar 97) (Perl-Users-Digest Admin)
----------------------------------------------------------------------
Date: 14 Nov 1997 02:18:58 GMT
From: mgjv@comdyn.com.au (Martien Verbruggen)
Subject: Re: Cannot Opendir in NT?
Message-Id: <64gcei$j3s$1@comdyn.comdyn.com.au>
In article <346AABCD.A3B5E573@src.ncu.edu.tw>,
lai <lai@src.ncu.edu.tw> writes:
> My follow program always die at "opendir" in NT but never die in Unix.
> What's wrong with me or with the program ? I has tried many many times
I don't know why NT won't do it.
> and cannot find why? Would anybody help me?
Yes. I will give you some pointers on how you can get perl to give you
more info.
#!perl -w
use strict;
> my $mydir="C:\\Inetpub\\wwwroot\\";
> ### I had tried C:\\Inetpub\\wwwroot";
> ### and even C:\Inetpub\wwwroot\;
my $mydir = 'c:/Inetpub/wwwroot';
# is more portable.
> read_dir($mydir);
>
> sub read_dir
> {
> local($target_dir) = @_ ;
my $target_dir = shift;
# perldoc -f shift for more info
# or even
# my $target_dir = $_[0]; # shiver
> local($files);
# You don't need any variable $files
# use strict would have told you that something was wrong with
# this
my @files = ();
> return 0 if( !$target_dir );
> opendir(DIR, $target_dir) || die "$target_dir: return 0 file";
opendir(DIR, $target_dir) or die "Cannot open $target_dir: $!";
# $! will give you the system's error message
# perldoc perlvar for more explanation
> @files=readdir(DIR);
> closedir(DIR);
# Check if @files contains anything at all
> return @files;
> }
You return 0 in one case, and a list in the other. You might want to
rethink that strategy. It's not a good idea to return mixed 'types'.
> Thanks
no problem.
Martien
--
Martien Verbruggen |
Webmaster www.tradingpost.com.au | In a world without fences, who needs
Commercial Dynamics Pty. Ltd. | Gates?
NSW, Australia |
------------------------------
Date: Thu, 13 Nov 1997 19:54:53 -0500
From: Phil Heaton <ke4krt@mindspring.com>
Subject: cgi help
Message-Id: <346BA15D.38E4CCBA@mindspring.com>
On my html form:
input type="text" name="property_number" size=30
In my perl script:
read(STDIN, $SearchFor, $ENV{CONTENT_LENGTH}) ;
Let's say I enter CN021400 at the form. This sets
$SearchFor to "property_number=CN021400". How do I
get rid of "Property_number=" and just use "CN021400"??
Phil
--
Phil Heaton, ke4krt@atl.mindspring.com
------------------------------
Date: Thu, 13 Nov 1997 20:22:15 -0500
From: comdog@computerdog.com (brian d foy)
Subject: Re: cgi help
Message-Id: <comdog-ya02408000R1311972022150001@news.panix.com>
In article <346BA15D.38E4CCBA@mindspring.com>, Phil Heaton <ke4krt@mindspring.com> wrote:
>read(STDIN, $SearchFor, $ENV{CONTENT_LENGTH}) ;
>
>Let's say I enter CN021400 at the form. This sets
>$SearchFor to "property_number=CN021400". How do I
>get rid of "Property_number=" and just use "CN021400"??
use CGI;
al the details are in the CGI.pm man page or the online
documentation referenced in the CGI Meta FAQ.
good luck :)
--
brian d foy <comdog@computerdog.com>
NY.pm - New York Perl M((o|u)ngers|aniacs)* <URL:http://ny.pm.org/>
CGI Meta FAQ <URL:http://computerdog.com/CGI_MetaFAQ.html>
------------------------------
Date: 14 Nov 1997 00:04:08 GMT
From: gabor@vinyl.quickweb.com (Gabor)
Subject: Re: Extracting ASCII records from BINARY files???
Message-Id: <slrn66n4v7.p8h.gabor@vinyl.quickweb.com>
In article <346b63c7.90408733@news.calstate.edu>, Dan LeGate wrote:
>Question from a new Perl programmer. I know how to extract records
>from a file where each record is on a different line (terminated by
>\n) and all characters are standard ASCII. But now I'm facing a
>situation where I need to extract ASCII records out of the middle of
>binary (non-standard) characters, in LONG lines of text.
>
>For example:
>
>^@^A^EWelcome^@\241\241^@^@7^@7^@^@^^@^B^EPayments due^@\241\241^@
>^@^A^DThursday, Feb 15. at 6:00
>pm.^@\241\241^@^@7^@7^@^@^^@^B^EGoodbye^@\241\241^@
>
>All those ^@ types of characters are actually just one character, but
>display this way in emacs. I would need to extract "Welcome",
>"Payments Due", "Thursday, Feb 15. at 6:00 pm.", and "Goodbye" from
>this garbled mess. Keep in mind all of this is on one line. There
>are only a few \n line breaks in the file and then the data continues
>in a messy order like this.
>
>I've noticed that each "record" is preceded by either a ^E or a ^D and
>ends with ^@\241\241 each time. But I'm lost as to how to tell perl
>"get the text between those delimeters only".
A simplistic solution is
undef $/;
$_=<>;
@text=/([ -~]+)/g; # or [\040-\176]
for (@text) {
print $_,"\n";
}
This assumes the character set is ASCII, and only considers 7bit chars
to be OK. You might want to add [\n\t] to the character class. I am
not sure what you'd need.
gabor.
--
echo $package has manual pages available in source form.
echo "However, you don't have nroff, so they're probably useless to you."
-- Larry Wall in Configure from the perl distribution
mharris@gov.on.ca he, he, he
------------------------------
Date: 14 Nov 1997 02:23:24 GMT
From: mgjv@comdyn.com.au (Martien Verbruggen)
Subject: Re: GUI for perl?
Message-Id: <64gcms$j3s$2@comdyn.comdyn.com.au>
In article <346AEE84.2F8C@aom.ericsson.se>,
Johannes Amtin <qhsjoam@aom.ericsson.se> writes:
> I was wondering if anyone has tried to make a GUI for generating perl
> code (or code in a similar language). Just curious.
GUI? You mean IDE type of stuff?
If there is such a beast, it should be mentioned somewhere on
www.perl.com.
Martien
--
Martien Verbruggen |
Webmaster www.tradingpost.com.au | If at first you don't succeed, try
Commercial Dynamics Pty. Ltd. | again. Then quit; there's no use being
NSW, Australia | a damn fool about it.
------------------------------
Date: Thu, 13 Nov 1997 22:00:26 -0500
From: "William B. Tansill, III" <wtansill@erols.com>
Subject: Re: HELP NEEDED: Why won't my script work?
Message-Id: <346BBECA.47F1@erols.com>
James East wrote:
>
> I need help with this perl script. When I try to run it (through the web
> server), I get a "Server Error". What's wrong with it? (OS is Sun Solaris
> 2.5.1)
>
> Yes, my perl executable IS /usr/local/bin/perl and the script is marked
> executable for everybody.
>
> Help would be appreciated,
> James East,
> Webmaster,
> Newport Free Grammar School.
>
> Name: homework.cgi
> Part 1.2 Type: unspecified type (application/octet-stream)
> Encoding: x-uuencode
Well, first of all, if you worked for me and tried to use undeclared
variables as you have, we would have a serious discussion re:
programming standards. Beyond that you might consider the symbol clash
beetween an array prefix and your webmaster's address. Perhaps an
escape is called for?
--
How do I set my laser printer to "stun"?
------------------------------
Date: 14 Nov 1997 10:33:33 +1100
From: Stuart Cooper <stuartc@ind.tansu.com.au>
Subject: Re: How are LVALUES Created?
Message-Id: <yeozpn89xo2.fsf@kudu.ind.tansu.com.au>
"Michael A. Suarez" <msuarez@cybernet.com> writes:
> We have code that, when we execute the following,
>
> print "Ref = ",\$x,"\n";
>
> It tells us that $x is an LVALUE. How is this created... As
> far as we know, $x is a scalar. What are we doing that makes $x an
> LVALUE? We know that we can do the following, $x.="", to return $x to a
> scalar, but how can we keep this from happening in the first place?
>
> Thanks,
> Michael
> msuarez@cybernet.com
An lvalue, Michael, is simply a value that appears on the left hand side
of an assignment.
eg
$x = $y;
$x is called an lvalue. It means that it can be assigned into. Values like
$y that appear on the right hand side of equals are equivalently called
rvalues. These words are often hyphenated to l-value and r-value.
Basically the l-value means "this is where the result is to be stored"
and the r-value means "this is the value to store".
A scalar is an lvalue when it is being assigned to.
Not all lvalues are scalars.
Not all scalars are lvalues.
Anyway, what are you trying to do in your confused print statement?
I think you are probably wanting to do one of 2 things:
Assume $x=5;
1) Print the value of x:
print "Ref = $x\n";
2) Print which Perl variable we are using for Ref:
print "Ref = \$x\n";
# Inside a double quoted string, \ protects $variables being interpolated
or, more easily,
print 'Ref = $x' . "\n"; # uses . string concatenation operator
# Inside a single quoted string, $variables are not interpolated
# Inside a single quoted string, \n is two characters, so I had to add "\n"
# in a double quoted string
or, equally easily
print 'Ref = $x' , "\n"; # uses print , arg separator, 2 strings as args.
In your original line, \$x was outside a string; \ in this context makes
a pointer to $x, just like &x does in 'C'. Don't write print statements like
this.
Output:
1)
Ref = Stuart
2)
Ref = $x
Ref = $x
Ref = $x
Hope this helps,
Stuart Cooper.
stuartc@ind.tansu.com.au
------------------------------
Date: 14 Nov 1997 02:04:47 GMT
From: mgjv@comdyn.com.au (Martien Verbruggen)
Subject: Re: HTTP/1.0 501 Not Supported
Message-Id: <64gbjv$ivh$2@comdyn.comdyn.com.au>
In article <879308352.13640@dejanews.com>,
sheets.david.e@bigfoot.com writes:
> I keep getting this message:
> HTTP/1.0 501 Not Supported
This is not a perl problem.
http://www.perl.com/CPAN/doc/FAQs/cgi/idiots-guide.html
or
perldoc perlfaq9
Check the error logs of your web server.
> require "cgi-lib.pl";
Free advice: use CGI.pm, and make sure you have a recent version of perl.
Martien
--
Martien Verbruggen |
Webmaster www.tradingpost.com.au | In a world without fences, who needs
Commercial Dynamics Pty. Ltd. | Gates?
NSW, Australia |
------------------------------
Date: 14 Nov 1997 02:27:54 GMT
From: Michel van der List <vanderlistmj@ANTISPAMremoveme.sbphrd.com>
Subject: IO::Select different in 5.004_4 <-> 5.004_3?
Message-Id: <64gcva$bub$1@news3.microserve.net>
Hi.
I was playing around with perl somewhat (for my own edification)
and ran into the following problem. I have a 5.004_04
installation on a dec unix machine and a 5.004_03 on another. I
wrote a little piece of code, using some publically available
packages, which works fine on the 5.004_03 installation, but
not at all on the 5.004_04 installation. The difference is that
the IO::Select->select call does not seem to return when I type
something in.
I am somewhat confused over this.
My questions are:
- Should this code work (it works at least in some cases...)?
- If not, why not?
- If yes, why doesn't it work on 5.004_04?
I did not install the 5.004_03 version, but the 5.004_04
version is a vanilla perl install, taking all the defaults for
dec_osf.
a d v
Thanks a
e c n Michel
#!/usr/local/bin/perl
use strict;
package testIO;
use IO::Select;
use Net::Telnet;
use Term::ReadKey;
my ($serversock,
$readable_handles,
$new_readable,
$readable,
$buf);
select(STDIN); $| = 1;
ReadMode 3;
$readable_handles = new IO::Select();
$serversock = new Net::Telnet (Host => 'curley');
die "Socket could not be created. Reason: $!\n" unless $serversock;
$serversock->output_record_separator('');
$readable_handles->add($serversock);
$readable_handles->add(*STDIN);
while ( 1 ) {
($new_readable) = IO::Select->select($readable_handles, undef, undef, 0);
foreach $readable ( @$new_readable ) {
if ( $readable == $serversock ) {
$buf = $serversock->get();
if ( defined $buf ) {
print STDOUT "$buf";
}
else {
exit(0);
}
}
else {
$buf = ReadKey 0;
if ( defined $buf ) {
$serversock->print($buf);
}
}
}
}
END {
ReadMode 0;
}
------------------------------
Date: 13 Nov 1997 23:13:37 GMT
From: "Jim Hobbs" <Jim.Hobbs@state.mn.us>
Subject: LWP::UserAgent
Message-Id: <01bcf0ed$209ce5c0$6a2e639c@ui2pc6.des.state.mn.us>
Is there a way to post data to a form on a remote http server from a
script? What activates the 'submit' button. The sample code below returns
the url but does not seem to send the name-value pairs nor take the
required action.
use LWP::UserAgent;
$ua = new LWP::UserAgent;
my $req = new HTTP::Request
'PUT','http://www.wherever.org/cgi-bin/generic_form.pl'
;
$req->content_type('application/x-www-form-urlencoded');
$req->content('last_name=Doe&first_name=John');
my $res = $ua->request($req);
print $res->as_string;
------------------------------
Date: Thu, 13 Nov 1997 20:16:47 -0500
From: comdog@computerdog.com (brian d foy)
Subject: Re: LWP::UserAgent
Message-Id: <comdog-ya02408000R1311972016470001@news.panix.com>
In article <01bcf0ed$209ce5c0$6a2e639c@ui2pc6.des.state.mn.us>, "Jim Hobbs" <Jim.Hobbs@state.mn.us> wrote:
>Is there a way to post data to a form on a remote http server from a
>script?
yes.
>What activates the 'submit' button. The sample code below returns
>the url but does not seem to send the name-value pairs nor take the
>required action.
>use LWP::UserAgent;
>$ua = new LWP::UserAgent;
>my $req = new HTTP::Request
>'PUT','http://www.wherever.org/cgi-bin/generic_form.pl'
>;
are you sure you want to PUT rather then POST (like you said above)?
what is the HTTP response that you receive?
--
brian d foy <comdog@computerdog.com>
NY.pm - New York Perl M((o|u)ngers|aniacs)* <URL:http://ny.pm.org/>
CGI Meta FAQ <URL:http://computerdog.com/CGI_MetaFAQ.html>
------------------------------
Date: 13 Nov 1997 16:15:36 -0500
From: groenvel@cse.psu.edu (John D Groenveld)
Subject: Re: oraperl
Message-Id: <64fqlo$hhv$1@jovial.cse.psu.edu>
In article <01bcef72$351e0000$3e03b480@mm>,
Phil R Lawrence <prl2@lehigh.edu> wrote:
>I had been told by members of my shop that the DBI idea was great but
>perhaps too ambitious - that it didn't work well for Oracle. They
>currently incorporate "use oraperl" in their perl scripts. Could they be
>using the 2nd thing you mention (Oraperl.pm) or is that a part of DBI
>DBD::Oracle? What are the problems you know of using DBI DBD::Oracle? How
>about using oraperl for Perl 4 with Perl 5, if that is indeed what my shop
>is doing?
You're now mixing two issues. Perl4 vs Perl5 and DBI vs Oraperl.
Perl4 vs Perl5. If "perl -v" prints anything like 4.036, then its time to
move on.
DBI vs Oraperl. Oraperl is the emulation for oraperl, the Perl4 extension.
Whether you use Oraperl or DBI, is a personal decision. Its the difference
between $dbh = DBI->connect(dbi:Oracle:TNSalias, $username, $auth) and
$lda = &ora_login(TNSalias, $name, $password)
John
groenvel@cse.psu.edu
------------------------------
Date: Thu, 13 Nov 1997 16:39:42 GMT
From: rmatthie@apcon.de (Ralf Matthies)
Subject: Re: Perl.exe
Message-Id: <346b2cbf.28419284@news.ppp.de>
Douglas Willock <douglas@kemo.com> wrote:
>
>I have Microsoft Internet Server running on NT server. And I would like
>to be able to execute perl files on the machine, can I just load a
>perl.exe program on to the NT server and associate files with a PL
>extension with the perl.exe program.
>
>Will this work??
>Where can I get this file? (Perl Version 5 would be handy.)
Hi,
look at http://www.activeware.com/
Ralf Matthies
APCON Office Services, Hamburg, Germany
------------------------------
Date: 13 Nov 1997 16:55:35 GMT
From: Aegis <aegis@outland.cyberwar.com>
Subject: Perl/SQL help
Message-Id: <64fbe8$cnq$1@bandit.cyberwar.com>
This is a simple question, more of a 'where can I get'.
I am trying to access a Windows NT SQL server via a
unix system. Are there perl routines that can do this?
any help would be appreciated.
------------------------------
Date: Thu, 13 Nov 1997 20:13:56 -0500
From: comdog@computerdog.com (brian d foy)
Subject: Re: Perl/SQL help
Message-Id: <comdog-ya02408000R1311972013560001@news.panix.com>
In article <64fbe8$cnq$1@bandit.cyberwar.com>, Aegis <aegis@outland.cyberwar.com> wrote:
>This is a simple question, more of a 'where can I get'.
>
>I am trying to access a Windows NT SQL server via a
> unix system. Are there perl routines that can do this?
CPAN [1] has all sorts of goodies including database interface modules.
[1]
Comprehensive Perl Archive Network
find one near you at <URL:http://www.perl.com>
--
brian d foy <comdog@computerdog.com>
NY.pm - New York Perl M((o|u)ngers|aniacs)* <URL:http://ny.pm.org/>
CGI Meta FAQ <URL:http://computerdog.com/CGI_MetaFAQ.html>
------------------------------
Date: Thu, 13 Nov 1997 17:42:02 -0600
From: sekhar@wv.mentorg.com
Subject: Reading in Environment variables - How to ?
Message-Id: <879464129.22117@dejanews.com>
I need some help with trying to read in a ENVIRONMENT variable into
my Perl script.
I have an environment variable called DESIGN_PATH that is currently
set to $HOME/designs. I would like my Perl script to 'cd' to this
directory and list all the files in the directory. I have attempted
to use the 'opendir' and 'chdir' commands without success.
The syntax that I tried was :
opendir(DIR, "$ENV{'$DESIGN_PATH'}");
chdir($ENV{'$DESIGN_PATH'});
I would greatly appreciate any help ..
Thanks
Ravi
-------------------==== Posted via Deja News ====-----------------------
http://www.dejanews.com/ Search, Read, Post to Usenet
------------------------------
Date: Thu, 13 Nov 1997 20:19:42 -0500
From: comdog@computerdog.com (brian d foy)
Subject: Re: Reading in Environment variables - How to ?
Message-Id: <comdog-ya02408000R1311972019420001@news.panix.com>
In article <879464129.22117@dejanews.com>, sekhar@wv.mentorg.com wrote:
>I have an environment variable called DESIGN_PATH that is currently
>set to $HOME/designs. I would like my Perl script to 'cd' to this
>directory and list all the files in the directory. I have attempted
>to use the 'opendir' and 'chdir' commands without success.
>
>The syntax that I tried was :
>
>opendir(DIR, "$ENV{'$DESIGN_PATH'}");
>chdir($ENV{'$DESIGN_PATH'});
what error message to do you get if opendir() fails? i.e.
opendir(DIR, $ENV{'$DESIGN_PATH'}) or die "opendir failed: $!\n";
what is in $ENV{'$DESIGN_PATH'}? are you sure that it isn't
$ENV{'DESIGN_PATH'} without the $ ?
is $ENV{'DESIGN_PATH'} what you think it is?
just standard debugging practices...
--
brian d foy <comdog@computerdog.com>
NY.pm - New York Perl M((o|u)ngers|aniacs)* <URL:http://ny.pm.org/>
CGI Meta FAQ <URL:http://computerdog.com/CGI_MetaFAQ.html>
------------------------------
Date: 14 Nov 1997 02:01:15 GMT
From: mgjv@comdyn.com.au (Martien Verbruggen)
Subject: Re: Sendmail without SENDMAIL
Message-Id: <64gbdb$ivh$1@comdyn.comdyn.com.au>
In article <346A7624.11F2@erols.com>,
MCM <mcmapait@erols.com> writes:
> Is there a perl script out there to send the contents of a form without
> using the sendmail program. (For those of us not on UNIX platforms. I
> have the unfortunate fortune of using Novell WebServer 2.51, which runs
> earlier perl, not using a lot of the useful UNIX programs and ease of
> use.) HELP. Novell support will not.
How early is this perl? if it is some version of perl5, have a look at
the SMTP module, or some of the Mail:: modules.
http://www.perl.com/CPAN/ should get you those.
Martien
--
Martien Verbruggen |
Webmaster www.tradingpost.com.au | Little girls, like butterflies, need no
Commercial Dynamics Pty. Ltd. | excuse - Lazarus Long
NSW, Australia |
------------------------------
Date: 14 Nov 1997 02:36:08 GMT
From: mgjv@comdyn.com.au (Martien Verbruggen)
Subject: Re: tell in piped filehandle
Message-Id: <64gdeo$j84$1@comdyn.comdyn.com.au>
In article <64c13t$3i7$1@mortimer.deas.org>,
deas@dont.spam.me.rrz.uni-hamburg.de (Andreas Steffan) writes:
> I am trying to hack info2www to work with gzipped info-pages,
> and I would like to avoid gunzipping these.
> Info2www uses seek and tell.
> However, I wonder why tell is not working in piped filehandles.
tell and seek probably don't work on pipes because a pipe is not
randomly accessible,
> PS: Please also reply via email.
nope.
> Remove the 'dont.spam.me.' from my adress when replying via mail.
sure, you want me to do work to mail you as well? If you want to be
mailed, at least have the courtesy to have your email address in your
From: or Reply-To: fields.
Martien
--
Martien Verbruggen |
Webmaster www.tradingpost.com.au | That's not a lie, it's a terminological
Commercial Dynamics Pty. Ltd. | inexactitude.
NSW, Australia |
------------------------------
Date: Thu, 13 Nov 1997 16:40:38 -0700
From: Dan Baker <dtbaker@flash.net>
Subject: Re: which Perl is for me?! can't find 5.004_04 for win95
Message-Id: <346B8FF6.2403@flash.net>
Dan Baker wrote:
>
> Yow! I've spent all afternoon chasing thru various sites trying to
> figure out what version of Perl to download?!
----------------
thanx for such speedy feedback! I have looked again, and the latest
version for win95 I can find is 5.004_02 at
http://www.perl.com/CPAN-local/ports/win95/Gurusamy_Sarathy/perl5.00402-bindist04-bc.readme
Does anyone know if the 5.004_04 is available for win95? It was sounding
like there are quite a few fixes from the _02 to the _04 builds.
Also, this may be a dumb question, but what do I do with the *.tar.gz
file? My netscape doesn't recognize that extension... will winzip unzip
it, or do I need to go get another plugin?
Dan
------------------------------
Date: 14 Nov 1997 00:44:53 GMT
From: "etta" <etta@none.com>
Subject: Re: which Perl is for me?! can't find 5.004_04 for win95
Message-Id: <64g6u5$gt0@mtinsc02.worldnet.att.net>
Here's where you can get the latetest version of perl5 build 313 for win95.
http://www.activestate.com/
Hope this helps,
etta
Dan Baker <dtbaker@flash.net> wrote in article <346B8FF6.2403@flash.net>...
> Dan Baker wrote:
> >
> > Yow! I've spent all afternoon chasing thru various sites trying to
> > figure out what version of Perl to download?!
------------------------------
Date: Thu, 13 Nov 1997 18:03:07 -0500
From: comdog@computerdog.com (brian d foy)
Subject: Re: which Perl is for me?!
Message-Id: <comdog-ya02408000R1311971803070001@news.panix.com>
In article <346B80FE.120D@flash.net>, dtbaker@flash.net wrote:
>Please let me know more about what version of Perl (i.e. 5.004_04, or
>???) I should be getting. Should I stick to older versions like 4.0 to
Perl5 - accept no substitute!
>be sure my ISP can support the Perl calls? Is all I need the binaries?
some modules would be very handy.
>What the heck do I need to do to download and unzip the *.tar.gz files?
your ISP should do this for you. that's why you pay them $19 a month.
>please cc me on followup postings, this newsgroup is so active, I'm
>afraid I miss replies.
you could always auto-select replies to your post :)
good luck and welcome to Perl. :)
--
brian d foy <comdog@computerdog.com>
NY.pm - New York Perl M((o|u)ngers|aniacs)* <URL:http://ny.pm.org/>
CGI Meta FAQ <URL:http://computerdog.com/CGI_MetaFAQ.html>
------------------------------
Date: 13 Nov 1997 23:01:12 GMT
From: mike@stok.co.uk (Mike Stok)
Subject: Re: which Perl is for me?!
Message-Id: <64g0ro$ni6@news-central.tiac.net>
http://language.perl.com/info/software.html is a good place to look, under
the /CPAN/ports link there is a win32 directory which contains some
information about the choices you have for perl. 5.004_xx is probably the
best one to get, I believe that there is work afoot to merge the various
Win32 ports in 5.005 or soon after that.
Hope this helps,
Mike
In article <346B80FE.120D@flash.net>, Dan Baker <dtbaker@flash.net> wrote:
>Yow! I've spent all afternoon chasing thru various sites trying to
>figure out what version of Perl to download?! I am just getting started,
>have read a couple books and decided Perl is the right tool for some
>jobs I need to do, and am having trouble finding the right version/build
>to download and install.
>
>HELP!
>
>I would like to create and test scripts on my home PC under win95. Small
>utility scripts will just be intended to run in the win95 environment...
>But I also want to do a little scripting that will work in www sites
>with UNIX servers. Assuming I don't get too fancy, should scripts I
>create and test at home on win95 run on the unix servers? Just simple
>stuff like grocery cart scripts for online ordering...
>
>Please let me know more about what version of Perl (i.e. 5.004_04, or
>???) I should be getting. Should I stick to older versions like 4.0 to
>be sure my ISP can support the Perl calls? Is all I need the binaries?
>What the heck do I need to do to download and unzip the *.tar.gz files?
>
>Thanx....
>Dan Baker
>
>please cc me on followup postings, this newsgroup is so active, I'm
>afraid I miss replies.
--
mike@stok.co.uk | The "`Stok' disclaimers" apply.
http://www.stok.co.uk/~mike/ | PGP fingerprint FE 56 4D 7D 42 1A 4A 9C
http://www.tiac.net/users/stok/ | 65 F3 3F 1D 27 22 B7 41
stok@colltech.com | Collective Technologies (work)
------------------------------
Date: Thu, 13 Nov 1997 18:08:30 -0500
From: comdog@computerdog.com (brian d foy)
Subject: Re: Y2000 Issues in PERL CGI scripts?
Message-Id: <comdog-ya02408000R1311971808300001@news.panix.com>
In article <64g0dl$msk@news-central.tiac.net>, mike@stok.co.uk (Mike Stok) wrote:
>In article <comdog-ya02408000R1311971708040001@news.panix.com>,
>brian d foy <comdog@computerdog.com> wrote:
>>In article <346B6577.75CE@bani.com>, kurt.stype@bani.com wrote:
>>i've heard rumors about Perl4 having problems...
>
>What rumours and where did you hear them?
i was talking to Randal in some bar on Tuesday. he didn't go into
details but i trust his rumors to be rumors. i was too busy watching
the world go by to pay much attention. :)
--
brian d foy <comdog@computerdog.com>
NY.pm - New York Perl M((o|u)ngers|aniacs)* <URL:http://ny.pm.org/>
it only happens once per turn.
------------------------------
Date: 8 Mar 97 21:33:47 GMT (Last modified)
From: Perl-Request@ruby.oce.orst.edu (Perl-Users-Digest Admin)
Subject: Digest Administrivia (Last modified: 8 Mar 97)
Message-Id: <null>
Administrivia:
The Perl-Users Digest is a retransmission of the USENET newsgroup
comp.lang.perl.misc. For subscription or unsubscription requests, send
the single line:
subscribe perl-users
or:
unsubscribe perl-users
to almanac@ruby.oce.orst.edu.
To submit articles to comp.lang.perl.misc (and this Digest), send your
article to perl-users@ruby.oce.orst.edu.
To submit articles to comp.lang.perl.announce, send your article to
clpa@perl.com.
To request back copies (available for a week or so), send your request
to almanac@ruby.oce.orst.edu with the command "send perl-users x.y",
where x is the volume number and y is the issue number.
The Meta-FAQ, an article containing information about the FAQ, is
available by requesting "send perl-users meta-faq". The real FAQ, as it
appeared last in the newsgroup, can be retrieved with the request "send
perl-users FAQ". Due to their sizes, neither the Meta-FAQ nor the FAQ
are included in the digest.
The "mini-FAQ", which is an updated version of the Meta-FAQ, is
available by requesting "send perl-users mini-faq". It appears twice
weekly in the group, but is not distributed in the digest.
For other requests pertaining to the digest, send mail to
perl-users-request@ruby.oce.orst.edu. Do not waste your time or mine
sending perl questions to the -request address, I don't have time to
answer them even if I did know the answer.
------------------------------
End of Perl-Users Digest V8 Issue 1315
**************************************