[7160] in Perl-Users-Digest
Perl-Users Digest, Issue: 785 Volume: 8
daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Mon Jul 28 01:08:03 1997
Date: Sun, 27 Jul 97 22:00:23 -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 Sun, 27 Jul 1997 Volume: 8 Number: 785
Today's topics:
"TRY...CATCH" in XS? (Jim Russell)
Re: Any PL/SQL packages/functions with perl-type functi (Tony Bowden)
binding to an interface <MoNoLiTH+@CMU.EDU>
Re: CGI.pm file uploads with Internet Explorer (Simon Lee)
different server cgi <jskarr@netins.net>
Re: File Locking and Procmail <usenet-tag@qz.little-neck.ny.us>
Good IRC groups for Perl & CGI??? (Jeffrey L. Fitzgerald)
Re: Good IRC groups for Perl & CGI??? <*archon@no.canned.meat.tamu.edu>
Re: if (defined( subroutine) )? <rootbeer@teleport.com>
Re: Need a good Time sub routine (Daniel E. Macks)
Newbie Q. If statement confusion <Richard@rburrows.demon.co.uk>
Newbie seeks help using C commands in Perl (Rachel J King)
Re: Newbie seeks help using C commands in Perl <ben@nospam.samet.com>
perl5.004_01 on 64 bit machine (Dan)
posix ???? (Burt Lewis)
Q: Embedding Perl in Java (Dragomir R. Radev)
question on http downloading <aschultz@seds.lpl.arizona.edu>
Re: question on http downloading (brian d foy)
use versus require <pittelli@ehsct7.envmed.rochester.edu>
Re: use versus require (brian d foy)
What is involved with lib-www???? (Jeffrey L. Fitzgerald)
Where can I get ExtUtils::Manifest!? <nasser@internetaddress.com>
Re: Where can I get ExtUtils::Manifest!? (Nathan V. Patwardhan)
Re: where is FAQ, how to use $ENV (Michael Fuhr)
Digest Administrivia (Last modified: 8 Mar 97) (Perl-Users-Digest Admin)
----------------------------------------------------------------------
Date: 27 Jul 1997 22:26:51 GMT
From: jrussell@watson.ibm.com (Jim Russell)
Subject: "TRY...CATCH" in XS?
Message-Id: <5rghvb$1ht0$1@watnews2.watson.ibm.com>
I've been hacking Perl5 XS extensions in C++ for a while now, and,
while it has gone well, I'm perplexed by how to handle exceptions.
I guess I could do it all "manually", but I saw some stuff about a
"except" modifier in the xsubpp code, and it got me to thinking that
perhaps there's some undocumented functionality which makes handling
exceptions easier?
I.e., is there any specific support in xsubpp for C++ exceptions?
Thanks,
--chet--
------------------------------
Date: 27 Jul 1997 18:03:33 GMT
From: tony@niweb.com (Tony Bowden)
Subject: Re: Any PL/SQL packages/functions with perl-type functions available?
Message-Id: <5rg2hl$ijh$1@sparc.tibus.net>
Dude (dudexx@us.oracles.coms) wrote:
: Anyone know of freely available PL/SQL packages with perl-type functions for
: pattern recognition and substitution? The built-in '%' and '.' just isn't
: capable for what I need to do and I'd rather not code from scratch.
msql <URL:http://www.hughes.com.au/> has an RLIKE expression which takes
regular expressions.
Tony
--
-----------------------------------------------------------------------------
Tony Bowden | tony@tmtm.com / t.bowden@qub.ac.uk / http://www.tmtm.com/
Belfast, NI | everything that i believe crawls from underneath the streets
-----------------------------------------------------------------------------
------------------------------
Date: Sun, 27 Jul 1997 20:36:33 -0400
From: Aveek Datta <MoNoLiTH+@CMU.EDU>
Subject: binding to an interface
Message-Id: <8nqyaFe00iV90320w0@andrew.cmu.edu>
I need to setup a TCP domain server which will only bind to one interface,
rather than all of the available ones. I'm running Linux which has eth0
and dummy0 interfaces. I want to run the server on a given port only
on dummy0. I figure it's part of the 'bind' command but don't get how
to do it.. Any examples?
Thanks
Aveek
Network Administrator, Monolith Internet Services [TM] _ _ _ _ Aveek
SysAdmin, Carnegie Mellon Univ ITC _ __ ___ _ _ ___| (_) |_| |_Datta
Personal Website @ datta.ml.org _| ' \/ _ \ ' \/ _ \ | | _| ' \ _
All opinions are ONLY mine. (_)_|_|_\___/_||_\___/_|_|\__|_||_(_)
[Get a free domain for your website or machine at http://www.ml.org]
------------------------------
Date: Sat, 26 Jul 1997 15:25:51 GMT
From: simon_lee@super.zippo.com (Simon Lee)
Subject: Re: CGI.pm file uploads with Internet Explorer
Message-Id: <33dd15bf.11930705@snews.zippo.com>
On Sat, 26 Jul 1997 22:47:03 -0600, strider@ShadowMAC.org (Raul
Almquist) enlightened us with:
>In article <33D269E0.7F22@icl.fi>, petri.backstrom@icl.fi wrote:
>
>> Duncan Halstead wrote:
>> >
>> > Does anyone know if there is an easy way to do file uploads with
>> > Internet Explorer? CGI.pm makes file uploads really easy assuming that
>> > you are using netscape 2.0 or better, but I have seen nothing similar
>> > for Internat Explorer.
IE3.01a (that's with the rfc plugin) sends a slightly different mime
type header to Netscapes. It seems to make no difference on a PC but
really screws up a unix (sunos4.1 & others probably) server.
<snip>
> The default is not Netscape Navigator's, it is however the processing cgi
>or script or module that sets any such default.
How do you set this?
<input type=file name=fileuploaded default="*.doc">
??? Sorry I don't think I have any documentation on this but am going
to play around now :)
Simon
------------------------------
Date: Sun, 27 Jul 1997 17:57:14 -0500
From: Jeremy Skarr <jskarr@netins.net>
Subject: different server cgi
Message-Id: <33DBD24A.2624@netins.net>
Is there a script that allows
<!--#include virtual="http://. . . . " -->
to work on another server? I really needed one and couldn't figure out
how to get one working.
Thanks
-Jeremy Skarr
jskarr@netins.net
--
---------------------J S W P--------------------
"To look to the future we must look at the past"
------------------------------
Date: 28 Jul 1997 02:56:40 GMT
From: Eli the Bearded <usenet-tag@qz.little-neck.ny.us>
Subject: Re: File Locking and Procmail
Message-Id: <eli$9707272236@qz.little-neck.ny.us>
Lutz Albers <lutz@muc.de> wrote:
> rsmith@netcom.com (Richard S. Smith) wrote:
> >When I do "procmail -v" I get the following:
> > Locking strategies: dotlocking, fcntl()
> >Does this mean I have to do *both* of these things? I'm aware of the
> >fcntl() function in perl, as well as "use Fcntl", but do I need to do more?
> Better check the procmail sources to see what is required.
Heh. That's a death sentence right there. Few large programs have code
as impentrable as the procmail package.
> >I'm running Perl 5.003 on Freebsd 2.1.7, Procmail v3.11pre4.
> You should upgrade to perl5.004_01, it has some changes regarding flock
> (and setuid scripts will work again on FreeBSD :-)
You should upgrade to procmail v3.11pre7 it has some useful bug fixes.
Anyway, Richard, your best bet here is to use the "lockfile" program
that came with procmail. It creates lockfiles with the same conventions
as those used by the ":0:lockfile" and "LOCKFILE=lockfile" constructs
in procmailrc files.
Elijah
------
is trying to hack procmail to embed perl
------------------------------
Date: Sun, 27 Jul 1997 21:35:05 -0400
From: jlfitz@webmarquee.com (Jeffrey L. Fitzgerald)
Subject: Good IRC groups for Perl & CGI???
Message-Id: <MPG.e45c1553133b334989683@news.nova.org>
Any one have recommendations on good IRC chat rooms for perl and
CGI related issues? Thanks!
------------------------------
Date: 28 Jul 1997 02:37:30 GMT
From: Dennis Moore <*archon@no.canned.meat.tamu.edu>
Subject: Re: Good IRC groups for Perl & CGI???
Message-Id: <5rh0la$l6m@news.tamu.edu>
Jeffrey L. Fitzgerald <jlfitz@webmarquee.com> wrote:
:
: Any one have recommendations on good IRC chat rooms for perl and
: CGI related issues? Thanks!
oddly enough, on efnet, try #perl and #cgi respectively. i hope you do
more research before asking a question in either channel than you did
before asking this question.
--
pity this busy monster, manunkind, | Dennis Moore | Sarah
not. Progress is a comfortable disease. | archon#tamu.edu | McLachlan
-e.e. cummings: One Times One | archon on the irc | "Black"
If I cried me a river of all my confessions would I drown in my shallow regret?
------------------------------
Date: Sun, 27 Jul 1997 17:37:10 -0700
From: Tom Phoenix <rootbeer@teleport.com>
To: Carl Eklof <ceklof@vt.edu>
Subject: Re: if (defined( subroutine) )?
Message-Id: <Pine.GSO.3.96.970727173404.5046F-100000@kelly.teleport.com>
On Wed, 23 Jul 1997, Carl Eklof wrote:
> Anyone know how I can check for a defined routine in a package (object)?
> Am I pressing my luck here? I've tried:
>
> print "It's defined!\n" if defined(&$package->subroutine);
> print "It's defined!\n" if defined(&package->subroutine);
> print "It's defined!\n" if defined(&($package->subroutine));
> print "It's defined!\n" if defined($package->&subroutine);
I think you may want this. (Although I suspect there is a simpler way,
and one which works when strict refs are turned on.)
print "It's defined!\n"
if defined &{ ${ $package . "::" }{'subroutine'} };
Does that work for you? Hope this helps!
--
Tom Phoenix http://www.teleport.com/~rootbeer/
rootbeer@teleport.com PGP Skribu al mi per Esperanto!
Randal Schwartz Case: http://www.rahul.net/jeffrey/ovs/
------------------------------
Date: 27 Jul 1997 17:24:59 GMT
From: dmacks@sas.upenn.edu (Daniel E. Macks)
Subject: Re: Need a good Time sub routine
Message-Id: <5rg09b$ck6$1@netnews.upenn.edu>
Burt Lewis (burt@ici.net) said:
: I'm looking for a good time sub routine that will display the time in
: AM and PM terms.
:
: Like 12:33 AM or 11:59 PM.
For a good time, call POSIX::strftime
See the POSIX manpage or Larry's bathroom wall for more info.
--
Daniel Macks
dmacks@a.chem.upenn.edu
dmacks@netspace.org
http://www.netspace.org/~dmacks
------------------------------
Date: Sun, 27 Jul 1997 19:32:31 +0100
From: Richard Burrows <Richard@rburrows.demon.co.uk>
Subject: Newbie Q. If statement confusion
Message-Id: <$WjIVBA$Q52zEwTw@rburrows.demon.co.uk>
I have this really basic bit of program, and I want to check that the
user name and password coming from a form correspond to an entry in a
file.
How come i cannot get it to accept the && condition between the
*************
*************
Either of the conditions alone will work but not the two together.
# Decode the user data an place it in the
# data_received associative array.
%data_received = &User_Data();
open(gbfile, ">> /perlscripts/log.txt");
@gbfile=<gbfile>;
close (gbfile);
&No_SSI(*data_received);
&valid_login;
&match_log;
sub No_SSI
{
local (*data) = @_;
# print "Content-type: text/html\n\n";
# print values %data;
foreach $key (sort keys(%data))
{
$data{$key} =~ s/<!--(.|\n)*-->//g;
# print "<h3>$data{$key}</h3>\n";
}
}
sub valid_login
{ #print "<h1>**",values %data_received, "**</h1>";
if (($data_received{'name'} ne "") && ($data_received{'password'} ne
""))
{
print "Content-type: text/html\n\n";
print "Thank you for loging in";
}
else
{
print "Location:/perlhtml/logagain.htm\n\n";
}
}
sub match_log
{
if (($data_received{'name'} ne "") &&
($data_received{'password'} ne ""))
print "This line is from match_log";
open (gbfile, "/perlscripts/log.txt");
$matched = 0;
print $data_received{'name'}, $data_received{'password'};
while ((defined($line=<gbfile>)) && (!$matched))
{
($name,$password)=split(/::/,$line);
print "<br>log data = $name, $password</br>";
print "<br> data received = $data_received{'name'},
$data_received{'password'}</br>";
************************************************************************
if (($data_received{'name'} eq "$name") &&
($data_received{'password'} eq "$password"))
************************************************************************
{
$matched = 1;
print "<h1>We have a match</h1>";
print "<h2> The matching name is $name </h2>";
print "<h2> The matching password is $password
</h2>";
}
else
{
print "<h1> No matches </h1>";
print "<h1> $data_received{'password'} </h1>";
print "<h1> $password </h1>";
}
}
close (gbfile);
}
sub User_Data {
local (%user_data, $user_string, $name_value_pair,
@name_value_pairs, $name, $value);
# If the data was sent via POST, then it is available
# from standard input. Otherwise, the data is in the
# QUERY_STRING environment variable.
if ($ENV{'REQUEST_METHOD'} eq "POST") {
read(STDIN,$user_string,$ENV{'CONTENT_LENGTH'});
} else {
$user_string = $ENV{'QUERY_STRING'};
}
# This line changes the + signs to spaces.
$user_string =~ s/\+/ /g;
# This line places each name/value pair as a separate
# element in the name_value_pairs array.
@name_value_pairs = split(/&/, $user_string);
# This code loops over each element in the name_value_pairs
# array, splits it on the = sign, and places the value
# into the user_data associative array with the name as the
# key.
foreach $name_value_pair (@name_value_pairs) {
($name, $value) = split(/=/, $name_value_pair);
# These two lines decode the values from any UR
# hexadecimal encoding. The first section searches for a
# hexadecimal number and the second part converts the
# hex number to decimal and returns the character
# equivalent.
$name =~
s/%([a-fA-F0-9][a-fA-F0-9])/pack("C",hex($1))/ge;
$value =~
s/%([a-fA-F0-9][a-fA-F0-9])/pack("C",hex($1))/ge;
# If the name/value pair has already been given a value,
# as in the case of multiple items being selected, then
# separate the items with a " : ".
if (defined($user_data{$name})) {
$user_data{$name} .= " : " . $value;
} else {
$user_data{$name} = $value;
}
}
return %user_data;
}
Thanks for helping a newbie !!
--
Richard Burrows
------------------------------
Date: 28 Jul 1997 03:45:55 GMT
From: rjking@blue.seas.upenn.edu (Rachel J King)
Subject: Newbie seeks help using C commands in Perl
Message-Id: <5rh4lj$q5c$1@netnews.upenn.edu>
I've just started to learn Perl within the last week or so and am playing
around with files. My specific problem involves the use of getc().
After I've read in a file to an arry, how do I access specific characters
and put them in their own arrays to use them?
OK, example:
open (inFile, $readme);
@readit = <infile>;
close (inFile);
Now, each element in @readit has 3 pieces of information I want to get.
Example:
123456789 95 userid
I want to get the first 9 digits into an array, the 2nd integer into
another array, and userid into a 3rd array so I can use them elsewhere in
the program. I've been trying to use getc, but apparently I am doing
something wrong. So, any help would be greatly appreciated.
Thanks,
Rachel
------------------------------
Date: Mon, 28 Jul 1997 00:02:25 -0500
From: Ben Sandler <ben@nospam.samet.com>
Subject: Re: Newbie seeks help using C commands in Perl
Message-Id: <33DC27E0.201@nospam.samet.com>
Rachel J King wrote:
>
> I've just started to learn Perl within the last week or so and am playing
> around with files. My specific problem involves the use of getc().
> After I've read in a file to an arry, how do I access specific characters
> and put them in their own arrays to use them?
>
> OK, example:
> open (inFile, $readme);
> @readit = <infile>;
> close (inFile);
>
> Now, each element in @readit has 3 pieces of information I want to get.
> Example:
> 123456789 95 userid
>
> I want to get the first 9 digits into an array, the 2nd integer into
> another array, and userid into a 3rd array so I can use them elsewhere in
> the program. I've been trying to use getc, but apparently I am doing
> something wrong. So, any help would be greatly appreciated.
>
> Thanks,
> Rachel
Perl does a lot of things with a lot less code than C. I recommend
getting some documentation. A good _short_ intro is at
http://www.cs.ccu.edu.tw/lab401/perl_related/perlcourse.html.
But to answer your question.... :)
Use a while loop for the equivalent of getc(). Use split to split
records in a file (untested):
open(FILE,"file");
while (<FILE>) {
($number[$i],$integer[$i],$userid[$i]) = split(/ /);
$i++;
}
Hope that helps,
Ben
------------------------------
Date: Sun, 27 Jul 1997 19:45:37 GMT
From: danb@smtp.j51.com (Dan)
Subject: perl5.004_01 on 64 bit machine
Message-Id: <EDztK1.3sG@nonexistent.com>
Hi,
I'm trying to build perl5.004_01 on a HAL 385 system running Sparc64/OS -
basically a hacked Solaris 2.4/2.5.1 hybrid that uses 64 bit addressing.
I can get it to compile, but it's failing 17 of the tests. There are a
number of different types of tests that fail, but the ones that bug me
most:
pragma/constant...Can't use string ("main::PI") as a symbol ref while
"strict refs" in use at ../lib/constant.pm line 152.
pragma/strict.....PROG:
# strict refs - no error
use strict ;
no strict 'refs' ;
my $fred ;
my $b = "fred" ;
my $a = $$b ;
use strict 'refs' ;
EXPECTED:
GOT:
Can't use string ("fred") as a SCALAR ref while "strict refs" in use at -
line 7.
FAILED on test 11
lib/complex.......Can't use string ("Math::Complex::pi") as a symbol ref
while "strict refs" in use at ../lib/constant.pm line 152.
..etc, etc.. Basically anything that tries to use "strict refs" is dieing
with these errors.
Here's perl -V:
Summary of my perl5 (5.0 patchlevel 4 subversion 1) configuration:
Platform:
osname=solaris, osvers=2.4, archname=sun4-solaris
uname='sunos hal 5.4 sparc64os_2.4.5 sun4h sparc '
hint=recommended, useposix=true, d_sigaction=define
bincompat3=n useperlio= d_sfio=
Compiler:
cc='cc', optimize='-g', gccversion=
cppflags=''
ccflags =''
stdchar='unsigned char', d_stdstdio=define, usevfork=false
voidflags=15, castflags=0, d_casti32=define, d_castneg=define
intsize=8, alignbytes=8, usemymalloc=y, randbits=15
Linker and Libraries:
ld='cc', ldflags ='-L/usr/lib/sparc64 -L/usr/ccs/lib/sparc64'
libpth=/usr/lib/sparc64 /usr/ccs/lib/sparc64
libs=-lsocket -lnsl -ldl -lc -lcrypt -lm
libc=/usr/lib/sparc64/libc.so, so=so
useshrplib=false, libperl=libperl.a
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=, ccdlflags=' '
cccdlflags='-Kpic', lddlflags='-G -L/usr/lib/sparc64 -L/usr/ccs/lib/sparc64'
The lib/sparc64 directories contain 64 bit versions of the usual libs.
I've managed to port a number of other things to this architecture, and it
usually involvedd patching the code, not just tweaking Makefiles.. Anyone
know where I should start looking?
Dan
------------------------------
Date: 27 Jul 1997 17:57:47 GMT
From: burt@ici.net (Burt Lewis)
Subject: posix ????
Message-Id: <5rg26r$150$1@bashir.ici.net>
I'm trying to do this:
use POSIX strftime;
print strftime("%I:%M %p", localtime), "\n";
and get this error when run from the shell, "Server Error" from browser.
Can't locate POSISX.pm in @INC at notes1.pl line 140.
BEGIN failed--compilation aborted at notes1.pl line 140.
Anyone have any ideas on what's going wrong and what I or my system admin.
needs to do to use the posix functions.
Any good documentation around?
Thanks!
Burt Lewis
------------------------------
Date: 27 Jul 1997 16:45:10 -0400
From: radev@news.cs.columbia.edu (Dragomir R. Radev)
Subject: Q: Embedding Perl in Java
Message-Id: <5rgc0m$nrv@bluewhale.cs.columbia.edu>
I have been able to embed perl code into C in a very seemless way. Now, I
need to be able to access the C library (which contains embedded Perl code)
from Java. The Java to C connection works pretty well, however, when Perl
code is invoked, the Java interpreter fails. I am trying to figure out what
the problem is and will post a list of the error messages that I get.
If anyone has any hints on linking Java->C->Perl code (or, alternatively,
linking Java->Perl directly), please let me know.
Thanks a lot.
Drago
--
Dragomir R. Radev Graduate Research Assistant
Natural Language Processing Group Columbia University CS Department
H: 212-749-9770 O: 212-939-7121 http://www.cs.columbia.edu/~radev
------------------------------
Date: Sun, 27 Jul 1997 17:37:00 -0700
From: Aaron Schultz <aschultz@seds.lpl.arizona.edu>
Subject: question on http downloading
Message-Id: <33DBE9AB.2B1B50B5@seds.lpl.arizona.edu>
hello all,
I have a web site that has all of it's images sourced to
various different servers on the net. I, however, would like all
the physical image files to be on my hard disk since everyone
keeps moving their images around leaving my page with a bunch of
broken links and because I now have enough space on my server
for them. :)
So, I am basically looking for an easy way to download an image
with a known URL location into a specified directory on my home
machine without having to go out and download all the images
by hand using a browser.
I am just learning perl so be easy on me and I am not a regular
reader of this group so please reply to me directly as well
as the group.
Thanks,
Aaron Schultz
aschultz@seds.org -- www.seds.org/~aschultz -- P#(670-0983) H#(629-0503)
------------------------------
Date: Sun, 27 Jul 1997 21:13:16 -0500
From: comdog@computerdog.com (brian d foy)
Subject: Re: question on http downloading
Message-Id: <comdog-ya02408000R2707972113160001@nntp.netcruiser>
In article <33DBE9AB.2B1B50B5@seds.lpl.arizona.edu>, Aaron Schultz
<aschultz@seds.lpl.arizona.edu> wrote:
> So, I am basically looking for an easy way to download an image
> with a known URL location into a specified directory on my home
> machine without having to go out and download all the images
> by hand using a browser.
> I am just learning perl so be easy on me and I am not a regular
> reader of this group so please reply to me directly as well
> as the group.
sounds like a job for the LWP module, which comes with lots of
examples and good documentation. get it at your favorite
CPAN site [1].
[1] Comprehensive Perl Archive Network
<URL:http://www.perl.com>
--
brian d foy <URL:http://computerdog.com>
------------------------------
Date: Sun, 27 Jul 1997 16:21:15 -0600
From: Randal Pittelli <pittelli@ehsct7.envmed.rochester.edu>
Subject: use versus require
Message-Id: <870038332.13589@dejanews.com>
What are the pros of saying 'use some_script.pl' (build 5+) over 'require
some_script.pl' (4.036) ? Someone here understand the differences in
memory allocation, and why 'use' is nearly ubiquitous for 5.001+ ?
Similarly, what is the difference between saying:
'my $variable' (5+) and 'local($variable)' (4.036) ?
Thanks,
Randy
pittelli@envmed.rochester.edu
-------------------==== Posted via Deja News ====-----------------------
http://www.dejanews.com/ Search, Read, Post to Usenet
------------------------------
Date: Sun, 27 Jul 1997 20:26:34 -0500
From: comdog@computerdog.com (brian d foy)
Subject: Re: use versus require
Message-Id: <comdog-ya02408000R2707972026340001@nntp.netcruiser>
In article <870038332.13589@dejanews.com>, Randal Pittelli
<pittelli@ehsct7.envmed.rochester.edu> wrote:
> What are the pros of saying 'use some_script.pl' (build 5+) over 'require
> some_script.pl' (4.036) ? Someone here understand the differences in
> memory allocation, and why 'use' is nearly ubiquitous for 5.001+ ?
> Similarly, what is the difference between saying:
> 'my $variable' (5+) and 'local($variable)' (4.036) ?
these differences are explained in the perlfunc manpage, the
Blue Camel [1], and the various FAQs [2] :)
[1]
Programming Perl, Larry Wall, Tom Christensen, & Randal L. Schwartz
ISBN 1-56592-149-6.
<URL:http://www.ora.com>
[2]
<URL:http://www.perl.com>
--
brian d foy <URL:http://computerdog.com>
------------------------------
Date: Sun, 27 Jul 1997 21:34:24 -0400
From: jlfitz@webmarquee.com (Jeffrey L. Fitzgerald)
Subject: What is involved with lib-www????
Message-Id: <MPG.e45c127ac69ab04989682@news.nova.org>
I would like to use some of the lib-www items but do not know how to go
about setting it up.
Is this a ready to go out of the archive kinda thing? Or does it
need to be installed, etc. Any help greatly appreciated...
------------------------------
Date: Sun, 27 Jul 1997 20:45:27 GMT
From: "Nasser Keshmirshekan" <nasser@internetaddress.com>
Subject: Where can I get ExtUtils::Manifest!?
Message-Id: <EDzw7r.IH@utcc.utoronto.ca>
Hi,
I am a new perl user and am trying to setup the GD library on my machine
(Windows NT). To do that I need to setup ExtUtils::MakeMaker first, and in
order to do that I need to have ExtUtils::Manifest. But unfortunately I
have not been able to find the latter anywhere in the CPAN mirror sites. I
got to the /pub/perl/CPAN/modules/by-module/ExtUtils directory and in there
there is no sign of Manifest. Am I missing something!?
Please help!! It would be really appriciated.
Thanks, .....Nasser
------------------------------
Date: 28 Jul 1997 00:52:09 GMT
From: nvp@shore.net (Nathan V. Patwardhan)
Subject: Re: Where can I get ExtUtils::Manifest!?
Message-Id: <5rgqfp$lsc@fridge-nf0.shore.net>
Nasser Keshmirshekan (nasser@internetaddress.com) wrote:
: I am a new perl user and am trying to setup the GD library on my machine
: (Windows NT). To do that I need to setup ExtUtils::MakeMaker first, and in
: order to do that I need to have ExtUtils::Manifest. But unfortunately I
[snip]
If I'm correct, you're using NTPerl 5.003_07? If so, there's a new
port of 5.004_01 hanging around at CPAN that includes a working
version of MakeMaker and pTk (a Tk extension to Perl). It's a good
thing if you're into the NT world and Perl modules. :-)
http://www.perl.com/CPAN/ports/nt/Gurusamy_Sarathy/
and get the file: perl5.00401-bindist02-bc.tar.gz
Hope this helps!
--
Nathan V. Patwardhan
nvp@shore.net
------------------------------
Date: 27 Jul 1997 10:51:49 -0600
From: mfuhr@dimensional.com (Michael Fuhr)
Subject: Re: where is FAQ, how to use $ENV
Message-Id: <5rfub5$jqh@flatland.dimensional.com>
Jay Eckles <eckje@rhodes.edu> writes:
> First of all, This is my first time to read this group so I was
> wondering if someone could tell me where the FAQ is so that I won't go
> around asking questions that I can figure out on my own.
If only more new readers had that attitude :-) You can find the
Perl FAQ at:
http://www.perl.com/perl/faq/
There should also be manual pages available somewhere on your system.
If you're running some variant of Unix, try "man perl", "man perltoc",
and "man perlfaq" to get an idea of what's available.
> Second, I'm just now learning perl (have experience with C) and am
> trying to experiment a bit with CGI using Perl. I know there is a
> module called ENV or something like that that deals with environment
> variables...how do I use it?
See the perldata and perlvar manual pages on your system, or view
them at:
http://www.perl.com/perl/nmanual/perldata.html
http://www.perl.com/perl/nmanual/perlvar.html
Read about hashes in general (perldata) and the %ENV hash in
particular (perlvar).
Hope this helps!
--
Michael Fuhr
http://www.dimensional.com/~mfuhr/
------------------------------
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 785
*************************************