[9803] in Perl-Users-Digest
Perl-Users Digest, Issue: 3396 Volume: 8
daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Sat Aug 8 02:07:13 1998
Date: Fri, 7 Aug 98 23:00:19 -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 Fri, 7 Aug 1998 Volume: 8 Number: 3396
Today's topics:
Re: "Here" documents and the mystery that is FTP <uri@sysarch.com>
Re: ' (quote) characters making problems <rootbeer@teleport.com>
Re: 'use' and import issue (Tye McQueen)
=?X-UNKNOWN?Q?Re=3A_open_on_FIFO_doesn=B4t_return_-Why= <rootbeer@teleport.com>
Re: clp.misc etiquette question (Gary L. Burnore)
Re: clp.misc etiquette question (Shawn O'Donnell)
Re: comp.lang.perl.announce redux (Stefaan A Eeckels)
Re: comp.lang.perl.announce redux (Stefaan A Eeckels)
Re: create html files in htdocs <rootbeer@teleport.com>
Re: Help interpreting error message <rootbeer@teleport.com>
Re: Help Needed please <rootbeer@teleport.com>
how can I make my perl cgi script email to a newsgroup <vintage@stc.net>
Re: how can I make my perl cgi script email to a newsgr <rootbeer@teleport.com>
Re: illegal seek error message <rootbeer@teleport.com>
Re: Intriguing coderef question (Mark-Jason Dominus)
Re: Intriguing coderef question (Mark-Jason Dominus)
Re: Need help with command line for CGI for NT <rootbeer@teleport.com>
NEED REDIRECT SCRIPT (Stuart Sloves)
Re: NEED REDIRECT SCRIPT <rootbeer@teleport.com>
Re: perl 5.005: Binary Distribution for Win32? <slimdude@cyberdude.com>
Re: perl 5.005: Binary Distribution for Win32? <CHager@centuryinter.net>
Re: Perl for Win32 Question <CHager@centuryinter.net>
Re: perlfaq - frequently asked questions about Perl (pa <cjdpcssd@ims-1.com>
Re: Returning hashes of hashes <rootbeer@teleport.com>
Re: Setting $ENV{LD_LIBRARY_PATH} doesn't work (Tye McQueen)
Re: Status of MailTools-1.11 <rootbeer@teleport.com>
Re: Use of Uninitialized variable!! <rootbeer@teleport.com>
Re: wildcards don't work with link function? <rootbeer@teleport.com>
Special: Digest Administrivia (Last modified: 12 Mar 98 (Perl-Users-Digest Admin)
----------------------------------------------------------------------
Date: 08 Aug 1998 01:51:11 -0400
From: Uri Guttman <uri@sysarch.com>
Subject: Re: "Here" documents and the mystery that is FTP
Message-Id: <x7d8ac58ds.fsf@sysarch.com>
>>>>> "HP" == Honza Pazdziora <adelton@fi.muni.cz> writes:
HP> On Fri, 07 Aug 1998 14:35:09 -0500, pearse
HP> <pearse@mail.shebang.net> wrote:
>> So, I'm got two things going on here. 1) wintel editior is adding
>> /r/n to EOF 2) wintel editior is adding ^M to EOF
>>
>> Which is it? And couldn't the perl interpreter be told that EOF =
>> EOF/r/n = EOF^M? If so, where do I post the patch?
HP> and not /r/n, it's EOL and not EOF and the ^M (which is the same
HP> as \r, for the curious) is prepended, not added.
HP> Hope this helps,
it didn't help.
he was refering to the here token EOF that he was using. not the ascii
code EOF or EOL.
uri
--
Uri Guttman ----------------- SYStems ARCHitecture and Software Engineering
Perl Hacker for Hire ---------------------- Perl, Internet, UNIX Consulting
uri@sysarch.com ------------------------------------ http://www.sysarch.com
The Best Search Engine on the Net ------------- http://www.northernlight.com
------------------------------
Date: Sat, 08 Aug 1998 03:36:32 GMT
From: Tom Phoenix <rootbeer@teleport.com>
Subject: Re: ' (quote) characters making problems
Message-Id: <Pine.GSO.4.02.9808072035260.16140-100000@user2.teleport.com>
On Fri, 7 Aug 1998, Jerome O'Neil wrote:
> > print "<input type='text' name='something' value='$message'>";
> For example your statement could be converted to
>
> print qq{<input type='text' name='something' value='$message'>};
Of course, if the first one didn't work, the second will fail in just the
same way. Oh, well!
--
Tom Phoenix Perl Training and Hacking Esperanto
Randal Schwartz Case: http://www.rahul.net/jeffrey/ovs/
------------------------------
Date: 7 Aug 1998 23:17:45 -0500
From: tye@fumnix.metronet.com (Tye McQueen)
Subject: Re: 'use' and import issue
Message-Id: <6qgjh9$mfo@fumnix.metronet.com>
John Porter <jdporter@min.net> writes:
)
) Unless you perform some chicanery, Foo gets 'use'd only once per
) program,
) regardless of how many times you say it. That means that its import()
) only gets called once.
Half right. Multiple C<use>s result in multiple C<require>s which
result in the module being compiled _once_. But import() will be
called as many times as the module is C<use>d.
--
Tye McQueen Nothing is obvious unless you are overlooking something
http://www.metronet.com/~tye/ (scripts, links, nothing fancy)
------------------------------
Date: Sat, 08 Aug 1998 03:17:48 GMT
From: Tom Phoenix <rootbeer@teleport.com>
Subject: =?X-UNKNOWN?Q?Re=3A_open_on_FIFO_doesn=B4t_return_-Why=3F?=
Message-Id: <Pine.GSO.4.02.9808072006280.16140-100000@user2.teleport.com>
On Fri, 7 Aug 1998, Franz Kaufmann wrote:
> When I do a=20
> open (IN,"$masterfifo[0]") || die "$!";
> print "SUCCESSFUL" if $DEBUG;
>=20
> perl doesn=B4t complain,but doesn=B4t print "SUCCESSFUL",i.e doesn=B4t re=
turn=20
> from the open although the FIFO exists.
A couple of oddball ideas: Could your open be blocking? Could $DEBUG be
false? Could your output be buffered, or could STDOUT be going where you
didn't expect, or could a different filehandle be selected for output?
Hope this helps!
--=20
Tom Phoenix Perl Training and Hacking Esperanto
Randal Schwartz Case: http://www.rahul.net/jeffrey/ovs/
------------------------------
Date: Sat, 08 Aug 1998 03:15:11 GMT
From: gburnore@databasix.com (Gary L. Burnore)
Subject: Re: clp.misc etiquette question
Message-Id: <35e5c29b.104598250@nntpd.databasix.com>
On Fri, 07 Aug 1998 22:15:49 -0400, in article <35CBB4D5.F10F12C3@erols.com>,
"Matthew O. Persico" <mpersico@erols.com> wrote:
>When the answer to a question posed here is conceptually:
>
>perldoc yadayady | grep conceptInQuestion
>
>what is the general feeling in the group about posting the answer and/or
>mailing the answer?
>
>My take is this:
>
>Posting such a simple question wastes bandwidth, makes yet another
>thread to have to skip.
>
>OTHOH, posting the answer may make another person not post such a simple
>answer. The personal response may be habit fomring and encourage the
>posting more FAQ questions. Unless the mailed answer contained the ***
>FAQ: ANSWERS TO YOUR QUESTIONS! READ FIRST! text.
>
>Is that too obnoxious to do?
What's wrong with doing both nicely in the same post.
Your answer is ... and you could have found it in the FAQ at ...
--
I DO NOT WISH TO RECEIVE EMAIL IN REGARD TO USENET POSTS
---------------------------------------------------------------------------
How you look depends on where you go.
---------------------------------------------------------------------------
Gary L. Burnore | ][3:]3^3:]33][:]3^3:]3]3^3:]3]][3
| ][3:]3^3:]33][:]3^3:]3]3^3:]3]][3
DOH! | ][3:]3^3:]33][:]3^3:]3]3^3:]3]][3
| ][3 3 4 1 4 2 ]3^3 6 9 0 6 9 ][3
Special Sig for perl groups. | Official Proof of Purchase
===========================================================================
------------------------------
Date: Fri, 07 Aug 1998 23:45:19 -0400
From: shawn@ultranet.com (Shawn O'Donnell)
Subject: Re: clp.misc etiquette question
Message-Id: <shawn-0708982345190001@d47.dial-4.cmb.ma.ultra.net>
In article <35CBB4D5.F10F12C3@erols.com>, "Matthew O. Persico"
<mpersico@erols.com> wrote:
> Is that too obnoxious to do?
Like they say, TMTOWTTSTRTFM.
(There's more than one way to tell someone to read the manual.)
Replies that explain how you should have known the answer was in perlqxpxz
are somewhat more useful than replies that say only, "the answer is in the
docs."
DUH.
Will the nice person who analyzed posts by poster, by thread, by clip %,
etc., please add a category for % answers that tell the supplicant to
read the FAQ.
--Shawn
------------------------------
Date: 8 Aug 1998 01:15:19 GMT
From: Stefaan.Eeckels@ecc.lu (Stefaan A Eeckels)
Subject: Re: comp.lang.perl.announce redux
Message-Id: <6qg8r7$aia$1@justus.ecc.lu>
In article <yo94svr8yq4.fsf@nym.sc.philips.com>,
dont_use_this_ey@hotmail.com (Frank) writes:
> How's dhis: dhe moderador adds a link ad dhe boddom of each boschd
> (added via a berl scribd, of course) which envokes AldaVischda's
> BabelFish abbrobriadely so as do give a desired dranslazion
Marvellous. ROTFL, for the best part of 15 minutes. Wow. You
get my vote for the 'Best Stand-Up Comedian of USENET 1998'.
Chust prilliant, no, fery Goot.
--
Stefaan
--
PGP key available from PGP key servers (http://www.pgp.net/pgpnet/)
___________________________________________________________________
Perfection is reached, not when there is no longer anything to add,
but when there is no longer anything to take away. -- Saint-Exupery
------------------------------
Date: 8 Aug 1998 01:41:26 GMT
From: Stefaan.Eeckels@ecc.lu (Stefaan A Eeckels)
Subject: Re: comp.lang.perl.announce redux
Message-Id: <6qgac6$aia$2@justus.ecc.lu>
In article <fl_aggie-0308982109350001@aggie.coaps.fsu.edu>,
fl_aggie@thepentagon.com (I R A Aggie) writes:
>
> James - and Digital paid how much for this translator??
I got acquainted with this heap of s..t when it was used
at the European Commission back in 1993-1994 to assist the
Commission's translators and secretaries. You'd mail it a
text, and it would mail the translation back. I gave up
on it when it translated (from French to English)
'MS-DOS' as 'MS-BACKS'
and
'Marc Fischbach' as 'Fischbach Brandy'.
All of that without nasty re-translations. It remains
unbeatable as a morale booster :-)
--
Stefaan
--
PGP key available from PGP key servers (http://www.pgp.net/pgpnet/)
___________________________________________________________________
Perfection is reached, not when there is no longer anything to add,
but when there is no longer anything to take away. -- Saint-Exupery
------------------------------
Date: Sat, 08 Aug 1998 04:20:27 GMT
From: Tom Phoenix <rootbeer@teleport.com>
Subject: Re: create html files in htdocs
Message-Id: <Pine.GSO.4.02.9808072119030.16140-100000@user2.teleport.com>
On Fri, 7 Aug 1998 c.clark@student.unsw.edu.au wrote:
> I'm using an apache server. I want to create HTML files in the htdocs
> directory from a CGI program in Perl. I have tried setting the path,
> but it doesn't seem to work.
Without seeing your code, we can only guess. My guess: You're not checking
the return values from open? Hope this helps!
--
Tom Phoenix Perl Training and Hacking Esperanto
Randal Schwartz Case: http://www.rahul.net/jeffrey/ovs/
------------------------------
Date: Sat, 08 Aug 1998 04:13:32 GMT
From: Tom Phoenix <rootbeer@teleport.com>
Subject: Re: Help interpreting error message
Message-Id: <Pine.GSO.4.02.9808072112310.16140-100000@user2.teleport.com>
On Fri, 7 Aug 1998, Andrew W. Robinson wrote:
> I'm getting the following error message in a script I'm working
> on:
>
> Use of uninitialized value at (eval 21) line 18.
>
> I'm pretty sure the error is not on line 18 of the script, so I
> assume (eval 21) implies some offset. What would that offset be?
It's line 18 of the 21st call to eval (STRING). Yet another reason to
avoid eval of a string! But you could step through this with the debugger
and almost certainly find the problem. Hope this helps!
--
Tom Phoenix Perl Training and Hacking Esperanto
Randal Schwartz Case: http://www.rahul.net/jeffrey/ovs/
------------------------------
Date: Sat, 08 Aug 1998 04:17:06 GMT
From: Tom Phoenix <rootbeer@teleport.com>
Subject: Re: Help Needed please
Message-Id: <Pine.GSO.4.02.9808072114450.16140-100000@user2.teleport.com>
On Fri, 7 Aug 1998 mikey7918@my-dejanews.com wrote:
> Subject: Help Needed please
Please check out this helpful information on choosing good subject
lines. It will be a big help to you in making it more likely that your
requests will be answered.
http://www.perl.com/CPAN/authors/Dean_Roehrich/subjects.post
> !/usr/local/bin/perl
There's one problem.
> open(PASS, "/default.txt") || die "Sorry, I couldn't open that file\n"; while
> (<PASS>) { chomp($_); @f = split(/:/, $_); if ($f[0] eq
> $in{'name'}) { print "$ID Your $in{'name'} is the
If you want help with this, you're going to need to add -w warnings, 'use
strict', and some reasonable formatting. Yes, perl will let you run your
scripts without those things, but they really help when you're trying to
maintain your code. Like now. :-)
Oh, and don't forget to use flock if concurrency may be an issue. Hope
this helps!
--
Tom Phoenix Perl Training and Hacking Esperanto
Randal Schwartz Case: http://www.rahul.net/jeffrey/ovs/
------------------------------
Date: Sat, 08 Aug 1998 04:30:00 GMT
From: John Grimm <vintage@stc.net>
Subject: how can I make my perl cgi script email to a newsgroup
Message-Id: <35CBD395.6B4BFACD@stc.net>
I have a perl script and I want to be able to have it automatically
email a post to
rec.music.makers.marketplace
How do I do it. I've been pulling my hair out for months trying to
figure this out.
Please help. I don't lurk here often so if you can please send me an
email at vintage@stc.net
------------------------------
Date: Sat, 08 Aug 1998 04:54:37 GMT
From: Tom Phoenix <rootbeer@teleport.com>
Subject: Re: how can I make my perl cgi script email to a newsgroup
Message-Id: <Pine.GSO.4.02.9808072151501.16140-100000@user2.teleport.com>
On Sat, 8 Aug 1998, John Grimm wrote:
> Subject: how can I make my perl cgi script email to a newsgroup
If you want to be able to send email to a newsgroup, you need a gateway
from email to Usenet. The docs, FAQs, and newsgroups about Usenet should
be able to help you with that problem. Of course, if you merely want to
post to Usenet, you should be able to do that with the Net::NNTP module
which you'll find on CPAN. Hope this helps!
--
Tom Phoenix Perl Training and Hacking Esperanto
Randal Schwartz Case: http://www.rahul.net/jeffrey/ovs/
------------------------------
Date: Sat, 08 Aug 1998 03:31:00 GMT
From: Tom Phoenix <rootbeer@teleport.com>
Subject: Re: illegal seek error message
Message-Id: <Pine.GSO.4.02.9808072030110.16140-100000@user2.teleport.com>
On Fri, 7 Aug 1998 pdalton@my-dejanews.com wrote:
> !/usr/bin/perl -w
> # A script to add a new user.
> $date = `/bin/date +%m%Y`;
> print $!;
Why are you printing that? Hope this helps!
--
Tom Phoenix Perl Training and Hacking Esperanto
Randal Schwartz Case: http://www.rahul.net/jeffrey/ovs/
------------------------------
Date: 7 Aug 1998 23:50:21 -0400
From: mjd@op.net (Mark-Jason Dominus)
Subject: Re: Intriguing coderef question
Message-Id: <6qghtt$dph$1@monet.op.net>
In article <6qeeh3$ckt$1@pegasus.csx.cam.ac.uk>,
M.J.T. Guy <mjtg@cus.cam.ac.uk> wrote:
>Not _quite_ true. If you run under -d, the source is kept - see
>perldoc perldebug for details. Not that I particularly recommend
>doing it that way.
It's funny you said that, because that's what I thought of right away,
but then I decided it would be silly. But now that you mention it, it
doesn't seem so silly any more.
Once I wrote out in detail what you'd have to do, it turned out to be
pretty easy. Here's the complete details:
You assemble a trivial debugger module, like this one:
package Devel::Trivial;
sub import {
*main::source_of_function = \&source_of_function
}
sub DB::DB { }
sub source_of_function {
my $package = caller;
$function = $package . '::' . shift();
my ($file, $start, $end) =
$DB::sub{$function} =~ /(.*):(\d+)-(\d+)/;
@{"::_<$file"}[$start..$end]; # LOD
}
1;
Then you put
#!/bin/perl -d:Trivial
at the head of your script, and then inside the script, any call to
&source_of_function('foo') would return an array with the lines of
`foo's source code.
If it were a lot more effort it would be a lot sillier. As it is it's
still pretty silly, but I really really like silly things that work,
and this works.
The only catch is that it can't find imported functions. I might
submit a patch for that later; in the meantime, you'd have to do
something icky like walking the symbol table to find where the real
definition was.
Looks useful. I guess maybe I'll upload it to CPAN next week.
------------------------------
Date: 8 Aug 1998 00:35:35 -0400
From: mjd@op.net (Mark-Jason Dominus)
Subject: Re: Intriguing coderef question
Message-Id: <6qgkin$du3$1@monet.op.net>
In article <6qghtt$dph$1@monet.op.net>, Mark-Jason Dominus <mjd@op.net> wrote:
>this works.
But I should probably add that it has nothing at all to do with the
original question.
------------------------------
Date: Sat, 08 Aug 1998 03:58:35 GMT
From: Tom Phoenix <rootbeer@teleport.com>
Subject: Re: Need help with command line for CGI for NT
Message-Id: <Pine.GSO.4.02.9808072057420.16140-100000@user2.teleport.com>
On Fri, 7 Aug 1998, Mok wrote:
> For some reason, perl scripts
> are not parsed through CGI on our NT server.
It sounds as if your server isn't set up properly. The docs, FAQs, and
newsgroups about your server should be able to help you. Good luck!
--
Tom Phoenix Perl Training and Hacking Esperanto
Randal Schwartz Case: http://www.rahul.net/jeffrey/ovs/
------------------------------
Date: Sat, 08 Aug 1998 04:16:25 GMT
From: art4all@gate.net (Stuart Sloves)
Subject: NEED REDIRECT SCRIPT
Message-Id: <35ccd116.15240910@news.gate.net>
Could someone steer me to a 'redirect script' which will take a client
browser accessing a new 'parked' domain and redirect it to an existing
domain and an 'index2.html file in a directory within the root one.
Please e-mail me at: mailto:art4all@gate.net
Thanks,
------------------------------
Date: Sat, 08 Aug 1998 04:51:33 GMT
From: Tom Phoenix <rootbeer@teleport.com>
Subject: Re: NEED REDIRECT SCRIPT
Message-Id: <Pine.GSO.4.02.9808072150500.16140-100000@user2.teleport.com>
On Sat, 8 Aug 1998, Stuart Sloves wrote:
> Subject: NEED REDIRECT SCRIPT
DON'T NEED TO SHOUT! :-)
Please check out this helpful information on choosing good subject
lines. It will be a big help to you in making it more likely that your
requests will be answered.
http://www.perl.com/CPAN/authors/Dean_Roehrich/subjects.post
> Could someone steer me to a 'redirect script'
If you're wishing merely to _find_ (as opposed to write) programs,
this newsgroup may not be the best resource for you. There are many
freeware and shareware archives which you can find by searching Yahoo
or a similar service. Hope this helps!
--
Tom Phoenix Perl Training and Hacking Esperanto
Randal Schwartz Case: http://www.rahul.net/jeffrey/ovs/
------------------------------
Date: Fri, 7 Aug 1998 23:32:46 -0400
From: "Paul Morris" <slimdude@cyberdude.com>
Subject: Re: perl 5.005: Binary Distribution for Win32?
Message-Id: <6qghd8$6s9$1@news.bond.net>
Sure. Check out www.activestate.com.
Michael Schilli wrote in message <35C8F30C.6C42669F@blaxxun.com>...
>Hi 5.005 gurus,
>
>I understand 5.005 compiles well on Win32 - but since I don't have a C
>Compiler on my Windows box: is there a binary distribution for Win32?
>
>Thanks,
>
>-- Michael
>
>----------------------------------------------------------
> Michael Schilli http://perlmeister.com
>----------------------------------------------------------
------------------------------
Date: Sat, 8 Aug 1998 00:02:05 -0400
From: "Claude Hager" <CHager@centuryinter.net>
Subject: Re: perl 5.005: Binary Distribution for Win32?
Message-Id: <6qgik9$1d$1@newsread1-mx.centuryinter.net>
I just picked up 5.005 (ActivePerl) from http://www.activestate.com/. It
looks good so far.
Michael Schilli wrote in message <35C8F30C.6C42669F@blaxxun.com>...
...
>I understand 5.005 compiles well on Win32 - but since I don't have a C
>Compiler on my Windows box: is there a binary distribution for Win32?
...
------------------------------
Date: Sat, 8 Aug 1998 00:20:44 -0400
From: "Claude Hager" <CHager@centuryinter.net>
Subject: Re: Perl for Win32 Question
Message-Id: <6qgjm1$kj$1@newsread1-mx.centuryinter.net>
I think its something like
use Win32;
my $CurDir = Win32::GetCwd;
will work.
pat mercer wrote in message <35CAFCD1.3B32@verio.net>...
...
>Does anybody know the best way how to get the current directory?
>Does ActiveState have the following UNIX equivalent, $ENV{PWD} ?
...
------------------------------
Date: Fri, 7 Aug 1998 23:00:34 -0500
From: "Curtis Jewell / Dennis Whalen" <cjdpcssd@ims-1.com>
Subject: Re: perlfaq - frequently asked questions about Perl (part 0 of 9)
Message-Id: <6qgihu$8db@enews3.newsguy.com>
John Porter wrote in message <35CB1CEF.458@min.net>...
>Curtis Jewell / Dennis Whalen wrote:
>>
>> Peter A Fein wrote in message ...
>> >I guess it's ok (like I'm some authority or something? Sheesh). I
>> >would have thought a pointer to those docs (in the form of see 'man
>> >perlfaq') would have been sufficient. But hey if it works, whatever.
>>
>> What about those unlucky ones who do not have a man (Win32, Mac)? I've
been
>> looking for a man variant at all (much less that RUNS) on Win95 for a
YEAR.
>>
>> Maybe someone should send me the markup language used and I'll write a
>> graphical one!
>
>A. If you're on Windows, you don't need man. If you have perl, then you
> have the pod (plain ol' documentation) files, and the standard pod
> viewer, perldoc (which you run at the command prompt).
> Peter should have said "perldoc perlfaq".
But I don't need a man viewer (or a POD viewer) for just Perl, either.
I can view POD all right.
>B. If you are inclined to make a better pod viewer, the format is
> documented the same place everything else about perl is documented:
> in/under your perl's installation directory. Also, included in the
> perl distribution are some modules which make it easy to parse pod
> files.
>
>C. If you are actually inclined to make a manpage viewer, the format
> is usually nroff or troff. You didn't find that out, in a year of
> searching?
Yes, I found THAT out. Now, does anybody know of a Win95 port of either one
(or of man), or instructions on the format (and no, man nroff/troff/man on
my nearest Unixen don't tell me much about *roff markup - what would?)
-- Curtis
------------------------------
Date: Sat, 08 Aug 1998 04:08:21 GMT
From: Tom Phoenix <rootbeer@teleport.com>
Subject: Re: Returning hashes of hashes
Message-Id: <Pine.GSO.4.02.9808072106410.16140-100000@user2.teleport.com>
On Fri, 7 Aug 1998 posenj@lancet.co.za wrote:
> However, the function returns an empty hash.
Your code was too complex for me. (Were you really trying to use lines of
text as soft references? Why?) But try stepping through it in the
debugger, and all should become clear to you. Good luck!
--
Tom Phoenix Perl Training and Hacking Esperanto
Randal Schwartz Case: http://www.rahul.net/jeffrey/ovs/
------------------------------
Date: 7 Aug 1998 23:05:18 -0500
From: tye@fumnix.metronet.com (Tye McQueen)
Subject: Re: Setting $ENV{LD_LIBRARY_PATH} doesn't work
Message-Id: <6qgipu$ja1@fumnix.metronet.com>
Remco Wouts <remco@xray.bmc.uu.se> writes:
) Do you really think that the environment
) for the perl interpreter changes if you set and environment variable
) within your perl script??
Yes, as a matter of fact, I do. The script is not in a
separate process, if that is what you were thinking.
--
Tye McQueen Nothing is obvious unless you are overlooking something
http://www.metronet.com/~tye/ (scripts, links, nothing fancy)
------------------------------
Date: Sat, 08 Aug 1998 04:10:29 GMT
From: Tom Phoenix <rootbeer@teleport.com>
Subject: Re: Status of MailTools-1.11
Message-Id: <Pine.GSO.4.02.9808072109140.16140-100000@user2.teleport.com>
On 7 Aug 1998, Robert Lopez wrote:
> I have been trying to download MailTools-1.11.tar.gz from
> cpan and regardless of the site I can read the MailTools-1.11.readme
> file but can not successfully down load any version of MailTools gz
> file. I get "Unknown status reply from server: 1!"
> What am I doing wrong?
Your client for downloading is probably misconfigured, and doesn't know
how to handle .gz files. (Or, the servers are trying to give you the wrong
Mime type.) Try getting it by FTP instead, if nothing else works. Good
luck!
--
Tom Phoenix Perl Training and Hacking Esperanto
Randal Schwartz Case: http://www.rahul.net/jeffrey/ovs/
------------------------------
Date: Sat, 08 Aug 1998 04:01:18 GMT
From: Tom Phoenix <rootbeer@teleport.com>
Subject: Re: Use of Uninitialized variable!!
Message-Id: <Pine.GSO.4.02.9808072059060.16140-100000@user2.teleport.com>
On Fri, 7 Aug 1998, hartmd00 wrote:
> Subject: Use of Uninitialized variable!!
>
> I am getting this message and I have no idea why I would.
The perldiag manpage should clue you in.
> if ($#nextrow < -1)) { # this is the run that gives
> me the error
> push(@data, join($delim, @nextrow));
It can happen that the error is reported on a line other than the one
which needs to be fixed. Could it be that $delim is undefined, or that
undef is one of the values within @nextrow? Hope this helps!
--
Tom Phoenix Perl Training and Hacking Esperanto
Randal Schwartz Case: http://www.rahul.net/jeffrey/ovs/
------------------------------
Date: Sat, 08 Aug 1998 03:44:09 GMT
From: Tom Phoenix <rootbeer@teleport.com>
Subject: Re: wildcards don't work with link function?
Message-Id: <Pine.GSO.4.02.9808072043000.16140-100000@user2.teleport.com>
On Fri, 7 Aug 1998, Brett Goldstock wrote:
> ln /usr/local/stuff/abc* /usr/local/morestuff
>
> The above will make hard links to everything that matches the wilcard
> into the directory "morestuff".
That's a command line which you could emulate by making many calls to
perl's link function.
> > It sounds as if you want the glob function. Hope this helps!
>
> Where is this documented? Is it part of the standard perl distribution?
Perl's built-in functions are documented in the perlfunc manpage. Good
luck!
--
Tom Phoenix Perl Training and Hacking Esperanto
Randal Schwartz Case: http://www.rahul.net/jeffrey/ovs/
------------------------------
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 3396
**************************************