[13514] in Perl-Users-Digest

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

Perl-Users Digest, Issue: 924 Volume: 9

daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Mon Sep 27 18:07:34 1999

Date: Mon, 27 Sep 1999 15:05:14 -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: <938469913-v9-i924@ruby.oce.orst.edu>
Content-Type: text

Perl-Users Digest           Mon, 27 Sep 1999     Volume: 9 Number: 924

Today's topics:
        Advice wanted: Creating an .exe <bivey@teamdev.com>
    Re: Creating a reusable Perl archive <rootbeer@redcat.com>
        Executing snpp.pl behind a firewall!!!!!!!!!! <mkhan@crosscom.com>
        gullible programmers? <ltl@rgsun5.viasystems.com>
    Re: gullible programmers? <Webmaster@copscorp.com>
    Re: gullible programmers? <elaine@chaos.wustl.edu>
    Re: Help! How do I set a date field to empty via ODBC? <gellyfish@gellyfish.com>
        HELP: Perl CGI for network monitoring <deantran@cup.hp.com>
    Re: LOL, please don't overanalyze :) (Eric Bohlman)
    Re: PH 6.0 Perl problem <gellyfish@gellyfish.com>
    Re: Question About the last command <gellyfish@gellyfish.com>
    Re: Randomize array..... <srooij@wins.uva.nl>
    Re: Replacement "CD" for win32 systems (Eric Bohlman)
    Re: Replacement "CD" for win32 systems <tnelson@fast.net>
    Re: Slice in scalar context (Randal L. Schwartz)
    Re: Sorting Associative arrays then matching one field  <rootbeer@redcat.com>
        Suggestion - comp.lang.perl.flame (was Re: You should b <gellyfish@gellyfish.com>
    Re: Trouble with CPAN module <gellyfish@gellyfish.com>
    Re: Unable to open sound device from perl/CGI script <rootbeer@redcat.com>
    Re: You assume much when you know so little. <gellyfish@gellyfish.com>
    Re: You assume much when you know so little. (Eric Bohlman)
    Re: You should be admired, or What does this have to do <elaine@chaos.wustl.edu>
        Digest Administrivia (Last modified: 16 Sep 99) (Perl-Users-Digest Admin)

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

Date: 27 Sep 1999 21:52:37 GMT
From: "William" <bivey@teamdev.com>
Subject: Advice wanted: Creating an .exe
Message-Id: <01bf0932$c83207c0$3527e1ce@bill.jump.net>

Target system: Windows '95

Problem1: Customer wants a replacement for a command
		line URL fetcher

Solution1: Use a couple of lines of Perl to access LWP
		functionality

Problem2: Some of customer's installations use an older
		Perl (5.003_07) and don't appear to have LWP
		installed.

Solution2: Create a stand-alone executable using a script
		that does what's needed and perlapp or some such.


Here's where the advice request comes in. Is there
anything wrong with that solution that I don't see?
Any caveats not covered in the docs? (Any idea how
big this puppy will be? Of, course, once I can set
up an NT machine to try this on, I guess I'll find
out, eh?)

Help is greatly appreciated.-Wm





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

Date: Mon, 27 Sep 1999 14:23:27 -0700
From: Tom Phoenix <rootbeer@redcat.com>
Subject: Re: Creating a reusable Perl archive
Message-Id: <Pine.GSO.4.10.9909271415460.26916-100000@user2.teleport.com>

On Mon, 27 Sep 1999, Dennis Newport wrote:

> The problem with the procedure specified in INSTALL is that you have to
> run the configure and makes steps with the target location specified as
> the "prefix". But I want to offer this perl distribution to many groups
> and allow each of them to state where they want to install perl (please
> don't ask me why - it's a management thing). So therefore I want to do
> the majority of the configuration and building for them (with all the
> various options and with the various additional modules) and then tell
> them that they will get nice tar file to dump on the target by simply
> running a script with a target location as the parameter.

I'd imagine that you could write a program which would help you to do what
you want. It could be a wrapper around CPAN.pm, perhaps. 

Still, one of these might be easier, some in the short run, some in the
long run:

    1. Installing the modules directly on each system.

    2. Teaching the groups to install the modules themselves.

    3. Convincing the managers to let the groups install the modules.

    4. Convincing the managers to standardize the setup.

    5. Finding a job with smarter management. :-)

Cheers!

-- 
Tom Phoenix       Perl Training and Hacking       Esperanto
Randal Schwartz Case:     http://www.rahul.net/jeffrey/ovs/



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

Date: Mon, 27 Sep 1999 16:52:45 -0500
From: "Mohammad Khan" <mkhan@crosscom.com>
Subject: Executing snpp.pl behind a firewall!!!!!!!!!!
Message-Id: <7soovr$qvr$1@ffx2nh3.news.uu.net>

Hi,
    I have a script name snpp.pl which i am trying to use behind a firewall
without any luck, the script runs fine on the computer without the firewall.
Does somebody know how to setup this script so that it can also work behind
the firewall.

I will apprecaiate any help.


Thanks.
Mohammad.

****************************************************************************
***

#!/usr/bin/perl5

&send_msg;

sub send_msg
{
   use Getopt::Long;
   use Net::SNPP;

   $opt_h = undef;
   $opt_p = undef;

   Net::SNPP->debug(1);
  $snpp_hosts="pecos.nextel.com";
   $snpp = Net::SNPP->new($snpp_hosts);

   if ($snpp eq "")
   {
      printf "\n\n\n     Bad SNPP Host \"$snpp_hosts\" or Network
Down.\n\n";
      return;
   }

$p_id = 7775142119;
$msg="testing";

   if (! $snpp->pager_id($p_id))
   {
      $tmp = $snpp->message;
      printf $tmp;
      $snpp->quit;

      return;
   }
   printf $snpp->message;


   #if (! $snpp->content(join(" ", @ARGV[2])))
   if (! $snpp->content($msg))
   {
      $tmp = $snpp->message;
#      printf $tmp;

      return;
   }
   $tmp = $snpp->message;
#  printf $tmp;

   if (! $snpp->send())
   {
      $tmp = $snpp->message;
      printf $tmp;

      return;
   }
   $tmp = $snpp->message;
  printf $tmp;


   $snpp->quit;


} # sub send_msg


****************************************************************************
***

I get this output.

Net::SNPP: Net::SNPP(1.10)
Net::SNPP:   Net::Cmd(2.11)
Net::SNPP:     Exporter
Net::SNPP:   IO::Socket::INET
Net::SNPP:     IO::Socket(1.1603)
Net::SNPP:       IO::Handle(1.1505)


    Bad SNPP Host  "pecos.nextel.com" or Network Down.




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

Date: 27 Sep 1999 20:47:34 GMT
From: lt lindley <ltl@rgsun5.viasystems.com>
Subject: gullible programmers?
Message-Id: <7sol56$19e$1@rguxd.viasystems.com>

Eric Seiler <Webmaster@copscorp.com> wrote:
[snip]
:>                                       Interesting situation, isn't it? So
:>what would you do? What form of agreement would you use that would be fair
:>to everyone involved?

I would learn Perl and do it myself.  

If you are really going to be successful in your venture, you will
need to work on your huckster, er um, sales skills.  So far you will
only have succeeded in convincing someone who is gullible.  Good
programmers are not usually gullible.  They don't trust the
documentation, the compiler, the text editor, the last backup tape or
the ability of the person who gave them an assignment to correctly
define the problem space, much less your unproven ability to turn a
profit.  

But heh, I buy a lottery ticket for a dollar every once in a while
too.  The ticket isn't worth anything, but at least I get to dream.
Maybe someone will buy some dreamtime from you with a little Perl
development.

You won't find that person in this newsgroup though.  

-- 
// Lee.Lindley   /// I used to think that being right was everything.
// @bigfoot.com  ///  Then I matured into the realization that getting
////////////////////   along was more important.  Except on usenet.


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

Date: Mon, 27 Sep 1999 17:47:48 -0400
From: "Eric Seiler" <Webmaster@copscorp.com>
Subject: Re: gullible programmers?
Message-Id: <aDRH3.158$AH1.187320@news.abs.net>

Hmm, I see...well, there is no use to waste my time here then, is there?

Huckster? That is a first, but hey...I always like a good laugh.  I have to
say that there are deffinately some very pessimistic people in here, and
that is a shame.  Anyway, if you didn't like the offer, then you didn't have
to take it.  You have no evidence to prove that I am anything but what I say
I am, and so far almost everyone is reading things that aren't there. I
would learn perl but there is no time, and if this project is to succeed it
will need to be more then a one person project. I have already made, and am
still making money off of what I would be expanding upon the Internet.  I am
profitable right now, but only marginally so, and this would be the next
logical step.

Quite frankly I feel like this is Salem, and I am on trial.  What is up with
you guys anyway? Do people come through here regularly with spam scams or
something?  I'm not trying to sell anything, but when someone doubts my
motivations I feel it is necessary to respond.

Eric Seiler
Cops, Inc.


lt lindley wrote in message <7sol56$19e$1@rguxd.viasystems.com>...
>Eric Seiler <Webmaster@copscorp.com> wrote:
>[snip]
>:>                                       Interesting situation, isn't it?
So
>:>what would you do? What form of agreement would you use that would be
fair
>:>to everyone involved?
>
>I would learn Perl and do it myself.
>
>If you are really going to be successful in your venture, you will
>need to work on your huckster, er um, sales skills.  So far you will
>only have succeeded in convincing someone who is gullible.  Good
>programmers are not usually gullible.  They don't trust the
>documentation, the compiler, the text editor, the last backup tape or
>the ability of the person who gave them an assignment to correctly
>define the problem space, much less your unproven ability to turn a
>profit.
>
>But heh, I buy a lottery ticket for a dollar every once in a while
>too.  The ticket isn't worth anything, but at least I get to dream.
>Maybe someone will buy some dreamtime from you with a little Perl
>development.
>
>You won't find that person in this newsgroup though.
>
>--
>// Lee.Lindley   /// I used to think that being right was everything.
>// @bigfoot.com  ///  Then I matured into the realization that getting
>////////////////////   along was more important.  Except on usenet.




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

Date: Mon, 27 Sep 1999 17:57:30 -0400
From: Elaine -HFB- Ashton <elaine@chaos.wustl.edu>
Subject: Re: gullible programmers?
Message-Id: <37EFE831.C4ACE684@chaos.wustl.edu>

Eric Seiler wrote:
> Quite frankly I feel like this is Salem, and I am on trial.  What is up with
> you guys anyway? Do people come through here regularly with spam scams or
> something?  I'm not trying to sell anything, but when someone doubts my
> motivations I feel it is necessary to respond.

Welcome to Salem which, for me anyway, is just up the road.

There are good programmers out there who are business savvy and
management wise...however, they probably won't be wasting their time
here. :)

And as far as gullible goes...P.T. Barnum said it best...There is a
sucker born every minute and no doubt, some of them are programmers.

Good luck to you in your business venture.

e.


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

Date: 27 Sep 1999 21:03:17 -0000
From: Jonathan Stowe <gellyfish@gellyfish.com>
Subject: Re: Help! How do I set a date field to empty via ODBC?
Message-Id: <7som2l$ec4$1@gellyfish.btinternet.com>

In comp.lang.perl.misc Lin Parkh <lparkh1@ix.netcom.com> wrote:
> I'm using MS Access and wish to set a date field to empty (or null).  I've
> done a lot of SQL/ODB/Perl so probably my basic syntax is correct. I can
> also insert proper dates no problem.  The problem seems to be in how to
> express a null insert value. I've tried the following variants:
> 

<snip>

You're not a mate of mrbog are you ?  This is purely an ms-access (or
SQL depending on your point of view) question - the answer would be the
same which ever language you were using the database from - that you are
using Perl is immaterial to the SQL construct you need to use to perform
an action upon the database.  It might seem picky to you but there is
a good reason why Usenet groups are arranged in the hierarchical fashion.

Anyhow standard SQL has a NULL keyword which would be appropriate in this
circumstance - although of course Access might not implement it.

/J\
-- 
Jonathan Stowe <jns@gellyfish.com>
<http://www.gellyfish.com>
Hastings: <URL:http://dmoz.org/Regional/UK/England/East_Sussex/Hastings>


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

Date: Sat, 25 Sep 1999 15:47:37 -0700
From: Dean Tran <deantran@cup.hp.com>
Subject: HELP: Perl CGI for network monitoring
Message-Id: <37ED5109.8350BE4D@cup.hp.com>



I am thinking about writing a Perl/CGI programs to monitoring
a large number of systems and collect in real time systems info
in HPUX environment. So that users can bring up a WEB page,
have a quick glances of system that  (do/doesn't) respond to ping and
can query each system info with a click.

Any pointer to where I can get something that might loosely fit my
need above so that I don't need to re-invent the wheel?

Thanks

Dean





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

Date: 27 Sep 1999 21:56:18 GMT
From: ebohlman@netcom.com (Eric Bohlman)
Subject: Re: LOL, please don't overanalyze :)
Message-Id: <7sop62$ln3@dfw-ixnews5.ix.netcom.com>

Eric Seiler (Webmaster@copscorp.com) wrote:
: I think some people are confused, and think I am here to take other people's
: time, and return nothing - that is completely false.  I believe in keeping
: the key players around, and will offer whatever I can, at the time, to do
: so.  I'm not asking for investors - I'm asking for people to help grow a
: business.  If the business is a success then no doubt the pay plan will
: change, but if it is a failure then we will all be looking for something
: else and I will be the only one to lose money.

Excuse me.  You're asking for people to help grow a business by 
contributing something that carries monetary value (i.e. time) to it, but 
you're not asking for investors?  What other definition of "investor" is 
there?

: I find this whole discussing fascinating though, and I hope you continue to
: respond. If you were in my situation, with very little capital (enough to
: take care of the web account, some pre-written apps, etc.), no desire to
: take out a loan (too risky when it is the Internet), a great idea, but needs
: people willing to work with him, what terms would you offer them? Oh, I also
: need to mention that I am only a partner in the company that has supported
: this thus far; Therefore, I cannot extend partnership to someone else,
: without the consent of everyone else.  Interesting situation, isn't it? So
: what would you do? What form of agreement would you use that would be fair
: to everyone involved?

I'd incorporate, with the stock initially owned by myself and my 
partners, and would offer a substantial share (a majority position, or 
close to it) of that stock to the programmer, along with real information 
(not hype or wishfull thinking) as to why this venture is going to be able 
to go public in the near future.

If you've noticed that under this scenario you and your partners would 
not retain full control of the company, you're very perceptive.  That's 
the price you have to pay to raise capital from other people.




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

Date: 27 Sep 1999 20:41:49 -0000
From: Jonathan Stowe <gellyfish@gellyfish.com>
Subject: Re: PH 6.0 Perl problem
Message-Id: <7sokqd$eb5$1@gellyfish.btinternet.com>

On Mon, 27 Sep 1999 14:30:20 -0400 Nico Zigouras wrote:
> Yes I have had problems with NDBM_File and the handling of Perl db files
> by RedHat 6.0 has been documented.  I had to go back to 5.2 because I
> couldn't run a lot of my Perl programs on 6.0.
> 

Have you tried to download and build gdbm from the source and then build
Perl from scratch rather than using the Redhat RPM ?


/J\
-- 
Jonathan Stowe <jns@gellyfish.com>
<http://www.gellyfish.com>
Hastings: <URL:http://dmoz.org/Regional/UK/England/East_Sussex/Hastings>


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

Date: 27 Sep 1999 21:23:58 -0000
From: Jonathan Stowe <gellyfish@gellyfish.com>
Subject: Re: Question About the last command
Message-Id: <7son9e$eda$1@gellyfish.btinternet.com>

On Mon, 27 Sep 1999 18:32:33 GMT reedjd@bitsmart.com wrote:
> I've been QAing a script someone wrote and they're using a syntax with
> the last command I've never seen before, and I'm a little confused how
> it works.  So here's a quick example:
> 
> TEST: {
>   $LET = "A",
>     last TEST if $HOSTNAME eq "http://www.yahoo.com";
>   $LET = "B",
>     last TEST if $HOSTNAME eq "http://www.excite.com";
> }
> 
>   So my question about this is... are the assign statements being run
> before the last statement, or after?
>   In the script there are about 100 of these total, and I'm wondering
> if we're doing a whole bunch of unneeded assign statements in here or
> not.
> 

I had a piece of code that I inherited the maintenance of that did just
the same thing - I ended up replacing the whole lot by some proper
if() {  } 's because I see them easier.

Basically the assignment and the 'last' are one statement modified by
the following conditional.  The comma operator (i.e. between the assignment
and the last) causes the left hand side to be evaluated for side effects
and its value to be thrown away and then the right hand operand to be
evaluated and its value returned.  So in this case the assignment is
carried out (value discarded but that doesnt matter here) and then the
last *if* the conditional is true.  A bit like a switch type statement
if you like.

Of course you could write this like:

TEST:
{
  if ($HOSTNAME eq 'http://www.yahoo.com')
    {
      $LET = 'A';
      last TEST;
    }
  if ($HOSTNAME eq 'http://www.excite.com')
    {
      $LET = 'B';
      last TEST;
    }
}

Where this might be preferred for readibilty and the former for conciseness.
(I wanted to type concision there but had a moment of doubt.)

You might want to see the section entitled :

    How do I create a switch or case statement?

in perlfaq7

/J\
-- 
Jonathan Stowe <jns@gellyfish.com>
<http://www.gellyfish.com>
Hastings: <URL:http://dmoz.org/Regional/UK/England/East_Sussex/Hastings>


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

Date: Mon, 27 Sep 1999 23:40:43 +0200
From: Steven de Rooij <srooij@wins.uva.nl>
Subject: Re: Randomize array.....
Message-Id: <37EFE45B.18FA0BED@wins.uva.nl>

> >srand;
> >
> >my @num = ( 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 );
> >
> >@result = sort By_Random @array;

Nice code, but I don't think it is very safe.
I'm not even sure if it is very random.
The manual says:

"The comparison function is required to behave.  If
 it returns inconsistent results (sometimes saying
 $x[1] is less than $x[2] and sometimes saying the
 opposite, for example) the Perl interpreter will
 probably crash and dump core.  This is entirely
 due to and dependent upon your system's qsort(3)
 library routine; this routine often avoids sanity
 checks in the interest of speed."

I propose an alternative approach:

my @num=(1..10);
srand;
for (my $i=1; $i<@num; $i++) {
  my $s=rand($i+1);
  @num[$i,$s]=@num[$s,$i];
}

The array slice with indices 0..$i is always kept in random order.
As $i increases, the last value of the slice is no longer random, so
it is exchanged with a random one.

It works fine for me, even though it may be slower than the sort
approach.

Steven


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

Date: 27 Sep 1999 21:10:21 GMT
From: ebohlman@netcom.com (Eric Bohlman)
Subject: Re: Replacement "CD" for win32 systems
Message-Id: <7somft$ln3@dfw-ixnews5.ix.netcom.com>

Kragen Sitaker (kragen@dnaco.net) wrote:
: I believe MSDOS actually does let you spawn a program that will change
: your current directory, although I may be mistaken; I seem to remember
: several "enhanced" cd commands from my pre-Unix days (before 1992).

In single-user MSDOS, the current directory is a property of the system's 
state, rather than a process' state.  There were also programs that could 
change a parent's environment (which *was* a process, rather than system, 
property), but they depended on poking around with some undocumented 
structures in the OS.



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

Date: Mon, 27 Sep 1999 18:04:18 -0400
From: Tracy Nelson <tnelson@fast.net>
Subject: Re: Replacement "CD" for win32 systems
Message-Id: <37EFE9E2.BB6B8DBF@fast.net>

Kragen Sitaker wrote:
> I believe MSDOS actually does let you spawn a program that will change
> your current directory, although I may be mistaken; I seem to remember

I'll bet MS-DOS stores its notion of the current directory in a global
variable.  Could be all kinds of fun if you have a program that will let
you "shell out".  Open a file in the current directory, shell out &
change the dir, exit back to the program & try to save the file.  I
actually seem to recall having problems with that, but (thankfully) it's
been so long ago I can't remember for sure.


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

Date: 27 Sep 1999 14:23:30 -0700
From: merlyn@stonehenge.com (Randal L. Schwartz)
Subject: Re: Slice in scalar context
Message-Id: <m1ogeohwvh.fsf@halfdome.holdit.com>

>>>>> "Tim" == Tim Kimball <kimball@stsci.edu> writes:

Tim> Can someone tell me why, in
Tim> 	$right = ("fred","barney","wilma")[0,1,2];

Tim> $right gets wilma? I would have thought it would
Tim> have got the number of elements in the slice.

Perhaps you're under the mistaken impression that just because
something returns a list in a list context that it returns the number
of elements of THAT list in a scalar context.

No such animal.  Every operator is different.  Must be learned by
consulting the docs, not intuition.  Well, maybe Larry can use his
intuition, but the rest of us have to use Larry's intuition.

There are more things that *don't* return the length than *do*.  About
two years ago, I posted a list here from my research about that
subject.  Perhaps www.deja.com will show it. :)

print "Just another Perl hacker,"

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!


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

Date: Mon, 27 Sep 1999 14:12:36 -0700
From: Tom Phoenix <rootbeer@redcat.com>
Subject: Re: Sorting Associative arrays then matching one field to a database
Message-Id: <Pine.GSO.4.10.9909271401340.26916-100000@user2.teleport.com>

On Mon, 27 Sep 1999, Nick Liebmann wrote:

> What I am trying to do is to sortan assocative array

These days, we call it a hash. It may seem pedantic to point this out, but
I do so because we've been using this term for quite a few years now.
Perhaps you've been learning from old books? You'd be better off with
something newer.

Also, you shouldn't think of it as sorting a hash. You can't (in any
useful sense) do that. You're wanting to sort a list, and the list is made
up of the keys of a hash.

> sub SORTY_THE_FILE
>  {
>  dbmopen (%SORTERFILE, $tester, 0644) || die "Error: Can't open $tester!";
> 
> 
>  @sortedtime = sort by_number keys (%SORTERFILE);
> 
>  sub by_number
>   {
>    $totaltime{$a} <=> $totaltime{$b};
>   }

This looks as if you're trying to define one sub inside another. Don't do
that until you know why you shouldn't do that. :-)

But, more importantly, when did you put values into %totaltime? I'm
suspecting that you're not using 'use strict' and perl's -w warnings --
and if you're not asking perl to help you, you're missing out on a lot of
help.

>  foreach (@sortedtime) {
>  open(DBFILE,"<$database");

Even when your script is "just an example" (and perhaps especially in that
case!) you should _always_ check the return value after opening a file.

>  ($stormins, $storsecs, $storname, $stormail, $totaltime) = split /,/;
>  while ($sortedtime =~ m/$email/i)

I must have missed when you put a value into $email, and $sortedtime too.
But I'm _really_ baffled by your variable names. Is $email a pattern? A
pattern that might match a _time_? $email sounds as if it should be an
address, not a pattern. 

Good luck with it!

-- 
Tom Phoenix       Perl Training and Hacking       Esperanto
Randal Schwartz Case:     http://www.rahul.net/jeffrey/ovs/



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

Date: 27 Sep 1999 21:47:39 -0000
From: Jonathan Stowe <gellyfish@gellyfish.com>
Subject: Suggestion - comp.lang.perl.flame (was Re: You should be admired)
Message-Id: <7soolr$edf$1@gellyfish.btinternet.com>

On 26 Sep 1999 21:31:00 GMT Michel Dalle wrote:
> jwc@acsu.buffalo.edu (James W Corpening) wrote in
> <37E8FC1F.D130A86F@acsu.buffalo.edu>: 
> <snip>
>>Ya know, some of you illiterates are real idiots.  I write in perl, and
>>I use submit buttons in my html portions, as probably many of you do. 
>>Consequently, I thought to rely on the perl group (the MISC group) to
>>help me.  I appreciate the answers I received among the righteous
>>scoldings, but lighten up, kick your dog, or find some other catharsis
>>for your anger.  The next time you ask your buddy what he thinks of the
>>Dallas Cowboys, unless he plays for them, call yourself a hypocrite. -jc
>>
> 
> Hmm, I see I missed another one of those (in)famous Perl threads...
> Well, there'll be another one next week, I suppose :-)
> 

I have a suggestion.  It seems to me that the steady trickle of boring,
worthy intelligent posts in this group is actually beginning to have
an impact on the ability of people to actually engage in any really
worthwhile flaming here - and I am sure that most of the regulars
would deplore that as being a waste of a potentially excellent resource.

To remedy this I would suggest that we have a new group comp.lang.perl.flame
which will not be encumbered with any stupid technical stuff about the
language itself.  It would be hoped that we could encourage a very
good culture of posturing, ad hominem argument, trolling and down right
scatalogical abuse.  I think that the charter should dictate particularly
that each post must be cross-posted to some random group comp.lang.java.*
or comp.lang.python spring to mind - it would be nice if we could
get in some all-star trolls : bottommind, George Reese, mrbog, Jocelyn
Amon (fill in your favourite troll here ... ).

Anyhow I just think its unfair that Michel missed out on all the fun ...

/J\
-- 
Jonathan Stowe <jns@gellyfish.com>
<http://www.gellyfish.com>
Hastings: <URL:http://dmoz.org/Regional/UK/England/East_Sussex/Hastings>


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

Date: 27 Sep 1999 21:53:59 -0000
From: Jonathan Stowe <gellyfish@gellyfish.com>
Subject: Re: Trouble with CPAN module
Message-Id: <7sop1n$ef9$1@gellyfish.btinternet.com>

In comp.lang.perl.misc Phil Doe <ask_for_my_address_if_you_need_it@earthlink.net> wrote:
> Hello and thanks for helping.  :)
> 
> I recently decided to remove the binary RPM installation of Perl that
> came with Redhat 5.1 and replace it with the latest, stable source
> distribution.  All went relatively smoothly until I attempted to use the
> CPAN module to install other modules.  
> 
> I had to manually download and install each module normally installed
> via:
> cpan> install Bundle::CPAN
> 
> Only one of these gave problems:
> 
> root@localhost ~/Archive-Tar-0.21]# make test
> PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib
> -I/usr/lib/perl5/5.00503/i586-linux-thread -I/usr/lib/perl5/5.00503
> test.pl
> 1..5
> ok 1
> ok 2
> ok 3
> ok 4
> Can't call method "gzseek" on an undefined value at
> blib/lib/Archive/Tar.pm line 785.
> make: *** [test_dynamic] Error 9
> 

You need Compress::ZLib which in turns need the zlib library ...

/J\
-- 
Jonathan Stowe <jns@gellyfish.com>
<http://www.gellyfish.com>
Hastings: <URL:http://dmoz.org/Regional/UK/England/East_Sussex/Hastings>


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

Date: Mon, 27 Sep 1999 14:25:13 -0700
From: Tom Phoenix <rootbeer@redcat.com>
Subject: Re: Unable to open sound device from perl/CGI script
Message-Id: <Pine.GSO.4.10.9909271423520.26916-100000@user2.teleport.com>

On Mon, 27 Sep 1999, David wrote:

> I get an error message in the error_log that says "Unable to open
> sound device" but when I execute the perl script from the command line
> it works fine.  What am I doing wrong?

I'd guess you're ignoring the permissions on the sound device.

> Not sure if this is a web server issue, or CGI/Perl issue?

It doesn't sound like a Perl issue. Cheers!

-- 
Tom Phoenix       Perl Training and Hacking       Esperanto
Randal Schwartz Case:     http://www.rahul.net/jeffrey/ovs/



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

Date: 27 Sep 1999 20:38:07 -0000
From: Jonathan Stowe <gellyfish@gellyfish.com>
Subject: Re: You assume much when you know so little.
Message-Id: <7sokjf$eb2$1@gellyfish.btinternet.com>

In comp.lang.perl.misc Eric Seiler <Webmaster@copscorp.com> wrote:
> 
> What you stand to lose:
> 
> 1. Time.  That is the only risk someone puts into this project. We don't ask
> anyone to buy anything, or invest money in this venture.
> 

And of course by extension  ones home, ones health ... you know
all those trivial things that require actual real nasty filthy lucre
to maintain.  For all I know you might be fixing to hire some Breatharians
but then you probably posted this in the wrong group .

/J\
-- 
Jonathan Stowe <jns@gellyfish.com>
<http://www.gellyfish.com>
Hastings: <URL:http://dmoz.org/Regional/UK/England/East_Sussex/Hastings>


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

Date: 27 Sep 1999 21:35:25 GMT
From: ebohlman@netcom.com (Eric Bohlman)
Subject: Re: You assume much when you know so little.
Message-Id: <7sonut$ln3@dfw-ixnews5.ix.netcom.com>

[comp.lang.perl.tk removed from followups]

Eric Seiler (Webmaster@copscorp.com) wrote:
: No dealines? No. Liberal deadlines? Yes.  Quite frankly, I don't expect this
: project to fill someone's entire schedule at first.  I already have
: everything else in place, and now I need a programmer.  I have time to take
: a chance on someone that is unproven, and if they come up with something
: marketable (with our help) the website will take off, their terms will
: change, and everyone will be happy.  If the website does take off then they
: lost some time, gained some experience, and added something to their resume.
: At that point we look for someone else, or hire someone else.

[snip]

: What should I say? I have studied the market closely, and have been a part
: of it for a few years, and think it can be done better? Well, I have...but
: then again you are relying on my word, and their aren't many studies about
: that market to be found.  Needless to say - it is a growing market, and is
: perfectly suited for the internet.

[snip]
: 
: You miss the whole point then - the more time they invest the more likely it
: is to succeed.  I'm not looking for desperate people, but I am looking for
: open-minded people. I don't consider them one in the same.

You seem to be asserting in these three paragraphs that the quality of the
software written to support your startup e-commerce site is the *only*
variable that will affect how much, if any, money the venture makes.  That
is simply not believable.  No business functions that way.  While bad 
operations software can certainly *break* a business all by itself, good 
software can't *make* a business all by itself.

Have you considered what will happen if an emergency arises and you need 
something changed or some new software written *right now*?  What if your 
programmer isn't in a position to set aside his day job or his studies to 
do the extra work?  If the software forms the entire basis of your 
operation, it's mission-critical, and yet you're expecting someone to 
develop *and maintain* it in return for the uncertain prospect of future 
money?

Once again, you are looking for an investor.  An investor of "sweat 
equity," but an investor nonetheless.  Yet you are offering terms that no 
prudent investor would accept.  I can understand that you're speaking in 
extreme generalities here because you don't want to disclose your 
business plan to competitors, but if you're going to solicit investors, 
you're going to have to disclose your plans to them (requiring an NDA is 
fine, but after it's signed, you've got to talk to potential investors in 
specifics).

Note also that "developed software for a no-longer existing e-commerce 
site that nobody would recognize, run by a company that no longer exists 
and that has no address or phone number" isn't much to put on a resume.  
A sufficiently cynical hiring manager would take that as an attempt to 
"explain" time that was actually spent in prison.

Just out of curiosity, what kind of annual profits are you realistically 
expecting, and what percentage of profits are you offerring?



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

Date: Mon, 27 Sep 1999 18:04:13 -0400
From: Elaine -HFB- Ashton <elaine@chaos.wustl.edu>
Subject: Re: You should be admired, or What does this have to do with Perl?
Message-Id: <37EFE9C3.7D7556DA@chaos.wustl.edu>

Uri Guttman wrote: 
> and you are not yet mature. you still smell like gouda when you should
> stink like limburger!

The days I start sniffing people in clpm for freshness is the day I do
so hope the creator decides that it is time for me to shuffle off this
mortal coil. GADS! what an image. :)

e.


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

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 924
*************************************


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