[32664] in Perl-Users-Digest

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

Perl-Users Digest, Issue: 3940 Volume: 11

daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Sun May 5 18:09:34 2013

Date: Sun, 5 May 2013 15:09:11 -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           Sun, 5 May 2013     Volume: 11 Number: 3940

Today's topics:
        Perl Cookbook error? <dave@invalid.invalid>
    Re: Perl Cookbook error? <ben@morrow.me.uk>
    Re: Perl Cookbook error? <dave@invalid.invalid>
    Re: Turning lines of a file into array? <mvdwege@mail.com>
    Re: Turning lines of a file into array? <jurgenex@hotmail.com>
    Re: Turning lines of a file into array? <rweikusat@mssgmbh.com>
    Re: Turning lines of a file into array? <rweikusat@mssgmbh.com>
    Re: Turning lines of a file into array? <rweikusat@mssgmbh.com>
    Re: Turning lines of a file into array? <ben@morrow.me.uk>
    Re: Turning lines of a file into array? <derykus@gmail.com>
        Why do Perl programmers make more money than Python pro <ignoramus16992@NOSPAM.16992.invalid>
    Re: Why do Perl programmers make more money than Python <rustompmody@gmail.com>
    Re: Why do Perl programmers make more money than Python <roy@panix.com>
    Re: Why do Perl programmers make more money than Python <steve+comp.lang.python@pearwood.info>
    Re: Why do Perl programmers make more money than Python <steve+comp.lang.python@pearwood.info>
    Re: Why do Perl programmers make more money than Python (Jens Thoms Toerring)
    Re: Why do Perl programmers make more money than Python <roy@panix.com>
    Re: Why do Perl programmers make more money than Python <rweikusat@mssgmbh.com>
    Re: Why do Perl programmers make more money than Python <no.email@nospam.invalid>
    Re: Why do Perl programmers make more money than Python <no.email@nospam.invalid>
    Re: Why do Perl programmers make more money than Python (Jens Thoms Toerring)
    Re: Why do Perl programmers make more money than Python <roy@panix.com>
    Re: Why do Perl programmers make more money than Python (Jens Thoms Toerring)
        Digest Administrivia (Last modified: 6 Apr 01) (Perl-Users-Digest Admin)

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

Date: Sat, 4 May 2013 16:25:48 +0000 (UTC)
From: "Dave Saville" <dave@invalid.invalid>
Subject: Perl Cookbook error?
Message-Id: <fV45K0OBJxbE-pn2-2qcnVdCdpSld@paddington.bear.den>

In chapter 8.16 "Reading configuration files" and using "do" to read 
perlish conf files they give the example of overriding a system file 
with a user file viz:

do "sysconf";
do "userconf";

They then go on to say "if you want to ignore the system config file 
when the user has his own test the return value of the do."

do "sysconf"
or
do "userconf";

Is this not the wrong way around?

My take is that if there is *not* a userconf then the do will silently
fail. So the test needs to run the system file only if there is no 
userfile as in 

do "userconf" or do "systemconf";

Or have I got it wrong? Although a quick test seems to bear me out.

BTW, it seems one can't use strict when doing this type of thing.
-- 
Regards
Dave Saville


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

Date: Sun, 5 May 2013 00:48:56 +0100
From: Ben Morrow <ben@morrow.me.uk>
Subject: Re: Perl Cookbook error?
Message-Id: <8cjg5a-mhe.ln1@anubis.morrow.me.uk>


Quoth "Dave Saville" <dave@invalid.invalid>:
> In chapter 8.16 "Reading configuration files" and using "do" to read 
> perlish conf files they give the example of overriding a system file 
> with a user file viz:
> 
> do "sysconf";
> do "userconf";
> 
> They then go on to say "if you want to ignore the system config file 
> when the user has his own test the return value of the do."
> 
> do "sysconf"
> or
> do "userconf";
> 
> Is this not the wrong way around?

Yes, this is the wrong way around.

> My take is that if there is *not* a userconf then the do will silently
> fail. So the test needs to run the system file only if there is no 
> userfile as in 
> 
> do "userconf" or do "systemconf";
> 
> Or have I got it wrong? Although a quick test seems to bear me out.

This looks right to me, except for the fact that *any* failure in the
user file (including a file which ran entirely successfully but happened
to return a false value) will cause the system config to be read.
Depending on the circumstances a partially-applied user config might be
a problem.

> BTW, it seems one can't use strict when doing this type of thing.

You can, but it's not entirely straightforward. The first restriction is
that 'strict' is lexically scoped, so it doesn't carry over into the
file run by 'do'; this means the user may well end up creating random
globals by accident. (But since you're presumably using strict in your
code, that doesn't matter as much as you might think.)

The second is that since, again, the do is in a separate lexical scope,
you have to use package variables to communicate between the two files.
So you end up with something like this:

    use strict;
    our ($Foo, @Bar, %Baz);

    do "conf";

and then the config can contain

    $Foo = 123;
    @Bar = qw/a b c/;

and the main config can pick up those variables. (Slightly strangely,
the current package *does* carry over into the do, so as long as the
user doesn't change package unqualified globals will show up in the
package you called do from.)

An alternative option is, instead of letting the user set globals, to
provide some set of subs for the user to call to set the configuration.
This is how RT works: the configuration file consists of a series of

    Set(...);

statements, where the Set function is provided by RT and does whatever
is needed to get the information into the right place. (In fact the
first parameter to Set is a global variable in the current package, but
I assume this is just a hangover from some previous incarnation where
the config file used globals directly. For a new system there's no
reason not to use string keys.) 

Other examples of configuration-in-Perl would be the Makefile.PL and
Build.PL files in CPAN distributions: in the common case, both look much
more like config files than they do like programs, but in complicated
cases Perl can be used to calculate the required config on the fly.

All in all, I don't think using Perl for config files is a very good
idea. Personally I would use YAML (and read it with YAML::XS, not
YAML.pm itself, since IME YAML.pm sometimes does strange things), or
JSON if you're more concerned about 'clean' formats and less concerned
about human-writability.

Ben



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

Date: Sun, 5 May 2013 12:35:55 +0000 (UTC)
From: "Dave Saville" <dave@invalid.invalid>
Subject: Re: Perl Cookbook error?
Message-Id: <fV45K0OBJxbE-pn2-jrD2wnQsNt17@paddington.bear.den>

On Sat, 4 May 2013 23:48:56 UTC, Ben Morrow <ben@morrow.me.uk> wrote:

> Yes, this is the wrong way around.
> 

Thanks for the confirmation Ben and the extra info.  I tried to submit
an errata report to O'Reilly but the link to do so throws an error.

-- 
Regards
Dave Saville


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

Date: Sat, 04 May 2013 09:39:58 +0200
From: Mart van de Wege <mvdwege@mail.com>
Subject: Re: Turning lines of a file into array?
Message-Id: <86sj239os1.fsf@gaheris.avalon.lan>

Tuxedo <tuxedo@mailinator.com> writes:

> Sorry for the basic question but how can I best turn each line of a file 
> into an array?
>
> I have a list filenames (just output of 'ls') in a separate text file, each 
> on a new line:
> DSC07557.JPG
> DSC07532.JPG
> DSC07563.JPG
> etc.
>
The Line Input operator <> is meant for this if you use it in list
context.

Let say you have those three lines in a text file, then the code would
be like this:

use strict;
use warnings;
use Data::Dumper;

open(my $fh, "<", "files.txt") 
  or die "can't open files.txt: $!";
my @lines = <$fh>;

You now have an array with the filenames in @lines.

> The resulting perl array needed is the above plus a fixed URL string 
> before, in order to fetch all in a later procedure, such as wget or 
> likewise.

It depends on where you want the URL to be, just use push or unshift.

Mart

-- 
"We will need a longer wall when the revolution comes."
    --- AJS, quoting an uncertain source.


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

Date: Sat, 04 May 2013 03:24:20 -0700
From: Jürgen Exner <jurgenex@hotmail.com>
Subject: Re: Turning lines of a file into array?
Message-Id: <8ao9o89f4f73gvj7j39bbjvit864eo49fd@4ax.com>

Tuxedo <tuxedo@mailinator.com> wrote:
>Sorry for the basic question but how can I best turn each line of a file 
>into an array?
>
>I have a list filenames (just output of 'ls') in a separate text file, each 
>on a new line:
>DSC07557.JPG
>DSC07532.JPG
>DSC07563.JPG
>etc.
>
>The resulting perl array needed is the above plus a fixed URL string 
>before, in order to fetch all in a later procedure, such as wget or 
>likewise.

So each array should contain this URL as the first element and the line
from the file as second element?

while (<$F>){
    my @thisarray = ($SomeURL, $_);
}

jue




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

Date: Sat, 04 May 2013 14:08:53 +0100
From: Rainer Weikusat <rweikusat@mssgmbh.com>
Subject: Re: Turning lines of a file into array?
Message-Id: <878v3ux57e.fsf@sapphire.mobileactivedefense.com>

Tuxedo <tuxedo@mailinator.com> writes:
> Sorry for the basic question but how can I best turn each line of a file 
> into an array?
>
> I have a list filenames (just output of 'ls') in a separate text file, each 
> on a new line:
> DSC07557.JPG
> DSC07532.JPG
> DSC07563.JPG
> etc.
>
> The resulting perl array needed is the above plus a fixed URL string 
> before,

-----------------
my ($fh, @data);

open($fh, '<', '/tmp/data') // die($!);
@data = map { chomp; "string $_"; } <$fh>;

print(join(' ', $_), "\n") for @data;


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

Date: Sat, 04 May 2013 14:11:06 +0100
From: Rainer Weikusat <rweikusat@mssgmbh.com>
Subject: Re: Turning lines of a file into array?
Message-Id: <874neix53p.fsf@sapphire.mobileactivedefense.com>

Charles DeRykus <derykus@gmail.com> writes:

[...]

>    my @array = qx{cat /path/to/myfile};
>    die "error: .... : $?" if $?;
>    unshift @array, "some fixed string...";

Evaluating a file handle in angular brackets in list context results
in list composed of all lines of text in the file.


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

Date: Sat, 04 May 2013 14:13:02 +0100
From: Rainer Weikusat <rweikusat@mssgmbh.com>
Subject: Re: Turning lines of a file into array?
Message-Id: <87zjwavqg1.fsf@sapphire.mobileactivedefense.com>

Rainer Weikusat <rweikusat@mssgmbh.com> writes:

[...]

> my ($fh, @data);
>
> open($fh, '<', '/tmp/data') // die($!);
> @data = map { chomp; "string $_"; } <$fh>;
>
> print(join(' ', $_), "\n") for @data;

The 'join' was left over from an earlier version which used

['string', $_]

as 'map operation' [it was join(' ', @$_) back then :-(]


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

Date: Sat, 4 May 2013 15:05:04 +0100
From: Ben Morrow <ben@morrow.me.uk>
Subject: Re: Turning lines of a file into array?
Message-Id: <g5hf5a-gb8.ln1@anubis.morrow.me.uk>


Quoth Rainer Weikusat <rweikusat@mssgmbh.com>:
> Tuxedo <tuxedo@mailinator.com> writes:
> > Sorry for the basic question but how can I best turn each line of a file 
> > into an array?
> >
> > I have a list filenames (just output of 'ls') in a separate text file, each 
> > on a new line:
> > DSC07557.JPG
> > DSC07532.JPG
> > DSC07563.JPG
> > etc.
> >
> > The resulting perl array needed is the above plus a fixed URL string 
> > before,
> 
> -----------------
> my ($fh, @data);
> 
> open($fh, '<', '/tmp/data') // die($!);
> @data = map { chomp; "string $_"; } <$fh>;

I find rather interesting the number of different ways people have
interpreted 'plus a fixed URL string before' :). Thinking about it I
suspect this is the interpretation the OP wanted, though I would have
guessed 'unshift' (or rather, my @ary = $url, <$FH>)...

Just goes to show, it pays to be as clear as possible when asking for
help.

Of course, given 'just output of 'ls'', it's possible that what the OP
is actually looking for is list-context readdir, but without more
information it's impossible to tell.

Ben



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

Date: Sat, 04 May 2013 09:31:53 -0700
From: Charles DeRykus <derykus@gmail.com>
Subject: Re: Turning lines of a file into array?
Message-Id: <km3d62$jn3$1@speranza.aioe.org>

On 5/4/2013 6:11 AM, Rainer Weikusat wrote:
> Charles DeRykus <derykus@gmail.com> writes:
>
> [...]
>
>>     my @array = qx{cat /path/to/myfile};
>>     die "error: .... : $?" if $?;
>>     unshift @array, "some fixed string...";
>
> Evaluating a file handle in angular brackets in list context results
> in list composed of all lines of text in the file.
>

Yes but there was no mention of a filehandle - only having
a file. Opening the file natively in perl is fine but after
all, Perl's a glue language. especially, if you're just
doing something simple and want to save a few keystrokes.


-- 
Charles DeRykus



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

Date: Sun, 05 May 2013 12:11:11 -0500
From: Ignoramus16992 <ignoramus16992@NOSPAM.16992.invalid>
Subject: Why do Perl programmers make more money than Python programmers
Message-Id: <zrOdnZU2U6syDxvMnZ2dnUVZ_v2dnZ2d@giganews.com>

According to CIO.com, Python programmers make only $83,000 per year,
while Perl programmers make $93,000 per year. 

http://www.cio.com/slideshow/detail/97819?source=ifwartcio#slide10
http://www.cio.com/slideshow/detail/97819?source=ifwartcio#slide11

I would like to know, what explains the discrepancy. 

Thank you!

i


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

Date: Sun, 5 May 2013 10:35:29 -0700 (PDT)
From: rusi <rustompmody@gmail.com>
Subject: Re: Why do Perl programmers make more money than Python programmers
Message-Id: <217e90de-851c-4fbb-b04b-9e1c77710102@wg15g2000pbb.googlegroups.com>

On May 5, 10:11=A0pm, Ignoramus16992 <ignoramus16...@NOSPAM.
16992.invalid> wrote:
> According to CIO.com, Python programmers make only $83,000 per year,
> while Perl programmers make $93,000 per year.
>
> http://www.cio.com/slideshow/detail/97819?source=3Difwartcio#slide10http:=
//www.cio.com/slideshow/detail/97819?source=3Difwartcio#slide11
>
> I would like to know, what explains the discrepancy.
>
> Thank you!
>
> i

I expect Cobol programmers earn more than either
Its called supply and demand


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

Date: Sun, 05 May 2013 13:58:51 -0400
From: Roy Smith <roy@panix.com>
Subject: Re: Why do Perl programmers make more money than Python programmers
Message-Id: <roy-BEDAEA.13585105052013@news.panix.com>

In article <zrOdnZU2U6syDxvMnZ2dnUVZ_v2dnZ2d@giganews.com>,
 Ignoramus16992 <ignoramus16992@NOSPAM.16992.invalid> wrote:

> According to CIO.com, Python programmers make only $83,000 per year,
> while Perl programmers make $93,000 per year. 

It's amazing the depths to which people are willing to sink for an extra 
$10k per year.


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

Date: 05 May 2013 19:10:47 GMT
From: Steven D'Aprano <steve+comp.lang.python@pearwood.info>
Subject: Re: Why do Perl programmers make more money than Python programmers
Message-Id: <5186aeb6$0$29997$c3e8da3$5496439d@news.astraweb.com>

On Sun, 05 May 2013 12:11:11 -0500, Ignoramus16992 wrote:

> According to CIO.com, Python programmers make only $83,000 per year,
> while Perl programmers make $93,000 per year.
> 
> http://www.cio.com/slideshow/detail/97819?source=ifwartcio#slide10
> http://www.cio.com/slideshow/detail/97819?source=ifwartcio#slide11
> 
> I would like to know, what explains the discrepancy.

Perl is much harder to use, so the average Perl programmer burns out 
after a few years and takes up a less stressful career, like going 
undercover in the Russian mob or the Taliban. So only the most dedicated, 
brilliant and extreme programmers last long enough to become a Perl 
expert, and consequently can demand higher pay, while any idiot can learn 
to program Python, as I have.

Also, Perl programmers are an unprincipled, devious bunch, always looking 
for an opportunity to blackmail their employers into paying them extra. 
Python programmers are a decent, law-abiding people with a strong moral 
code who would never stoop to the sort of things that Perl coders are 
proud of doing.



-- 
Steven


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

Date: 05 May 2013 19:13:57 GMT
From: Steven D'Aprano <steve+comp.lang.python@pearwood.info>
Subject: Re: Why do Perl programmers make more money than Python programmers
Message-Id: <5186af75$0$29997$c3e8da3$5496439d@news.astraweb.com>

On Sun, 05 May 2013 13:58:51 -0400, Roy Smith wrote:

> In article <zrOdnZU2U6syDxvMnZ2dnUVZ_v2dnZ2d@giganews.com>,
>  Ignoramus16992 <ignoramus16992@NOSPAM.16992.invalid> wrote:
> 
>> According to CIO.com, Python programmers make only $83,000 per year,
>> while Perl programmers make $93,000 per year.
> 
> It's amazing the depths to which people are willing to sink for an extra
> $10k per year.

Right now, I'd consider learning PHP for an extra $100 a month. Or 
peddling my arse down at the docks for twenty cents a time, which will be 
less embarrassing and much less painful.


-- 
Steven


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

Date: 5 May 2013 20:37:19 GMT
From: jt@toerring.de (Jens Thoms Toerring)
Subject: Re: Why do Perl programmers make more money than Python programmers
Message-Id: <aunu7vFmripU1@mid.uni-berlin.de>

In comp.lang.python Steven D'Aprano <steve+comp.lang.python@pearwood.info> wrote:
> On Sun, 05 May 2013 12:11:11 -0500, Ignoramus16992 wrote:

> > According to CIO.com, Python programmers make only $83,000 per year,
> > while Perl programmers make $93,000 per year.
> > 
> > http://www.cio.com/slideshow/detail/97819?source=ifwartcio#slide10
> > http://www.cio.com/slideshow/detail/97819?source=ifwartcio#slide11
> > 
> > I would like to know, what explains the discrepancy.

> Perl is much harder to use, so the average Perl programmer burns out 
> after a few years and takes up a less stressful career, like going 
> undercover in the Russian mob or the Taliban. So only the most dedicated, 
> brilliant and extreme programmers last long enough to become a Perl 
> expert, and consequently can demand higher pay, while any idiot can learn 
> to program Python, as I have.

> Also, Perl programmers are an unprincipled, devious bunch, always looking 
> for an opportunity to blackmail their employers into paying them extra. 
> Python programmers are a decent, law-abiding people with a strong moral 
> code who would never stoop to the sort of things that Perl coders are 
> proud of doing.

Now you got me badly worried, using both Perl and Python (and
other, unspeakable languages, but not VB I promise!) Will I
end up as a Python hacker for the mob or worse - or is there
a chance of redemption (perhaps after a few years in Guanta-
namo bay)? And should I, while it lasts, get the Perl or the
Python salary, or the mean or both combined? Got to consider
that when applying for my next job!

                             Regards, Jens
-- 
  \   Jens Thoms Toerring  ___      jt@toerring.de
   \__________________________      http://toerring.de


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

Date: Sun, 05 May 2013 17:07:41 -0400
From: Roy Smith <roy@panix.com>
Subject: Re: Why do Perl programmers make more money than Python programmers
Message-Id: <roy-8410F0.17074105052013@news.panix.com>

In article <5186af75$0$29997$c3e8da3$5496439d@news.astraweb.com>,
 Steven D'Aprano <steve+comp.lang.python@pearwood.info> wrote:
 
> Right now, I'd consider learning PHP for an extra $100 a month. Or 
> peddling my arse down at the docks for twenty cents a time, which will be 
> less embarrassing and much less painful.

Having spent the better part of a year doing one of those activities, 
I'm inclined to agree.

There *are* programming languages worse than PHP.  Have you ever tried 
britescript?


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

Date: Sun, 05 May 2013 22:09:09 +0100
From: Rainer Weikusat <rweikusat@mssgmbh.com>
Subject: Re: Why do Perl programmers make more money than Python programmers
Message-Id: <87a9o9b0cq.fsf@sapphire.mobileactivedefense.com>

jt@toerring.de (Jens Thoms Toerring) writes:
> In comp.lang.python Steven D'Aprano <steve+comp.lang.python@pearwood.info> wrote:
>> On Sun, 05 May 2013 12:11:11 -0500, Ignoramus16992 wrote:
>
>> > According to CIO.com, Python programmers make only $83,000 per year,
>> > while Perl programmers make $93,000 per year.
>> > 
>> > http://www.cio.com/slideshow/detail/97819?source=ifwartcio#slide10
>> > http://www.cio.com/slideshow/detail/97819?source=ifwartcio#slide11
>> > 
>> > I would like to know, what explains the discrepancy.
>
>> Perl is much harder to use, so the average Perl programmer burns out 
>> after a few years and takes up a less stressful career, like going 
>> undercover in the Russian mob or the Taliban. So only the most dedicated, 
>> brilliant and extreme programmers last long enough to become a Perl 
>> expert, and consequently can demand higher pay, while any idiot can learn 
>> to program Python, as I have.
>
>> Also, Perl programmers are an unprincipled, devious bunch, always looking 
>> for an opportunity to blackmail their employers into paying them extra. 
>> Python programmers are a decent, law-abiding people with a strong moral 
>> code who would never stoop to the sort of things that Perl coders are 
>> proud of doing.
>
> Now you got me badly worried, using both Perl and Python (and
> other, unspeakable languages, but not VB I promise!) Will I
> end up as a Python hacker for the mob or worse

https://en.wikipedia.org/wiki/Strange_Case_of_Dr_Jekyll_and_Mr_Hyde

[SCNR]


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

Date: Sun, 05 May 2013 14:16:17 -0700
From: Paul Rubin <no.email@nospam.invalid>
Subject: Re: Why do Perl programmers make more money than Python programmers
Message-Id: <7xehdlp1pa.fsf@ruckus.brouhaha.com>

Ignoramus16992 <ignoramus16992@NOSPAM.16992.invalid> writes:
> I would like to know, what explains the discrepancy. 

I see "New York" listed as a location for Perl but not for Python.  That
implies: 1) some general skew because of the very high cost of living in
NY (even compared to San Francisco or Silicon Valley); 2) further skew
because a good chuck of the NY programming jobs are in the financial
sector, which shovels money around with heavy farm equipment (but is
reportedly otherwise unpleasant to work in).  Wall Street has done very
well in the past few years, and some of that shows up as bonuses for the
involved parties.

I remember seeing a ridiculously high figure listed for Haskell, and
then realized the reason for it was similar to the above.  Most Haskell
programmers I know can't actually get Haskell jobs.


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

Date: Sun, 05 May 2013 14:17:35 -0700
From: Paul Rubin <no.email@nospam.invalid>
Subject: Re: Why do Perl programmers make more money than Python programmers
Message-Id: <7xa9o9p1n4.fsf@ruckus.brouhaha.com>

Paul Rubin <no.email@nospam.invalid> writes:
> I see "New York" listed as a location for Perl but not for Python.

Whaat?  It's there for Python, though in the #3 position rather than #2.
I must have flipped through the slides too fast.


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

Date: 5 May 2013 21:33:36 GMT
From: jt@toerring.de (Jens Thoms Toerring)
Subject: Re: Why do Perl programmers make more money than Python programmers
Message-Id: <auo1hgFmripU2@mid.uni-berlin.de>

In comp.lang.python Rainer Weikusat <rweikusat@mssgmbh.com> wrote:
> jt@toerring.de (Jens Thoms Toerring) writes:
> > In comp.lang.python Steven D'Aprano <steve+comp.lang.python@pearwood.info> wrote:
> >> On Sun, 05 May 2013 12:11:11 -0500, Ignoramus16992 wrote:
> >
> >> > According to CIO.com, Python programmers make only $83,000 per year,
> >> > while Perl programmers make $93,000 per year.
> >> > 
> >> > http://www.cio.com/slideshow/detail/97819?source=ifwartcio#slide10
> >> > http://www.cio.com/slideshow/detail/97819?source=ifwartcio#slide11
> >> > 
> >> > I would like to know, what explains the discrepancy.
> >
> >> Perl is much harder to use, so the average Perl programmer burns out 
> >> after a few years and takes up a less stressful career, like going 
> >> undercover in the Russian mob or the Taliban. So only the most dedicated, 
> >> brilliant and extreme programmers last long enough to become a Perl 
> >> expert, and consequently can demand higher pay, while any idiot can learn 
> >> to program Python, as I have.
> >
> >> Also, Perl programmers are an unprincipled, devious bunch, always looking 
> >> for an opportunity to blackmail their employers into paying them extra. 
> >> Python programmers are a decent, law-abiding people with a strong moral 
> >> code who would never stoop to the sort of things that Perl coders are 
> >> proud of doing.
> >
> > Now you got me badly worried, using both Perl and Python (and
> > other, unspeakable languages, but not VB I promise!) Will I
> > end up as a Python hacker for the mob or worse

> https://en.wikipedia.org/wiki/Strange_Case_of_Dr_Jekyll_and_Mr_Hyde

> [SCNR]

Well, that didn't have a happy ending:-( Should have listened to
my parents when they told me again and again "Never use Perl, just
say no!". Seems I'm doomed - what's the proper way to apply for a
job with the mob?

-- 
  \   Jens Thoms Toerring  ___      jt@toerring.de
   \__________________________      http://toerring.de


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

Date: Sun, 05 May 2013 17:35:51 -0400
From: Roy Smith <roy@panix.com>
Subject: Re: Why do Perl programmers make more money than Python programmers
Message-Id: <roy-23EA97.17355105052013@news.panix.com>

In article <auo1hgFmripU2@mid.uni-berlin.de>,
 jt@toerring.de (Jens Thoms Toerring) wrote:

> Well, that didn't have a happy ending:-( Should have listened to
> my parents when they told me again and again "Never use Perl, just
> say no!". Seems I'm doomed - what's the proper way to apply for a
> job with the mob?

I don't think you apply.  If they want you, they'll find you.


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

Date: 5 May 2013 21:43:58 GMT
From: jt@toerring.de (Jens Thoms Toerring)
Subject: Re: Why do Perl programmers make more money than Python programmers
Message-Id: <auo24uFmripU3@mid.uni-berlin.de>

In comp.lang.python Roy Smith <roy@panix.com> wrote:
> In article <auo1hgFmripU2@mid.uni-berlin.de>,
>  jt@toerring.de (Jens Thoms Toerring) wrote:

> > Well, that didn't have a happy ending:-( Should have listened to
> > my parents when they told me again and again "Never use Perl, just
> > say no!". Seems I'm doomed - what's the proper way to apply for a
> > job with the mob?

> I don't think you apply.  If they want you, they'll find you.

I see, that's what's called headhuntering, isn't it?

-- 
  \   Jens Thoms Toerring  ___      jt@toerring.de
   \__________________________      http://toerring.de


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

Date: 6 Apr 2001 21:33:47 GMT (Last modified)
From: Perl-Users-Request@ruby.oce.orst.edu (Perl-Users-Digest Admin) 
Subject: Digest Administrivia (Last modified: 6 Apr 01)
Message-Id: <null>


Administrivia:

To submit articles to comp.lang.perl.announce, send your article to
clpa@perl.com.

Back issues are available via anonymous ftp from
ftp://cil-www.oce.orst.edu/pub/perl/old-digests. 

#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 V11 Issue 3940
***************************************


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