Mailing List Archive

can some one help a newbie?
I was wondering what is the diffrence between python and perl and what can
you do with perl scripts and cgi on the web?
can some one help a newbie? [ In reply to ]
[This is probably a troll, but whattheheck]

In article <vdgv3.13036$x04.783764@typ11.nn.bcandid.com>,
Daryl Zero <Wobbler78@hotmail.com> wrote:
>
>I was wondering what is the diffrence between python and perl and what can
>you do with perl scripts and cgi on the web?

You are posting to comp.lang.python; if you want to learn about Perl,
check out comp.lang.perl.misc. Perl and Python are overall, more
similar than different: both are interpreted, high-level, procedural
langauges with some object-oriented features and a lot of publicly
available modules for performing routine tasks.

Overall, if your background is as a sysadmin using shell scripts, grep,
awk, sed, and so on, you'll find Perl a bit easier. If your background
is mostly as a programmer (C++ or Pascal), you'll find Python a bit
easier. Perl is better for quick hacks; Python is better for "real"
programs that need to be maintained.

(I write this as someone with experience in many languages, having
learned Perl and then switching to Python.)
--
--- Aahz (@netcom.com)

Androgynous poly kinky vanilla queer het <*> http://www.rahul.net/aahz/
Hugs and backrubs -- I break Rule 6 (if you want to know, do some research)
can some one help a newbie? [ In reply to ]
In article <7pkke6$lut@dfw-ixnews6.ix.netcom.com>
aahz@netcom.com "Aahz Maruch" writes:
> Overall, if your background is as a sysadmin using shell scripts, grep,
> awk, sed, and so on, you'll find Perl a bit easier.

I've used all these, and find Python easier than Perl. Perl would
probably be easier than Python for 1-liners, if I could remember
the syntax.


--
Phil Hunt....philh@vision25.demon.co.uk
can some one help a newbie? [ In reply to ]
In article <935227166snz@vision25.demon.co.uk>,
Phil Hunt <philh@vision25.demon.co.uk> wrote:
>In article <7pkke6$lut@dfw-ixnews6.ix.netcom.com>
> aahz@netcom.com "Aahz Maruch" writes:
>>
>> Overall, if your background is as a sysadmin using shell scripts, grep,
>> awk, sed, and so on, you'll find Perl a bit easier.
>
>I've used all these, and find Python easier than Perl. Perl would
>probably be easier than Python for 1-liners, if I could remember
>the syntax.

Note that I'm specifically assuming a sysadmin with little actual
programming experience.
--
--- Aahz (@netcom.com)

Androgynous poly kinky vanilla queer het <*> http://www.rahul.net/aahz/
Hugs and backrubs -- I break Rule 6 (if you want to know, do some research)
can some one help a newbie? [ In reply to ]
In article <7pmv4j$gtt@dfw-ixnews14.ix.netcom.com>
aahz@netcom.com "Aahz Maruch" writes:
> In article <935227166snz@vision25.demon.co.uk>,
> Phil Hunt <philh@vision25.demon.co.uk> wrote:
> >In article <7pkke6$lut@dfw-ixnews6.ix.netcom.com>
> > aahz@netcom.com "Aahz Maruch" writes:
> >>
> >> Overall, if your background is as a sysadmin using shell scripts, grep,
> >> awk, sed, and so on, you'll find Perl a bit easier.
> >
> >I've used all these, and find Python easier than Perl. Perl would
> >probably be easier than Python for 1-liners, if I could remember
> >the syntax.
>
> Note that I'm specifically assuming a sysadmin with little actual
> programming experience.

The idea that a company would employ someone, who can't really code,
as a sysadmin is IMO frightening. Unless they don't care whether
their computer system works, of course.

--
Phil Hunt....philh@vision25.demon.co.uk
can some one help a newbie? [ In reply to ]
On Sat, Aug 21, 1999 at 10:05:07PM +0000, Phil Hunt wrote:

> The idea that a company would employ someone, who can't really code,
> as a sysadmin is IMO frightening. Unless they don't care whether
> their computer system works, of course.

Yeah, it's frightening, but it happens. Anyone remember the dilbert 'series'
about COBOL ? Pointy-haired-boss sees Bob the Dino, says "Say, aren't you a
COBOL programmer?", Bob replies "No, but i've been told i look like one",
"You're hired".

This currently accurately depicts the (dutch at least) job market for
'people who do something or other with computers.' A g-d(--)less amount of
companies want to join the Hype-err, internet, but have no clue how. They
can employ a company to do it properly, or they can attract a real system
administrator to work part- or full time, or they can hire someone who they
saw had a weird flashy homepage and offered to build likewise for money. The
last option is often the cheapest, even if the homepage ends up below par
and the guy has to learn everything from scratch during workhours. The same
goes for things like network setups, mailservers, etc, for small offices and
the like.

But you're right, they dont really care wether their computer systems work.
Often they wouldn't be able to tell the difference ;)

Two-years-of-ISP-helpdesk-and-sales-experience-does-it-show'ly y'rs, Thomas

--
Thomas Wouters <thomas@xs4all.net>

Hi! I'm a .signature virus! copy me into your .signature file to help me spread!
can some one help a newbie? [ In reply to ]
Phil Hunt <philh@vision25.demon.co.uk> wrote:
> The idea that a company would employ someone, who can't
> really code, as a sysadmin is IMO frightening. Unless they
> don't care whether their computer system works, of course.

...

a friend working for a big consultancy firm claims
they're handing out the following questionnaire to
anyone who happens to walk by outside their
office:

1. have you ever seen a computer: yes/no

2. if you answered yes, have you seen a
computer in real life (and not just on tv,
in a magazine, etc): yes/no

one yes and you get a job, two yes and you're
hired as an expert consultant.

...

also see:
http://www.python.org/doc/essays/cp4e.html

</F>
can some one help a newbie? [ In reply to ]
On Sun, 22 Aug 1999 16:44:20 GMT, Fredrik Lundh <fredrik@pythonware.com> wrote:
>a friend working for a big consultancy firm claims
>they're handing out the following questionnaire to
>anyone who happens to walk by outside their
>office:
>
>1. have you ever seen a computer: yes/no
>
>2. if you answered yes, have you seen a
>computer in real life (and not just on tv,
>in a magazine, etc): yes/no
>
>one yes and you get a job, two yes and you're
>hired as an expert consultant.

What if the one and only yes is in response to question 2?

Let me guess, you go straight into management.
can some one help a newbie? [ In reply to ]
Kaz Kylheku wrote:
> On Sun, 22 Aug 1999 16:44:20 GMT, Fredrik Lundh
> <fredrik@pythonware.com> wrote:
> >a friend working for a big consultancy firm claims
> >they're handing out the following questionnaire to
> >anyone who happens to walk by outside their
> >office:
> >
> >1. have you ever seen a computer: yes/no
> >
> >2. if you answered yes, have you seen a
> >computer in real life (and not just on tv,
> >in a magazine, etc): yes/no
> >
> >one yes and you get a job, two yes and you're
> >hired as an expert consultant.
>
> What if the one and only yes is in response to question 2?
>
> Let me guess, you go straight into management.

No, sales & marketing.

Management requires 2 nos.

- Gordon
can some one help a newbie? [ In reply to ]
Gordon McMillan wrote:

> Kaz Kylheku wrote:
> > On Sun, 22 Aug 1999 16:44:20 GMT, Fredrik Lundh
> > <fredrik@pythonware.com> wrote:
> > >a friend working for a big consultancy firm claims
> > >they're handing out the following questionnaire to
> > >anyone who happens to walk by outside their
> > >office:
> > >
> > >1. have you ever seen a computer: yes/no
> > >
> > >2. if you answered yes, have you seen a
> > >computer in real life (and not just on tv,
> > >in a magazine, etc): yes/no
> > >
> > >one yes and you get a job, two yes and you're
> > >hired as an expert consultant.
> >
> > What if the one and only yes is in response to question 2?
> >
> > Let me guess, you go straight into management.
>
> No, sales & marketing.
>
> Management requires 2 nos.
>

I'll go along with the sales and marketing, but the correct response to
get into management is "do you want fries with that?"