[12632] in Perl-Users-Digest

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

Perl-Users Digest, Issue: 41 Volume: 9

daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Wed Jul 7 04:47:21 1999

Date: Wed, 7 Jul 1999 01:37:12 -0700 (PDT)
From: Perl-Users Digest <Perl-Users-Request@ruby.OCE.ORST.EDU>
To: Perl-Users@ruby.OCE.ORST.EDU (Perl-Users Digest)

Perl-Users Digest           Wed, 7 Jul 1999     Volume: 9 Number: 41

Today's topics:
    Re: Perl Everywhere : That's what I want <perfecto@mail2.nai.net>
    Re: Perl Everywhere : That's what I want <perfecto@mail2.nai.net>
    Re: Perl Everywhere : That's what I want (Manuel Moreno)
    Re: Perl Everywhere : That's what I want (Cameron Laird)
    Re: Perl Everywhere : That's what I want <nospam.newton@gmx.net>
    Re: Perl Everywhere : That's what I want rajappa@my-deja.com
    Re: Perl Everywhere : That's what I want (Abigail)
    Re: Perl Exensions without XS (Arved Sandstrom)
    Re: Perl Exensions without XS (Arved Sandstrom)
        Perl Expert Systems?? <jsjensen@Paramin.COM>
    Re: Perl Expert Systems?? <john.warner@tivoli.com>
        Perl IDE called UNIX rajappa@my-deja.com
    Re: Perl IDE called UNIX (Abigail)
    Re: Perl IDE called UNIX (elephant)
    Re: Perl IDE called UNIX <crn@itga.com.au>
    Re: Perl IDE called UNIX (Andrew Johnson)
    Re: Perl IDE called UNIX <swiftkid@bigfoot.com>
    Re: Perl IDE called UNIX (I R A Aggie)
    Re: Perl IDE called UNIX <gellyfish@gellyfish.com>
        Perl Inetd based Daemon and Originating Client IP daniel_chalef@my-deja.com
    Re: Perl Inetd based Daemon and Originating Client IP <gellyfish@gellyfish.com>
        Perl interpreter not invoked <anunez@europe.ups.com>
    Re: Perl interpreter not invoked <hiller@email.com>
        perl script as suid root? (Niclas Anderberg)
    Re: perl script as suid root? (David Efflandt)
    Re: perl script as suid root? (Martien Verbruggen)
    Re: Perl Script Help (Ken)
        Digest Administrivia (Last modified: 1 Jul 99) (Perl-Users-Digest Admin)

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

Date: Sat, 03 Jul 1999 13:18:03 GMT
From: J Perry Fecteau <perfecto@mail2.nai.net>
Subject: Re: Perl Everywhere : That's what I want
Message-Id: <377E0DDB.53CC4D8F@mail2.nai.net>



rajappa@my-deja.com wrote:

> So, why don't we have Perl Everywhere ?? Also, what should be done for
> us to see Perl as a more dominant force in the Land of Programming
> Languages ??

my dream is to write an operating system in perl.  wanna help?
 

-- 
J Perry Fecteau, 5-time Mr. Internet.
http://w3.nai.net/~perfecto

Star Wars Review at:
http://www.geocities.com/ResearchTriangle/Node/7160/episodeone.html


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

Date: Sat, 03 Jul 1999 13:28:02 GMT
From: J Perry Fecteau <perfecto@mail2.nai.net>
Subject: Re: Perl Everywhere : That's what I want
Message-Id: <377E1031.4D05F600@mail2.nai.net>



David Cassell wrote:

> > 1) It's horrible to maintain Perl code
 
> It's horrible to maintain ghastly Perl code.  Just as it's
> horrible to maintain ghastly C code, and C++ code, and...
> It's the programmer, not the language.  Take a look inside
> the Perl modules, and you'll see that Perl can be beautiful.

this is true.  i have seen some of the ghastliest c++ code i have ever
seen in my life!  the worst is when people mix procedural code with
object oriented code when it's "convenient".  this is a very common
mistake.  i'm not talking about procedural code that accesses objects
either (which is okay), i mean really bad code mixing.
 
> > 3) It's only good for CGI and short&dirty scripts.
 
> True, if all you do is CGI and short&dirty scripts.  False
> otherwise.  Actually, there is nothing I do in my job which
> is not suitable for Perl.. well, except for getting the
> coffee.  The Fetch::Drink module still needs a lot of work.
> :-)

hmmmm...  i have a perl script that washes my car.  maybe you should buy
a copy of my book "How to Write a Perl Script that Washes your Car".
 
> > Also, we know that Perl was a platform-independent language much before
> > Java. We know that Java is S-L-O-W. We know that Java & Perl are both
> > compiled-interpreted. We know that Perl is FUN.

this is an observation i've made about java vs perl.  there are alot of
web apps that dont need to be distributed to the client, but are because
java is being used.  i work with a bunch of java guys that use java for
everything regardless of whats really needed on the client side.  i love
java but for form data entry perl is alot better and more efficient. 
java is better when more client side work is needed.

> I suggest that you start a massive, multi-million dollar,
> international ad campaign showing a Perl camel kicking the
> tar out of a tiger, a rhino, a sea lion, and a couple slender
> lorises.

how about perl 2000 to compete with windows 2000??  i'm sure it'll be
faster too!
 

-- 
J Perry Fecteau, 5-time Mr. Internet.
http://w3.nai.net/~perfecto

Star Wars Review at:
http://www.geocities.com/ResearchTriangle/Node/7160/episodeone.html


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

Date: Sun, 4 Jul 1999 12:36:08 +0200
From: menesesANTIBASURA@ctv.es (Manuel Moreno)
Subject: Re: Perl Everywhere : That's what I want
Message-Id: <slrn7nue8o.7c.menesesANTIBASURA@B52.net>

El Sat, 03 Jul 1999 13:18:03 GMT, J Perry Fecteau escrivio estos
 fermosos latines:

>my dream is to write an operating system in perl.  wanna help?

That is something I've thought since I began to see the Perl advantages.
My approach would be to rewrite some linux kernel functions in Perl.
It surely would result in a slower execution but, on the contrary, it would
be easier to hack on the sources to improve them and to add new features.

It would be the slowest OS but the funniest.

-- 
   /\    Quitar ANTIBASURA para contestar por e-mail
  /  \   Remove ANTIBASURA to reply via e-mail
 /____\  Manuel Moreno - Albacete - Spain
 \    /  
  \  /  
   \/  


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

Date: 4 Jul 1999 18:12:59 -0500
From: claird@Starbase.NeoSoft.COM (Cameron Laird)
Subject: Re: Perl Everywhere : That's what I want
Message-Id: <7loppr$d8$1@Starbase.NeoSoft.COM>

In article <7lhnb3$3q6$1@nnrp1.deja.com>,  <rajappa@my-deja.com> wrote:
			.
			.
			.
>3) It's only good for CGI and short&dirty scripts.
I think we all agree that this proposition is both so widespread and
wrong-headed that answering it risks granting it too much dignity.
Nevertheless, I wrote <URL:http://
www.sunworld.com/sunworldonline/swol-05-1998/swol-05-perl.html> to
offe concrete counter-examples, as <URL:http://
www.sunworld.com/sunworldonline/common/swol-backissues-columns.html#regex>
also frequently does.
			.
			.
			.
>So, why don't we have Perl Everywhere ?? Also, what should be done for
>us to see Perl as a more dominant force in the Land of Programming
>Languages ??
>
>What changes does the language require & is it moving to those changes
>??
Are you asking what Big Companies say they want?  Well, there's
"support" by Microsoft, a longer list of vendors offering support,
thread-safety, XML savvy (including Unicode), IDEs, ...--all things
already announced and/or in process!

For us common people, Perl already largely has everything it needs,
and *is* Everywhere.
			.
			.
			.
-- 

Cameron Laird           http://starbase.neosoft.com/~claird/home.html
claird@NeoSoft.com      +1 281 996 8546 FAX


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

Date: Mon, 05 Jul 1999 08:52:13 +0200
From: "Philip 'Yes, that's my address' Newton" <nospam.newton@gmx.net>
Subject: Re: Perl Everywhere : That's what I want
Message-Id: <3780561D.337530EF@gmx.net>

Manuel Moreno wrote:
> 
> El Sat, 03 Jul 1999 13:18:03 GMT, J Perry Fecteau escrivio estos
>  fermosos latines:
> 
> >my dream is to write an operating system in perl.  wanna help?
> 
> That is something I've thought since I began to see the Perl advantages.
> My approach would be to rewrite some linux kernel functions in Perl.

I think I saw a file system for Linux implemented in Perl somewhere...
I think it was supposed to be a joke but supposedly it worked (though
slower than filesystems implemented in C).

Cheers,
Philip


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

Date: Mon, 05 Jul 1999 10:27:07 GMT
From: rajappa@my-deja.com
Subject: Re: Perl Everywhere : That's what I want
Message-Id: <7lq19l$go2$1@nnrp1.deja.com>

hey, firstly, I personally think that Perl is a wonderful thing :
"simple, object-oriented, distributed, interpreted, robust, secure,
architecture neutral, portable, high performance, dynamic" !!
(I stole that from the Java site, but then they stole it from us first
!!)

What I do want however is some big projects to happen in Perl, hey
maybe not an OS (Punix ??!!) but definitely I'd like to see a IDE for
Perl written in Perl with Tk with a debugger, code-profiler and other
standard IDE feature which will help in development and maintainance
for big Perl projects Anyone wanna help ???

Cheers
- Appa


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.


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

Date: 5 Jul 1999 18:24:08 -0500
From: abigail@delanet.com (Abigail)
Subject: Re: Perl Everywhere : That's what I want
Message-Id: <slrn7o2fk3.h6v.abigail@alexandra.delanet.com>

rajappa@my-deja.com (rajappa@my-deja.com) wrote on MMCXXXIV September
MCMXCIII in <URL:news:7lq19l$go2$1@nnrp1.deja.com>:
## 
## What I do want however is some big projects to happen in Perl, hey
## maybe not an OS (Punix ??!!) but definitely I'd like to see a IDE for
## Perl written in Perl with Tk with a debugger, code-profiler and other
## standard IDE feature which will help in development and maintainance
## for big Perl projects Anyone wanna help ???


Perl has had an IDE since day 1. It's called Unix.



Abigail
-- 
srand 123456;$-=rand$_--=>@[[$-,$_]=@[[$_,$-]for(reverse+1..(@[=split
//=>"IGrACVGQ\x02GJCWVhP\x02PL\x02jNMP"));print+(map{$_^q^"^}@[),"\n"


  -----------== Posted via Newsfeeds.Com, Uncensored Usenet News ==----------
   http://www.newsfeeds.com       The Largest Usenet Servers in the World!
------== Over 73,000 Newsgroups - Including  Dedicated  Binaries Servers ==-----


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

Date: Sat, 03 Jul 1999 07:36:42 -0300
From: Arved_37@chebucto.ns.ca (Arved Sandstrom)
Subject: Re: Perl Exensions without XS
Message-Id: <Arved_37-0307990736430001@dyip-115.chebucto.ns.ca>

In article <7lj6up$1r5$1@gellyfish.btinternet.com>, Jonathan Stowe
<gellyfish@gellyfish.com> wrote:

> On Fri, 02 Jul 1999 15:51:09 GMT time4tea@my-deja.com wrote:
> > 
> > 
> > For a while I've been thinking about writing a Perl extension, but have
> > come a cropper with the XS stuff, to me it all seems very opaque. I've
> > written extensions to Python before, and was looking to get into
> > extension for perl in much the same way... anyway I finally sat down and
> > figured it out.. So I thought I'd post my little test program in case
> > anybody else was having the same idea...
> > 
> Er, I think you made some misunderstanding here - you are using XS ...
> 
Sort of arguable. :-) There's some macros with 'XS' in them, but I
personally consider it using XS if you write something that you still need
to run "xsubpp" on.

SWIG uses some XS macros, and I wouldn't call that "using XS".

Arved


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

Date: Sat, 03 Jul 1999 07:45:42 -0300
From: Arved_37@chebucto.ns.ca (Arved Sandstrom)
Subject: Re: Perl Exensions without XS
Message-Id: <Arved_37-0307990745420001@dyip-115.chebucto.ns.ca>

In article <7lin58$f6p$1@nnrp1.deja.com>, time4tea@my-deja.com wrote:

> For a while I've been thinking about writing a Perl extension, but have
> come a cropper with the XS stuff, to me it all seems very opaque. I've
> written extensions to Python before, and was looking to get into
> extension for perl in much the same way... anyway I finally sat down and
> figured it out.. So I thought I'd post my little test program in case
> anybody else was having the same idea...
> 
What surprises me is that you "came a cropper" with writing XS but still
managed to write the equivalent of the C output of xsubpp. :-)

What happens if you've got a really simple XS file? Take the output of
h2xs and edit it to add a really simple function like:

int
sum(a, b)
   int a;
   int b;
   CODE:
   RETVAL = a + b;
   OUTPUT:
   RETVAL

after the MODULE and PACKAGE statements. Run xsubpp on that. If your build
process is screwed, run it directly:

perl /path_to_xsubpp/xsubpp -noprototypes MyFile.xs > xstmp.c &&
   mv xstmp.c MyFile.c

This should work. Because if you get this up and running you'll save
yourself a lot of work and potential for errors.

Arved


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

Date: Tue, 06 Jul 1999 11:36:34 -0600
From: "J. S. Jensen" <jsjensen@Paramin.COM>
Subject: Perl Expert Systems??
Message-Id: <37823EA2.E98693A@Paramin.COM>

Can anybody point me to some information on developing expert systems in
Perl?  I would like to port a rule-based system in Prolog to perl, but
can't find any `rule' module or something like that.

Any thoughts...

--
J. S. Jensen
mailto:jsjensen@Paramin.COM
http://www.Paramin.COM




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

Date: Tue, 06 Jul 1999 14:33:45 -0500
From: John Warner <john.warner@tivoli.com>
Subject: Re: Perl Expert Systems??
Message-Id: <37825A19.1C70D696@tivoli.com>

I don't know of such a beast but it might be fun to write one in my spare
time.  It's been a long time since I last looked at Prolog so posting some
sample Prolog code would help.


"J. S. Jensen" wrote:

> Can anybody point me to some information on developing expert systems in
> Perl?  I would like to port a rule-based system in Prolog to perl, but
> can't find any `rule' module or something like that.
>
> Any thoughts...
>
> --
> J. S. Jensen
> mailto:jsjensen@Paramin.COM
> http://www.Paramin.COM

--
John Warner                     Tivoli Systems Inc.
Sales Support Engineer          9442 Capital Of Texas Hwy North
Sales Infrastructure Group      Austin, TX 78759
john_warner@tivoli.com




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

Date: Tue, 06 Jul 1999 06:02:43 GMT
From: rajappa@my-deja.com
Subject: Perl IDE called UNIX
Message-Id: <7ls65v$5kv$1@nnrp1.deja.com>

hi,

i've heard a lot of ppl say that Perl has an IDE : UNIX.

Yeah, fine, but how many ppl are comfortable programming and using the
various tools that UNIX provides (sccs, debugger, profier etc.) ??

I'd like to see a full fledged GUI IDE for Perl that competes directly
with similar IDE's for languages like C++ on other platforms. This will
make it a whole lot easier to spread the word that Perl is a good
language for large scale development.

I feel that a major reason for Windos success is that UNIX programmers
have often taken the attitude that people dont matter, only UNIX does.
And have taken the attitude that "I know that UNIX is the best and I
dont give a damn what others think, and I'm not going to waste my time
educating them".

Linux is doing a great job there, but you've got to see that what's
increased it's popularity in the last year is the fact that it's become
more GUI based with KDE and Gnome, making it easier for the lay-person
to use it, thus gaining popularity, which in the end result is what we
want.

So who's helping me make a GUI IDE for Perl written with Perl/Tk ???

Come on ppl, let's show those Windoze ppl who the b*OS*s is...

- Arun


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.


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

Date: 6 Jul 1999 01:32:14 -0500
From: abigail@delanet.com (Abigail)
Subject: Re: Perl IDE called UNIX
Message-Id: <slrn7o38mp.h6v.abigail@alexandra.delanet.com>

rajappa@my-deja.com (rajappa@my-deja.com) wrote on MMCXXXV September
MCMXCIII in <URL:news:7ls65v$5kv$1@nnrp1.deja.com>:
'' hi,
'' 
'' i've heard a lot of ppl say that Perl has an IDE : UNIX.
'' 
'' Yeah, fine, but how many ppl are comfortable programming and using the
'' various tools that UNIX provides (sccs, debugger, profier etc.) ??

What's your point? Once they learn those tools, they have an IDE for
all the development they want, instead of having to learn different
IDEs for every other thing they do.

And they have to learn something anyway. It's better to learn the tools
that are always there, then a specific tool that might not always be there.

'' I'd like to see a full fledged GUI IDE for Perl that competes directly
'' with similar IDE's for languages like C++ on other platforms. This will
'' make it a whole lot easier to spread the word that Perl is a good
'' language for large scale development.

IDEs don't make languages suitable for large scale development.

'' I feel that a major reason for Windos success

Buhahhahhahhahha.

''                                               is that UNIX programmers
'' have often taken the attitude that people dont matter, only UNIX does.
'' And have taken the attitude that "I know that UNIX is the best and I
'' dont give a damn what others think, and I'm not going to waste my time
'' educating them".
'' 
'' Linux is doing a great job there, but you've got to see that what's
'' increased it's popularity in the last year is the fact that it's become
'' more GUI based with KDE and Gnome, making it easier for the lay-person
'' to use it, thus gaining popularity, which in the end result is what we
'' want.

Laypersons are irrelevant in this aspect. People aren't designing the
engines of airplanes such that it's easier for the passengers to take
apart. The engines are only touched by qualified people. And so are
IDEs. Don't confuse computer users with computer programmers. 

'' So who's helping me make a GUI IDE for Perl written with Perl/Tk ???

Don't count on me.

'' Come on ppl, let's show those Windoze ppl who the b*OS*s is...

By imitating them? I think Unix is superiour *because* of the differences
with Windows. Imitating them makes them say "how cute, they managed to
copycat us. Why would I switch?".



Abigail
-- 
perl -we 'print split /(?=(.*))/s => "Just another Perl Hacker\n";'


  -----------== Posted via Newsfeeds.Com, Uncensored Usenet News ==----------
   http://www.newsfeeds.com       The Largest Usenet Servers in the World!
------== Over 73,000 Newsgroups - Including  Dedicated  Binaries Servers ==-----


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

Date: Tue, 6 Jul 1999 16:40:36 +1000
From: e-lephant@b-igpond.com (elephant)
Subject: Re: Perl IDE called UNIX
Message-Id: <MPG.11ec4ff3102f59ac989b02@news-server>

rajappa@my-deja.com writes ..
>Linux is doing a great job there, but you've got to see that what's
>increased it's popularity in the last year is the fact that it's become
>more GUI based with KDE and Gnome, making it easier for the lay-person
>to use it, thus gaining popularity, which in the end result is what we
>want.

speak for yourself .. I really don't understand this level of 
evangelising .. if people are happy using C++ and Windows and whatever 
else they're happy with then let them

yeach .. it's not as though we're trying to use Python .. there's a huge 
support network for perl .. I don't see the point behind evangelising it

if you want an IDE for an IDEs sake then fair enough .. go for it .. but 
to increase perl's popularity ? .. I don't see the point ?

>So who's helping me make a GUI IDE for Perl written with Perl/Tk ???

vim's a GUI .. it's got colours

-- 
 jason - remove all hyphens for email reply -


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

Date: 06 Jul 1999 16:50:37 +1000
From: Clive Newall <crn@itga.com.au>
Subject: Re: Perl IDE called UNIX
Message-Id: <v5908us24i.fsf@lightning.itga.com.au>

rajappa@my-deja.com writes:

> hi,
> 
> i've heard a lot of ppl say that Perl has an IDE : UNIX.
> 
 ...
> Linux is doing a great job there, but you've got to see that what's
> increased it's popularity in the last year is the fact that it's become
> more GUI based with KDE and Gnome, making it easier for the lay-person
> to use it, thus gaining popularity, which in the end result is what we
> want.
> 
> So who's helping me make a GUI IDE for Perl written with Perl/Tk ???
> 
> Come on ppl, let's show those Windoze ppl who the b*OS*s is...

There is something fundamentally disturbing about the idea that a
measure of a computer language's success is that it becomes "easier
for the lay-person to use it".

I do not let untrained but well meaning fools repair or maintain my car.
Or my TV. Or my microwave oven.

Why is it that people think programming is for the masses?
What makes them think the masses want to program?

-- 
Clive Newall <crn@itga.com.au> / ITG Australia Ltd, Melbourne Australia
"I think Casper is the ghost of Richie Rich. I wonder how Richie died?"
"Perhaps he realized how hollow the pursuit of money is and took his own life"
  --Bart and Lisa Simpson


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

Date: Tue, 06 Jul 1999 08:30:26 GMT
From: andrew-johnson@home.com (Andrew Johnson)
Subject: Re: Perl IDE called UNIX
Message-Id: <C8jg3.4479$SH6.105837@news1.rdc2.on.home.com>

In article <7ls65v$5kv$1@nnrp1.deja.com>,
 rajappa@my-deja.com <rajappa@my-deja.com> wrote:

[snip stuff about IDE]

! Linux is doing a great job there, but you've got to see that what's
! increased it's popularity in the last year is the fact that it's become
! more GUI based with KDE and Gnome, making it easier for the lay-person
! to use it, thus gaining popularity, which in the end result is what we
! want.

even if it were true (that the popularity is based on GUI stuff) how
many of the Gnome and KDE developers are using some form of GUI IDE??
just because GUI's might be popular with users doesn't mean that
developers find them useful or efficient.

regards
andrew


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

Date: Tue, 6 Jul 1999 12:58:59 +0500
From: "Faisal Nasim" <swiftkid@bigfoot.com>
Subject: Re: Perl IDE called UNIX
Message-Id: <7ltg9e$dfl2@news.cyber.net.pk>

<rajappa@my-deja.com> wrote in message news:7ls65v$5kv$1@nnrp1.deja.com...
> hi,
>
> i've heard a lot of ppl say that Perl has an IDE : UNIX.
>
> Yeah, fine, but how many ppl are comfortable programming and using the
> various tools that UNIX provides (sccs, debugger, profier etc.) ??


I don't know the count... but if I am not in the count then:

$unix { 'edit' } { 'people_comfortable' }++;


>
> I'd like to see a full fledged GUI IDE for Perl that competes directly
> with similar IDE's for languages like C++ on other platforms. This will
> make it a whole lot easier to spread the word that Perl is a good
> language for large scale development.

Try PerlBuilder with WINE .... :)

>
> Linux is doing a great job there, but you've got to see that what's
> increased it's popularity in the last year is the fact that it's become
> more GUI based with KDE and Gnome, making it easier for the lay-person
> to use it, thus gaining popularity, which in the end result is what we
> want.
>
> So who's helping me make a GUI IDE for Perl written with Perl/Tk ???

You got KDE?

Try: kedit (simple, no highlighting) and kwrite (I love this one, C/C++,
Perl,
Python, Java etc. syntax highlighting)...... why build another?

Many people are working on same programs at a time, that is, one creates
a good program, but miss some features and add some cool features, the
other person is making same, but doesn't add cool features but add other
features...... eg. Gnome and KDE.

I think Gnome and KDE have teamed up..... which they should have
done long time ago.

You could do development in gtk, which is now supported on Windows too!
It will be faster than Perl (but not as easy!)

>
> Come on ppl, let's show those Windoze ppl who the b*OS*s is...
>

Go ahead, show them. If you succeed, let me know.

According to my experience, neither Gnome nor KDE is perfect and
stable as compared to Windows GUI. Why? Would you like when you nicely
programming in X (in kedit), and suddenly your mouse runs away off the
screen,
and doesn't come back until you restart X? ... I hate when KDE does that.
Well, that doesn't happen all the time, and I can't blame my PC for this :)
Sometimes it runs smoother than Windows, calmly and peacefully.

And Gnome, oh boy, you are working like a good kid, and suddenly it
closes Gnome and brings the login screen! Not to mention all processes
are closed, and all data is lost.

Thats why, I work on Windows, and transfer it to Linux for testing and small
editing etc. I hope they come out with something good and cool by teaming
up (I am talking about KDE and Gnome, perhaps Knome ;})

But I agree, when it comes to Best OS, my vote is for Linux.... (only if its
not
graphics category).

--
Faisal Nasim (the Whiz Kid)
Web: http://wss.hypermart.net/
AOL: Whiz Swift  ICQ: 4265451
FAX: (815) 846-2877




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

Date: 6 Jul 1999 13:24:49 GMT
From: fl_aggie@thepentagon.com (I R A Aggie)
Subject: Re: Perl IDE called UNIX
Message-Id: <slrn7o411c.111.fl_aggie@thepentagon.com>

On 06 Jul 1999 16:50:37 +1000, Clive Newall <crn@itga.com.au>, in
<v5908us24i.fsf@lightning.itga.com.au> wrote:

+ Why is it that people think programming is for the masses?
+ What makes them think the masses want to program?

For the most part, they can't get their VCR's time right...if they
can't get something simple like that, heaven forbid they get the output
from localtime()!

James


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

Date: 6 Jul 1999 15:46:20 +0100
From: Jonathan Stowe <gellyfish@gellyfish.com>
Subject: Re: Perl IDE called UNIX
Message-Id: <378216bc@newsread3.dircon.co.uk>

Andrew Johnson <andrew-johnson@home.com> wrote:
> In article <7ls65v$5kv$1@nnrp1.deja.com>,
>  rajappa@my-deja.com <rajappa@my-deja.com> wrote:
> 
> [snip stuff about IDE]
> 
> ! Linux is doing a great job there, but you've got to see that what's
> ! increased it's popularity in the last year is the fact that it's become
> ! more GUI based with KDE and Gnome, making it easier for the lay-person
> ! to use it, thus gaining popularity, which in the end result is what we
> ! want.
> 
> even if it were true (that the popularity is based on GUI stuff) how
> many of the Gnome and KDE developers are using some form of GUI IDE??
> just because GUI's might be popular with users doesn't mean that
> developers find them useful or efficient.

I couldnt agree with that more - I will use even use vi when I am forced
to program on Windows.  I'd rather right my own makefiles than let some
nasty piece of GUI bloatware write them for me.

/J\
-- 
"You're blowing me off for a monkey?" - Joey, Friends


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

Date: Sun, 04 Jul 1999 14:55:50 GMT
From: daniel_chalef@my-deja.com
Subject: Perl Inetd based Daemon and Originating Client IP
Message-Id: <7lnslk$tij$1@nnrp1.deja.com>

Hello

I've written a Inetd-based Perl daemon and would liek to log client IP
addresses - not using Socket.pm and the normal methods of socket
manipulation, how do I determine the client IP address?

Thanks
Daniel


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.


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

Date: 4 Jul 1999 20:39:27 -0000
From: Jonathan Stowe <gellyfish@gellyfish.com>
Subject: Re: Perl Inetd based Daemon and Originating Client IP
Message-Id: <7logpv$49c$1@gellyfish.btinternet.com>

On Sun, 04 Jul 1999 14:55:50 GMT daniel_chalef@my-deja.com wrote:
> Hello
> 
> I've written a Inetd-based Perl daemon and would liek to log client IP
> addresses - not using Socket.pm and the normal methods of socket
> manipulation, how do I determine the client IP address?
> 

What do you mean by 'the normal methods of socket manipulation' ? 

/J\
-- 
Jonathan Stowe <jns@gellyfish.com>
Some of your questions answered:
<URL:http://www.btinternet.com/~gellyfish/resources/wwwfaq.htm>
Hastings: <URL:http://www.newhoo.com/Regional/UK/England/East_Sussex/Hastings>


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

Date: Tue, 6 Jul 1999 17:54:13 +0200
From: "nunez" <anunez@europe.ups.com>
Subject: Perl interpreter not invoked
Message-Id: <7lt8rr$9er2@biko.telecom.ups.com>

I've installed Apache and Perl on WNT and I do not know how to say Apache
the path were the Perl.exe resides. I've looked at the file httpd.conf and
there is nothing about it. So, whenever i try to invoke a perl program, I
get a 500 internal server error. I have my .pl programs at apache/cgi-bin/
directory. Please, i need urgent help. Thanks in advance.
Alejandro.




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

Date: Tue, 06 Jul 1999 17:20:21 GMT
From: Jordan Hiller <hiller@email.com>
Subject: Re: Perl interpreter not invoked
Message-Id: <37823AD5.5B1840A0@email.com>

Use the #! line like you see on Perl scripts run on Unix. For example:

#!/perl/perl.exe

# Rest of script here

nunez wrote:
> 
> I've installed Apache and Perl on WNT and I do not know how to say Apache
> the path were the Perl.exe resides. I've looked at the file httpd.conf and
> there is nothing about it. So, whenever i try to invoke a perl program, I
> get a 500 internal server error. I have my .pl programs at apache/cgi-bin/
> directory. Please, i need urgent help. Thanks in advance.
> Alejandro.

-- 
Jordan Hiller (hiller@email.com)

JavaScript and Perl programs for
 making online tests and quizzes:
http://web-shack.hypermart.net/quiz.html


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

Date: 5 Jul 1999 09:59:42 GMT
From: niclasa@pcniclasa2.axis.se (Niclas Anderberg)
Subject: perl script as suid root?
Message-Id: <slrn7o16o6.nm.niclasa@pcniclasa2.axis.se>

I have made a cgi-script which is to be executed as root (for varios reasons).
I know this is not safe and all that, but it is just a quick hack and not meant
for any production use. Problem is my perl script doesn't seem to want to run
as suid root. It is supposed to change the ip using /sbin/ifconfig on a unix
system, but no-can-do. Does anyone know how to make this work?

Thanks in advance, and please cc to the mailaddy above and remove the NOSPAM.

Niclas Anderberg


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

Date: 6 Jul 1999 01:04:54 GMT
From: efflandt@xnet.com (David Efflandt)
Subject: Re: perl script as suid root?
Message-Id: <slrn7o2ld4.14p.efflandt@efflandt.xnet.com>

On 5 Jul 1999 09:59:42 GMT, Niclas Anderberg <niclasa@pcniclasa2.axis.se> wrote:
>I have made a cgi-script which is to be executed as root (for varios reasons).
>I know this is not safe and all that, but it is just a quick hack and not meant
>for any production use. Problem is my perl script doesn't seem to want to run
>as suid root. It is supposed to change the ip using /sbin/ifconfig on a unix
>system, but no-can-do. Does anyone know how to make this work?
>
>Thanks in advance, and please cc to the mailaddy above and remove the NOSPAM.
>
>Niclas Anderberg

This is not really a Perl problem.  The problem is that most systems do
not trust suid *scripts*, so they ignore them.  You probably need an suid 
C wrapper.  There was one in the old "Learning perl" (perl4), but it is
not in the current Perl5 book.  Not sure if it is somewhere on CPAN (look
around http://www.perl.com/ ).

-- 
David Efflandt   efflandt@xnet.com   http://www.xnet.com/~efflandt/
http://www.de-srv.com/   http://cgi-help.virtualave.net/


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

Date: Tue, 06 Jul 1999 02:47:34 GMT
From: mgjv@comdyn.com.au (Martien Verbruggen)
Subject: Re: perl script as suid root?
Message-Id: <a7eg3.92$Qx3.7431@nsw.nnrp.telstra.net>

In article <slrn7o16o6.nm.niclasa@pcniclasa2.axis.se>,
	niclasa@pcniclasa2.axis.se (Niclas Anderberg) writes:

> I have made a cgi-script which is to be executed as root (for varios
[snip]
> Does anyone know how to make this work?

# perldoc perlsec

IOW: read the perlsec documentation.

> Thanks in advance, and please cc to the mailaddy above and remove the NOSPAM.

Post here, read here.

-- 
Martien Verbruggen                  | 
Interactive Media Division          | That's funny, that plane's dustin'
Commercial Dynamics Pty. Ltd.       | crops where there ain't no crops.
NSW, Australia                      | 


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

Date: Sat, 03 Jul 1999 04:34:57 GMT
From: kloomis@it-resourcesNOSPAM.com (Ken)
Subject: Re: Perl Script Help
Message-Id: <377d9277.53245193@news.tiac.net>

"Corgi-lover" <checker@usa.com> wrote:

>I'm using a Perl Script on a new webpage I've created.
>I need to make minor changes (text, webpage URL) to the script.
>I used a Perl editor but whatever small change I implement I get an error
>message from my server.
>As soon as I reinstall the original script everythign works fine again.
>What am I doing wrong???
>Please email directly if you can help
>Thanks
>--

Are you changinf your chmodes to executable for everyone?  If you're
not sure what I mean by that, it is probably the problem.



Ken Loomis
IT Resources
Lexington, MA
www.it-resources.com


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

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

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


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