[16211] in Perl-Users-Digest

home help back first fref pref prev next nref lref last post

Perl-Users Digest, Issue: 3623 Volume: 9

daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Tue Jul 11 18:05:54 2000

Date: Tue, 11 Jul 2000 15:05:31 -0700 (PDT)
From: Perl-Users Digest <Perl-Users-Request@ruby.OCE.ORST.EDU>
To: Perl-Users@ruby.OCE.ORST.EDU (Perl-Users Digest)
Message-Id: <963353131-v9-i3623@ruby.oce.orst.edu>
Content-Type: text

Perl-Users Digest           Tue, 11 Jul 2000     Volume: 9 Number: 3623

Today's topics:
    Re: <newbie> (11 .. 21) for arrays. <lr@hpl.hp.com>
    Re: <newbie>How to determine current location (pwd) in  <jeffrey.l.susanj@boeing.com>
    Re: Anyone have a Free Meta Crawler Script <gellyfish@gellyfish.com>
        ATTENTION PERL MACHOES!!!!!!!!!!!!!!!!!!! p3rlc0dr@my-deja.com
    Re: ATTENTION PERL MACHOES!!!!!!!!!!!!!!!!!!! <care227@attglobal.net>
    Re: ATTENTION PERL MACHOES!!!!!!!!!!!!!!!!!!! <PerLover@PerLove.com>
    Re: ATTENTION PERL MACHOES!!!!!!!!!!!!!!!!!!! p3rlc0dr@my-deja.com
    Re: ATTENTION PERL MACHOES!!!!!!!!!!!!!!!!!!! p3rlc0dr@my-deja.com
    Re: ATTENTION PERL MACHOES!!!!!!!!!!!!!!!!!!! (Malcolm Dew-Jones)
    Re: ATTENTION PERL MACHOES!!!!!!!!!!!!!!!!!!! (brian d foy)
    Re: ATTENTION PERL MACHOES!!!!!!!!!!!!!!!!!!! <DNess@Home.Com>
    Re: Beyond perl? Need advice... <gellyfish@gellyfish.com>
    Re: Beyond perl? Need advice... <lr@hpl.hp.com>
    Re: Beyond perl? Need advice... dejajason@my-deja.com
    Re: Beyond perl? Need advice... dejajason@my-deja.com
        Called executable can't access net drive aabill@my-deja.com
        Can't locate loadable object for module Crypt::Blowfish cancan1029@my-deja.com
    Re: Can't locate loadable object for module Crypt::Blow <care227@attglobal.net>
    Re: Can't locate loadable object for module Crypt::Blow cancan1029@my-deja.com
        can't undef active subroutine.....Registry.pm line 102 <eaglewing@zensearch.com>
        Digest Administrivia (Last modified: 16 Sep 99) (Perl-Users-Digest Admin)

----------------------------------------------------------------------

Date: Tue, 11 Jul 2000 14:25:54 -0700
From: Larry Rosler <lr@hpl.hp.com>
Subject: Re: <newbie> (11 .. 21) for arrays.
Message-Id: <MPG.13d530c1854b77a798abb6@nntp.hpl.hp.com>

In article <8ke4dc$ine$1@nnrp2.deja.com> on Tue, 11 Jul 2000 03:30:51 
GMT, alexserve@my-deja.com <alexserve@my-deja.com> says...

 ...

> while (<DATA>) {
> 
>     if (11 .. 21) {
> 
>    @tabledata=split(/\s*\|\s*/, <DATA>);
> 
>    $id = $tabledata[0];
>    $title = $tabledata[1];
>    $website_url = $tabledata[2];
>    $email = $tabledata[3];
>    $software   = $tabledata[4];
>    $type   = $tabledata[5];
>    $page_url   = $tabledata[6];

That hurts the eyes.  Others have dealt with the superfluous read.

  while (<DATA>) {
     next unless 11 .. 21;
     my ($id, $title, $website_url, $email, $software, $type,
             $page_url) = split /\s*\|\s*/;
     ...
 }

-- 
(Just Another Larry) Rosler
Hewlett-Packard Laboratories
http://www.hpl.hp.com/personal/Larry_Rosler/
lr@hpl.hp.com


------------------------------

Date: Tue, 11 Jul 2000 21:29:39 GMT
From: "Jeff Susanj" <jeffrey.l.susanj@boeing.com>
Subject: Re: <newbie>How to determine current location (pwd) in CGIscript?</newbie>
Message-Id: <FxJyDo.83C@news.boeing.com>

This "Jeopardy Quoting" must be a perl thing because I have never heard
anyone object to it in any other newsgroup.  I really hate to wade through a
big long quote when I just read it in the last 10 replies.  The quote is a
reference that I can look at if I need it.  Otherwise I know what the thread
is about.  Worse, I hate to see someone blasted for something like that
especially with no explanation (as I was in another Perl newsgroup that I
never went back to).


Jeff S.


Peter Sundstrom wrote in message <8kdkko$f4m$1@hermes.nz.eds.com>...
>
>colinr wrote in message ...
>>Bernard El-Hagin <bernard.el-hagin@lido-tech.net> wrote in message
>>news:slrn8m6gan.iha.bernard.el-hagin@gdndev25.lido-tech...
>>> On Wed, 5 Jul 2000 07:02:52 -0700, colinr <colinrei@oz.net> wrote:
>>> >Thanks.
>>>
>>> You're welcome.
>>>
>>> >btw, why is it called "jeopardy quoting"?
>>>
>




------------------------------

Date: 11 Jul 2000 10:05:56 +0100
From: Jonathan Stowe <gellyfish@gellyfish.com>
Subject: Re: Anyone have a Free Meta Crawler Script
Message-Id: <8keo1k$ma$1@orpheus.gellyfish.com>

On Sat, 8 Jul 2000 12:40:43 +0100 Josie wrote:
> Does anyone know where I can find a script to crawl through meta tags of a
> web page. I have just wirtten a search engine script but the last thing i
> need is a script to index the pages
> 

You miht find it easier to start with module HTML::HeadParser that makes
this stuff easy to do ....

/J\
-- 
yapc::Europe in assocation with the Institute Of Contemporary Arts
   <http://www.yapc.org/Europe/>   <http://www.ica.org.uk>


------------------------------

Date: Tue, 11 Jul 2000 19:21:29 GMT
From: p3rlc0dr@my-deja.com
Subject: ATTENTION PERL MACHOES!!!!!!!!!!!!!!!!!!!
Message-Id: <8kfs35$2eq$1@nnrp1.deja.com>

Ive been reading this board for awhile and Im very disaponted with the
atitudes and acts of many of the so-called "PERL elites".  When a
person comes to this board and asks for help do they get it NO!!!!!!!!

Y NOT?!?!

Maybe its the ATITUDE and ARROGENSE of the ppl on this board who think
that PERL being liked as a language to write webpages in gives them the
right to make fun of and slight novice users who seek help on this
board.  DO YOU "PERL ELITES" OWN THIS BOARD, NO!  Does a person whoes
writing a question to another board like FreeBSD or Linux or Java or
Python get the same treatment, NO!  Then why with PERL?  What gives YOU
"PERL ELITES" the right to treat nice people badly when they ask a
simple question here?

PERL is so good and useful but this so-called comunity is mean and
unfriendly.  WHY MUST YOU BE THAT WAY?  Please change and B GOOD!

THANK YOU.

--
Ganesha, p3rlc0dr and WEB MISTRESS
Guestbooks, hit counters, shopping carts: Get Matt's Script Archive
"There is no such thing as being a stupid woman."



Sent via Deja.com http://www.deja.com/
Before you buy.


------------------------------

Date: Tue, 11 Jul 2000 15:51:31 -0400
From: Drew Simonis <care227@attglobal.net>
Subject: Re: ATTENTION PERL MACHOES!!!!!!!!!!!!!!!!!!!
Message-Id: <396B7AC3.1375884A@attglobal.net>

p3rlc0dr@my-deja.com wrote:
> 
> Ive been reading this board for awhile and Im very disaponted with the
                        ^^^^^
What board?  Oh... you mean web board?  I should stop reading
now, but I can't resist the chance to make fun of you.

> atitudes and acts of many of the so-called "PERL elites".  When a
> person comes to this board and asks for help do they get it NO!!!!!!!!

You obviously are in an altered state.  Almost everyone who comes
and posts here gets an answer.  Almost all of those answers are 
correct and accurate.  Just because folks don't distribute free 
software like pixie dust doesn't mean they aren't being helpfull.

> 
> Y NOT?!?!
> 
> Maybe its the ATITUDE and ARROGENSE of the ppl on this board who think

:No entry found for "ATITUDE" in the dictionary.
:No entry found for "ARROGENSE" in the dictionary.

board (bôrd, brd) 
  n. Abbr. bd.  A long, flat slab of sawed lumber; a plank. 

> that PERL being liked as a language to write webpages in gives them the
       ^^^^

http://www.perl.com/pub/doc/manual/html/pod/perlfaq1.html

heading: What's the difference between "perl" and "Perl"?

> right to make fun of and slight novice users who seek help on this
> board.  DO YOU "PERL ELITES" OWN THIS BOARD, NO!  

board (bôrd, brd) 
  n. Abbr. bd.  A long, flat slab of sawed lumber; a plank. 

If you have something to contribute, I'm sure you'd post it.
I bet from now on you are going to post lots of helpfull answers 
to every question.  Man, you rock!

> Does a person whoes <-- whoes?  what is whoes?

> writing a question to another board like FreeBSD or Linux or Java or

board (bôrd, brd) 
  n. Abbr. bd.  A long, flat slab of sawed lumber; a plank. 

> Python get the same treatment, NO!  Then why with PERL?  What gives YOU
> "PERL ELITES" the right to treat nice people badly when they ask a
> simple question here?

Many simple questions have been asked and aswered, either via the
copius Perl documentation or in the archive of this NG.   Asking 
and answering them again and again isn't fun or productive.  This
is a discussion forum, not a helpdesk.  People like you who expect
people to drop everything and rish to your post are like gnats. 
 
> PERL is so good and useful but this so-called comunity is mean and

http://www.perl.com/pub/doc/manual/html/pod/perlfaq1.html
heading: What's the difference between "perl" and "Perl"?

> unfriendly.  WHY MUST YOU BE THAT WAY?  Please change and B GOOD!
                                                            ^^^^^^
Word up


------------------------------

Date: Tue, 11 Jul 2000 19:56:30 GMT
From: PerLover <PerLover@PerLove.com>
Subject: Re: ATTENTION PERL MACHOES!!!!!!!!!!!!!!!!!!!
Message-Id: <PerLover-EBA81A.15563211072000@nntp.ply.adelphia.net>

In article <8kfs35$2eq$1@nnrp1.deja.com>, p3rlc0dr@my-deja.com wrote:

# Ive been reading this board for awhile and Im very disaponted with the
# atitudes and acts of many of the so-called "PERL elites".

I've been reading Usenet for a long time, and I am very disappointed in 
the lack of proper language skill from the so-called "clueless."


# When a
# person comes to this board and asks for help do they get it NO!!!!!!!!

Um, is that a question?


# Y NOT?!?!

If they have your language skills, I think the answer is self-evident.  
One cannot easily give help in a written medium to someone who lacks 
sufficient skill in said medium.


# Maybe its the ATITUDE and ARROGENSE of the ppl on this board who think
# that PERL being liked as a language to write webpages in gives them the
# right to make fun of and slight novice users who seek help on this
# board.

No, living in a free country gives people the right to make fun of 
others.  No other justification for that right is necessary.  No one 
thinks anything about Perl gives them a right to make fun of you.


# DO YOU "PERL ELITES" OWN THIS BOARD, NO!

Yes.  As much as anyone can, of course.  The concept of "ownership" on 
Usenet is an interesting and nebulus one.


# Does a person whoes
# writing a question to another board like FreeBSD or Linux or Java or
# Python get the same treatment, NO!

Yes, of course.


# Then why with PERL?  What gives YOU
# "PERL ELITES" the right to treat nice people badly when they ask a
# simple question here?

As noted above, living in a free country provides that right.


# PERL is so good and useful but this so-called comunity is mean and
# unfriendly.  WHY MUST YOU BE THAT WAY?  Please change and B GOOD!

Please change and use proper English.


# THANK YOU.
# 
# --
# Ganesha, p3rlc0dr and WEB MISTRESS

"Web Mistress" is perhaps the lamest thing one could call oneself.  "Web 
Master" was bad enough.  No one here gives a damn if you are female or 
not, and a "web master/mistress" who is worthy of running any web site 
would NEVER EVER tell people to use Matt's Scripts.


# Guestbooks, hit counters, shopping carts: Get Matt's Script Archive

This is the reason people like you get made fun of: the scripts on 
Matt's Scripts Archive are shit.  They are insecure, and if you have 
them on your site, expect to get hacked.  They are horribly written and 
virtually impossible to fix.  If you run them, you are clueless.


# "There is no such thing as being a stupid woman."

I beg to differ.  I submit this post as evidence.

-- 
PerLover
PerLover@PerLove.com
Better Sex Through Coding


------------------------------

Date: Tue, 11 Jul 2000 20:23:59 GMT
From: p3rlc0dr@my-deja.com
Subject: Re: ATTENTION PERL MACHOES!!!!!!!!!!!!!!!!!!!
Message-Id: <8kfvo8$5c8$1@nnrp1.deja.com>

In article <396B7AC3.1375884A@attglobal.net>,
  Drew Simonis <care227@attglobal.net> wrote:
> p3rlc0dr@my-deja.com wrote:
> >
> > Ive been reading this board for awhile and Im very disaponted with
the
>                         ^^^^^
> What board?  Oh... you mean web board?  I should stop reading
> now, but I can't resist the chance to make fun of you.

Im very sorry.  Ive only ben speaking and writing Enlish for a short
time.  I often get words mixed up.  Im trying hard to learn and maybe
someday I will be good.

> You obviously are in an altered state.  Almost everyone who comes
> and posts here gets an answer.  Almost all of those answers are
> correct and accurate.  Just because folks don't distribute free
> software like pixie dust doesn't mean they aren't being helpfull.

Im sorry but many answers sound like quips and not answers at all.
THAT is why I wrote that note.  In my country of birth people do not
behave in a rude or mean way.

> If you have something to contribute, I'm sure you'd post it.
> I bet from now on you are going to post lots of helpfull answers
> to every question.  Man, you rock!

I to hope so.

> Many simple questions have been asked and aswered, either via the
> copius Perl documentation or in the archive of this NG.   Asking
> and answering them again and again isn't fun or productive.  This

I do not know why people answer these questions at all.  I do not feel
like I am oewd anything by this comp.lang.perl.misc but I am not happy
to read people being mean.

--
Ganesha, p3rlc0dr and WEB MISTRESS
Guestbooks, hit counters, shopping carts: Get Matt's Script Archive
"There is no such thing as being a stupid woman."


Sent via Deja.com http://www.deja.com/
Before you buy.


------------------------------

Date: Tue, 11 Jul 2000 20:35:45 GMT
From: p3rlc0dr@my-deja.com
Subject: Re: ATTENTION PERL MACHOES!!!!!!!!!!!!!!!!!!!
Message-Id: <8kg0f0$5uc$1@nnrp1.deja.com>

In article <PerLover-EBA81A.15563211072000@nntp.ply.adelphia.net>,
  PerLover <PerLover@PerLove.com> wrote:
> In article <8kfs35$2eq$1@nnrp1.deja.com>, p3rlc0dr@my-deja.com wrote:
>
> # Ive been reading this board for awhile and Im very disaponted with
the
> # atitudes and acts of many of the so-called "PERL elites".
>
> I've been reading Usenet for a long time, and I am very disappointed
in
> the lack of proper language skill from the so-called "clueless."

I am sorry PerLover.  My English is not yet good and I try hard.  But I
know when I read people being mean.

> If they have your language skills, I think the answer is self-
evident.

I cant tell you how hard it is to have people know that I try.

> One cannot easily give help in a written medium to someone who lacks
> sufficient skill in said medium.

I do not know?  Help?!

> No, living in a free country gives people the right to make fun of
> others.  No other justification for that right is necessary.  No one
> thinks anything about Perl gives them a right to make fun of you.

Can you tell?  I do not know?

> Yes.  As much as anyone can, of course.  The concept of "ownership"
on
> Usenet is an interesting and nebulus one.

Do you own Usenet?

> Yes, of course.

NO!!!!!!!!!  How do you NO?!

> Please change and use proper English.

Im sorry.  I keep to try.

> # "There is no such thing as being a stupid woman."
>
> I beg to differ.  I submit this post as evidence.

PerLover you are MEAN!

--
Ganesha, p3rlc0dr and WEB MISTRESS
Guestbooks, hit counters, shopping carts: Get Matt's Script Archive
"DO NOT BE MEAN, PerLover"


Sent via Deja.com http://www.deja.com/
Before you buy.


------------------------------

Date: 11 Jul 2000 13:59:46 -0800
From: yf110@vtn1.victoria.tc.ca (Malcolm Dew-Jones)
Subject: Re: ATTENTION PERL MACHOES!!!!!!!!!!!!!!!!!!!
Message-Id: <396b8ac2@news.victoria.tc.ca>

: Ganesha, p3rlc0dr and WEB MISTRESS
: Guestbooks, hit counters, shopping carts: Get Matt's Script Archive

Please be careful if you use Matt's code.


------------------------------

Date: Tue, 11 Jul 2000 17:01:42 -0400
From: brian@smithrenaud.com (brian d foy)
Subject: Re: ATTENTION PERL MACHOES!!!!!!!!!!!!!!!!!!!
Message-Id: <brian-ya02408000R1107001701420001@news.panix.com>

In article <8kfs35$2eq$1@nnrp1.deja.com>, p3rlc0dr@my-deja.com posted:

> Does a person whoes
> writing a question to another board like FreeBSD or Linux or Java or
> Python get the same treatment, NO!  Then why with PERL?

Perl has been around longer.  as the other technologies reach farther
into the less experienced segments of the market, the same will happen.
indeed, Shashdot is the epitomy of this.

it happens with Perl because a lot of new people seem to associate
free software with free lunch.

-- 
brian d foy                    
CGI Meta FAQ <URL:http://www.smithrenaud.com/public/CGI_MetaFAQ.html>
Perl Mongers <URL:http://www.perl.org/>


------------------------------

Date: Tue, 11 Jul 2000 21:47:13 GMT
From: David Ness <DNess@Home.Com>
Subject: Re: ATTENTION PERL MACHOES!!!!!!!!!!!!!!!!!!!
Message-Id: <396B95D3.C41235D3@Home.Com>

p3rlc0dr@my-deja.com wrote:
> 
> Ive been reading this board for awhile and Im very disaponted with the
> atitudes and acts of many of the so-called "PERL elites".  When a
> person comes to this board and asks for help do they get it NO!!!!!!!!
> 
> Y NOT?!?!
> 
> Maybe its the ATITUDE and ARROGENSE of the ppl on this board who think
> that PERL being liked as a language to write webpages in gives them the
 ...
[snip]

I am a perl amateur who has often received real help on c.l.p.m While I was
not always enthralled by the tone of responses I got, I was very happy to get
the responses because they were generally:
   (1) terse;
   (2) correct;
   (3) helpful.
Most of the `arrogance' displayed on c.l.p.m seems to me to have been well
earned, and has been helpful in getting (me, at least) to try to follow the
disciplines (-w, strict, cut and paste examples, don't retype them...) that
ultimately make communication on this newsgroup much more effective than on
most other groups where I seek help.


------------------------------

Date: 11 Jul 2000 10:08:22 +0100
From: Jonathan Stowe <gellyfish@gellyfish.com>
Subject: Re: Beyond perl? Need advice...
Message-Id: <8keo66$163$1@orpheus.gellyfish.com>

On Sat, 08 Jul 2000 10:46:45 -0700 Steve Leibel wrote:
> 
>                                                     I'm sure nobody in
> this group would ever write messy code that's impossible to maintain
>

You appeared to have omitted some indication you were being ironic ;-}

/J\
-- 
yapc::Europe in assocation with the Institute Of Contemporary Arts
   <http://www.yapc.org/Europe/>   <http://www.ica.org.uk>


------------------------------

Date: Tue, 11 Jul 2000 13:19:51 -0700
From: Larry Rosler <lr@hpl.hp.com>
Subject: Re: Beyond perl? Need advice...
Message-Id: <MPG.13d5214125adbaa998abb4@nntp.hpl.hp.com>

In article <8kfl5l$skp$1@nnrp1.deja.com> on Tue, 11 Jul 2000 17:23:23 
GMT, dejajason@my-deja.com <dejajason@my-deja.com> says...

 ...

> Milliseconds?!  I just finished converting a program from perl to C and
> it turned an 18 minutes run-time into 36 seconds.

Really?  Did you change any algorithms, or just do a simple translation?

It would be very instructive if you were to publish the parts of the 
program that executed 30 times slower in Perl than in C.

 ...

>                       When you start getting to large programs,
> you also end up hitting problems due to the lack of code correctness
> tools in the language. (like type checking).  It's real easy to make a
> typo that causes no compile errors but adds hard to find bugs.

That is what the '-w' flag and the 'use strict;' pragma are intended to 
deal with.  They should be used in every Perl program.  Did you use them 
in yours?

> It does come in real handy for writing helper scripts for administrators
> and developers.

And for writing real production programs where bit/byte computation 
speeds don't dominate the performance.

-- 
(Just Another Larry) Rosler
Hewlett-Packard Laboratories
http://www.hpl.hp.com/personal/Larry_Rosler/
lr@hpl.hp.com


------------------------------

Date: Tue, 11 Jul 2000 21:41:50 GMT
From: dejajason@my-deja.com
Subject: Re: Beyond perl? Need advice...
Message-Id: <8kg4aq$96k$1@nnrp1.deja.com>

In article <MPG.13d5214125adbaa998abb4@nntp.hpl.hp.com>,
  Larry Rosler <lr@hpl.hp.com> wrote:
> In article <8kfl5l$skp$1@nnrp1.deja.com> on Tue, 11 Jul 2000 17:23:23
> GMT, dejajason@my-deja.com <dejajason@my-deja.com> says...
>
> ...
>
> > Milliseconds?!  I just finished converting a program from perl to C
and
> > it turned an 18 minutes run-time into 36 seconds.
>
> Really?  Did you change any algorithms, or just do a simple
translation?
>
> It would be very instructive if you were to publish the parts of the
> program that executed 30 times slower in Perl than in C.

I'm not sure how the algorithm applies to the point.  Perl programs will
always require more resources than equivalent programs in a native
compiled language like C or C++.  It's just the nature of the
architecture.  I've yet to see a case where the opposite is true but it
would be interesting to see if one exists.

>
> ...
>
> >                       When you start getting to large programs,
> > you also end up hitting problems due to the lack of code correctness
> > tools in the language. (like type checking).  It's real easy to make
a
> > typo that causes no compile errors but adds hard to find bugs.
>
> That is what the '-w' flag and the 'use strict;' pragma are intended
to
> deal with.  They should be used in every Perl program.  Did you use
them
> in yours?

That helps with accidently getting a variable from a differant scope and
a few things like mis-typing a single instance of a variable, but it's
still rather limited.    I've seen lots of cases where variables were
mis-types the same way more than once, alpha characters were assigned
where a number was expected, a hash values in a data structure was
mis-typed, values were left out of a data structure, parameters were
passed to a function in the wrong order, etc.  It's all stuff that's
manageable for small programs but can create a lot of headaches when
they get larger.  Not that any language can avoid these, but if you have
to declare structures, variable types, and parameters, the compiler will
catch a lot more and programmers have a well defined reference.

>
> > It does come in real handy for writing helper scripts for
administrators
> > and developers.
>
> And for writing real production programs where bit/byte computation
> speeds don't dominate the performance.

Actually, I would say it's effective for data conduits.  Like from a web
browser into a database and back out with HTML using an application
server to save on startup cost.


Sent via Deja.com http://www.deja.com/
Before you buy.


------------------------------

Date: Tue, 11 Jul 2000 21:43:55 GMT
From: dejajason@my-deja.com
Subject: Re: Beyond perl? Need advice...
Message-Id: <8kg4el$98a$1@nnrp1.deja.com>

In article <3969D3D5.72F152E0@ioip.com>,
  Philip Rennert <phil.rennert@ioip.com> wrote:
> Hi,
>     Thanks everyone, for your advice.  I realize my understanding of
some of
> the issues is limited, and apologize for the lack of definition.  I
think
> the upshot is that I should continue happily writing Perl for the
moment,
> and face the porting decision later when things are better known.
>     My management is actually quite sensible and willing to listen.
They
> tell me it's a harder sell, to people outside the company, to say "We
have a
> system written in Perl" compared to "..in Java".  Should it be?  From
what
> you're telling me, the answer is: "It depends...".


Well, if the choices are Perl and Java, use perl.  I've yet to use
anything written in Java that's worth disk it takes up.


Sent via Deja.com http://www.deja.com/
Before you buy.


------------------------------

Date: Tue, 11 Jul 2000 18:17:18 GMT
From: aabill@my-deja.com
Subject: Called executable can't access net drive
Message-Id: <8kfoas$vcf$1@nnrp1.deja.com>

Platform:
Intranet on IIS 4.0 on NT Server 4.0 SP6a with Novell client
ActivePerl 5 Build 613

Problem:
I need intranet users to be able to e-mail suggestions to a particular
MSMail account. I can't use a mailto: in the client html because IE
won't parse the mailto:'s subject field (and Netscape is not an option
for us) and a subject field is needed to tell the recipient which of
two mail forms on the intranet was the source.

So I've used a client mail form to call a perl script to send mail to
the MSMail Post Office on our Netware 5 server. The script does a system
() to call a "mailsend" executable with parameters, one of which is the
network location of the post office - in this case
//earlston/data/msmail/data. The script works fine from the command
line but not when invoked from a browser.

I have realised that although the Netware box is logged on and visible
from the NT box, it is not visible to the script when called from the
browser. I have tried creating a virtual directory mapped to the Post
Office directory to get round this but although it creates apparently
normally, and it's contents are visible in the mamngement console, the
icon is a red "Error" and the approach has not worked.

I've read hundreds of FAQs and searched all the postings - if someone
does have an answer I will be very, very grateful.

Thanks in anticipation,
Bill Allison
BSW Timber plc


Sent via Deja.com http://www.deja.com/
Before you buy.


------------------------------

Date: Tue, 11 Jul 2000 18:07:50 GMT
From: cancan1029@my-deja.com
Subject: Can't locate loadable object for module Crypt::Blowfish
Message-Id: <8kfnp7$uti$1@nnrp1.deja.com>

I need to do some encryption.

I downloaded and installed the Blowfish.pm module.  This required the
CBC.pm and MD5.pm modules.  I installed these as well.

I have a test script that runs fine.

I incorporated the encryption into a cgi. I'm running an apache web
server. I get an Internal Server Error.

In the error log there is the message:
Can't locate loadable object for module Crypt::Blowfish in @INC (@INC
contains: /usr/local/lib/perl5/site_perl/5.005/sun4-solaris/
/usr/local/lib/perl5/site_perl/5.005/ .)

Yet, the test script has the same @INC and finds the module(s) fine.

I prepended the @INC using use lib qw(. .  .) with the actual
directories that the modules are in -

CBC.pm is in /usr/local/lib/perl5/site_perl/5.005/Crypt
MD5.pm is in /usr/local/lib/perl5/site_perl/5.005/sun4-solaris
Blowfish.pm is in
/usr/local/lib/perl5/site_perl/5.005/sun4-solaris/Crypt

yet I still get the same error message.

I have restarted the server.  Still doesn't work.

Does anyone have any ideas?????


Sent via Deja.com http://www.deja.com/
Before you buy.


------------------------------

Date: Tue, 11 Jul 2000 14:30:49 -0400
From: Drew Simonis <care227@attglobal.net>
Subject: Re: Can't locate loadable object for module Crypt::Blowfish
Message-Id: <396B67D9.CF2414B1@attglobal.net>

cancan1029@my-deja.com wrote:
> 
> I prepended the @INC using use lib qw(. .  .) with the actual
> directories that the modules are in -
> 
> CBC.pm is in /usr/local/lib/perl5/site_perl/5.005/Crypt
> MD5.pm is in /usr/local/lib/perl5/site_perl/5.005/sun4-solaris
> Blowfish.pm is in
> /usr/local/lib/perl5/site_perl/5.005/sun4-solaris/Crypt
> 

I doubt its the cause of the problem, but does the UID of the 
webserver process have permission to traverse those directories?


------------------------------

Date: Tue, 11 Jul 2000 20:56:18 GMT
From: cancan1029@my-deja.com
Subject: Re: Can't locate loadable object for module Crypt::Blowfish
Message-Id: <8kg1la$6t9$1@nnrp1.deja.com>

In article <396B67D9.CF2414B1@attglobal.net>,
  Drew Simonis <care227@attglobal.net> wrote:
> cancan1029@my-deja.com wrote:
> >
> > I prepended the @INC using use lib qw(. .  .) with the actual
> > directories that the modules are in -
> >
> > CBC.pm is in /usr/local/lib/perl5/site_perl/5.005/Crypt
> > MD5.pm is in /usr/local/lib/perl5/site_perl/5.005/sun4-solaris
> > Blowfish.pm is in
> > /usr/local/lib/perl5/site_perl/5.005/sun4-solaris/Crypt
> >
>
> I doubt its the cause of the problem, but does the UID of the
> webserver process have permission to traverse those directories?
>
yes, it does.  a friend told me that I may need to compile the code into
the apache server or load it at startup with a directive in the
httpd.conf file.  this doesn't seem to make sense to me.  other modules
have been added to site_perl and they run fine????


Sent via Deja.com http://www.deja.com/
Before you buy.


------------------------------

Date: Tue, 11 Jul 2000 11:12:22 -0700
From: "eaglewing" <eaglewing@zensearch.com>
Subject: can't undef active subroutine.....Registry.pm line 102
Message-Id: <8kfo3v$1qtff$1@ID-32520.news.cis.dfn.de>

hi,

I thought (hoped) this was a relatively common problem, but I couldn't find
a similar issue here...

system: linux, perl5.005

when attempting to run a perl cgi script I get the following:

[Mon Jul 10 14:44:10 2000] [error] Can't undef active subroutine at
/usr/lib/perl5/site_perl/5.005/i386-linux/Apache/Registry.pm line 102.

I cut my program down to a simple hello world, and I still got the message.
all the other perl scripts, which were previously built by others work
fine - I only get the error when I make one from scratch

off the web I found using

$SIG{PIPE} = 'IGNORE';

or

use Apache:SIG ();
Apache::SIG->set;

I figure I may have been using these statements incorrectly....

could anyone help me out?

thanks,

-gavin




------------------------------

Date: 16 Sep 99 21:33:47 GMT (Last modified)
From: Perl-Users-Request@ruby.oce.orst.edu (Perl-Users-Digest Admin) 
Subject: Digest Administrivia (Last modified: 16 Sep 99)
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.  

| NOTE: The mail to news gateway, and thus the ability to submit articles
| through this service to the newsgroup, has been removed. I do not have
| time to individually vet each article to make sure that someone isn't
| abusing the service, and I no longer have any desire to waste my time
| dealing with the campus admins when some fool complains to them about an
| article that has come through the gateway instead of complaining
| to the source.

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.

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 V9 Issue 3623
**************************************


home help back first fref pref prev next nref lref last post