[26341] in Perl-Users-Digest
Perl-Users Digest, Issue: 8516 Volume: 10
daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Wed Oct 12 11:06:23 2005
Date: Wed, 12 Oct 2005 08:05:07 -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, 12 Oct 2005 Volume: 10 Number: 8516
Today's topics:
a little different thread (about jobs and perl) <nobody@this.home.com>
Re: a little different thread (about jobs and perl) <matthew.garrish@sympatico.ca>
Re: a little different thread (about jobs and perl) axel@white-eagle.invalid.uk
Re: a little different thread (about jobs and perl) xhoster@gmail.com
Re: getElementsByTagName, tag does not exist (hymie!)
Re: LWP and threads: anything to look out for? <zentara@highstream.net>
Re: LWP and threads: anything to look out for? xhoster@gmail.com
Re: LWP::UserAgent post to post other than 80 <tadmc@augustmail.com>
Digest Administrivia (Last modified: 6 Apr 01) (Perl-Users-Digest Admin)
----------------------------------------------------------------------
Date: Wed, 12 Oct 2005 13:45:44 +0200
From: Krystian <nobody@this.home.com>
Subject: a little different thread (about jobs and perl)
Message-Id: <q5tpk11phcfb3pvm93olgr7fnfa4tb7ek4@4ax.com>
Hi all
I'm finishing my university of technology and i wonder what is a
position of Perl (and technologies which uses it) in industry. I can
see that most job offers are related to Java, PHP languages (of course
not only but mostly) and related technologies like J2EE and so on. I
love Perl but i've learnt it (and i'm still learning) just beceuse i
appreciate it potential connected with simplicity (and there is also
one hundred other reasons). I would like to know what is Your opinion,
knowlage and experience with 'industry reality/life'. Is there also a
lot of great jobs, maybe better salaries or something else ... please
share with Your knowledge. thanks in advance.
best
krystian
------------------------------
Date: Wed, 12 Oct 2005 08:09:06 -0400
From: "Matt Garrish" <matthew.garrish@sympatico.ca>
Subject: Re: a little different thread (about jobs and perl)
Message-Id: <y173f.4523$vD4.294635@news20.bellglobal.com>
"Krystian" <nobody@this.home.com> wrote in message
news:q5tpk11phcfb3pvm93olgr7fnfa4tb7ek4@4ax.com...
> Hi all
> I'm finishing my university of technology and i wonder what is a
> position of Perl (and technologies which uses it) in industry. I can
> see that most job offers are related to Java, PHP languages (of course
> not only but mostly) and related technologies like J2EE and so on. I
> love Perl but i've learnt it (and i'm still learning) just beceuse i
> appreciate it potential connected with simplicity (and there is also
> one hundred other reasons). I would like to know what is Your opinion,
> knowlage and experience with 'industry reality/life'. Is there also a
> lot of great jobs, maybe better salaries or something else ... please
> share with Your knowledge. thanks in advance.
>
I don't know that knowing Perl will in and of itself get you a job, but it's
an invaluable tool for your arsenal. For me, my core knowledge is markup
languages (sgml/xml/html) plus web technologies, both of which necessitate
being very adept with Perl (as most jobs in these areas will require some
level of proficiency with Perl, although again it's often not the key
factor).
Knowing Perl will also get you in the door to most jobs that require PHP, as
employers are aware that PHP (and no flame war intended) is a stripped-down
variant of Perl. What most employers are looking for, however, are people
who are able to adapt, unless you're going into a very specific software
house. They want to know you can pick up enough Java to write a program if
they need one, or throw together a PHP page on the fly if that's what they
need.
You can specialize yourself as a Perl-only onr Java-only programmer, but you
might find your options limited, especially if the technology starts to fall
out of favour and you've done nothing else.
Just my two cents...
Matt
------------------------------
Date: Wed, 12 Oct 2005 13:07:22 GMT
From: axel@white-eagle.invalid.uk
Subject: Re: a little different thread (about jobs and perl)
Message-Id: <eU73f.12605$ey6.6665@fe1.news.blueyonder.co.uk>
Krystian <nobody@this.home.com> wrote:
> I'm finishing my university of technology and i wonder what is a
> position of Perl (and technologies which uses it) in industry. I can
> see that most job offers are related to Java, PHP languages (of course
> not only but mostly) and related technologies like J2EE and so on. I
> love Perl but i've learnt it (and i'm still learning) just beceuse i
> appreciate it potential connected with simplicity (and there is also
> one hundred other reasons). I would like to know what is Your opinion,
> knowlage and experience with 'industry reality/life'. Is there also a
> lot of great jobs, maybe better salaries or something else ... please
> share with Your knowledge. thanks in advance.
It seems to me that PHP is more in demand for creating websites than Perl.
However PHP is seriously flawed as a language for doing non-webby
things, so people such as system admins will use Perl and/or shell
scripting, sed and awk. Especially as most systems now come with
Perl already installed.
But the best thing is to subscribe to a couple of job lists
and see what is being asked. Unless you are lucky, you
will probably find that the higher paying jobs will
require practical experience in the commercial world.
Axel
------------------------------
Date: 12 Oct 2005 14:18:57 GMT
From: xhoster@gmail.com
Subject: Re: a little different thread (about jobs and perl)
Message-Id: <20051012101857.224$2r@newsreader.com>
Krystian <nobody@this.home.com> wrote:
> Hi all
> I'm finishing my university of technology and i wonder what is a
> position of Perl (and technologies which uses it) in industry. I can
> see that most job offers are related to Java, PHP languages (of course
> not only but mostly) and related technologies like J2EE and so on.
When you have a program to write, and you are writing it in Perl, the first
thing you do is sit down and write the program. When you have a program to
write and are writing it in Java, the first you do is hire 10 java
programmers. 8 months later, you hire 20 more.
> I
> love Perl but i've learnt it (and i'm still learning) just beceuse i
> appreciate it potential connected with simplicity (and there is also
> one hundred other reasons). I would like to know what is Your opinion,
> knowlage and experience with 'industry reality/life'. Is there also a
> lot of great jobs, maybe better salaries or something else ... please
> share with Your knowledge. thanks in advance.
Probably most people with jobs programming in Perl are not described as
being Perl programmers. They are usually some kind of domain-expert who
happens to use Perl as one of the programmatic tools (often the main one)
for doing the job.
Xho
--
-------------------- http://NewsReader.Com/ --------------------
Usenet Newsgroup Service $9.95/Month 30GB
------------------------------
Date: Wed, 12 Oct 2005 07:26:38 -0500
From: hymie_@_lactose.homelinux.net (hymie!)
Subject: Re: getElementsByTagName, tag does not exist
Message-Id: <lI6dnXVnod9jndDeRVn-tA@comcast.com>
In our last episode, the evil Dr. Lacto had captured our hero,
"Matt Garrish" <matthew.garrish@sympatico.ca>, who said:
>"hymie!" <hymie_@_lactose.homelinux.net> wrote in message
>news:BZCdnX_8atGcR9beRVn-uA@comcast.com...
>> $out{"TEXT"} = $story->getElementsByTagName("Body_Text")->
>> item(0)-> getFirstChild->getData or die "$!";
>>
>> Everything works fine, until I get to a $story where Body_Text doesn't
>> exist. [...]
>> The script stops with no obvious
>> diagnostic output -- it appears that the "die" never happens.
>It's pretty clear from the docs that getElementsByTagName returns an array
>containing all the nodes found, so why don't you just check whether there
>are any nodes? As per the documentation:
Thanks for pointing out my mistake. My program doesn't die at the
getElementsByTagName , it apparantly fails at the ->item(0) .
>my $nodes = $story->getElementsByTagName('Body_Text');
>unless ($nodes->getLength > 0) {
> print "Sorry, no nodes!\n"
>}
All is happy now.
hymie! http://www.smart.net/~hymowitz hymie@lactose.homelinux.net
===============================================================================
My brothers and sisters all hated me, cuz I was an only child.
--'Weird Al' Yankovic
===============================================================================
------------------------------
Date: Wed, 12 Oct 2005 12:33:14 GMT
From: zentara <zentara@highstream.net>
Subject: Re: LWP and threads: anything to look out for?
Message-Id: <2ivpk1157jen7tl4hm705s9rdkm9fc0u2f@4ax.com>
On 12 Oct 2005 06:53:26 GMT, John Bokma <john@castleamber.com> wrote:
>I want to move from Parallell UserAgent to using threads. Are there things
>I should be aware of, or is this a piece of cake?
>
>(Another option might be forking since IIRC Windows does this using
>threads).
The only good reason to use threads, is if you want an easy way to share
realtime data between threads. Things such as progress data for a
progress indicator, or when you want to regex the downloaded results,
and do something in your main program, based on the regex.
Otherwise it is probably more efficient and easier to just fork. There
is Parallel::ForkManager.
But threads are pretty easy once you get the hang of the little details.
One thing to watch out for, is if you run any "exec" from any thread, it
will kill and replace all running threads with the exec'd code.
--
I'm not really a human, but I play one on earth.
http://zentara.net/japh.html
------------------------------
Date: 12 Oct 2005 14:38:32 GMT
From: xhoster@gmail.com
Subject: Re: LWP and threads: anything to look out for?
Message-Id: <20051012103832.443$sC@newsreader.com>
John Bokma <john@castleamber.com> wrote:
> I want to move from Parallell UserAgent to using threads.
Why?
> Are there
> things I should be aware of, or is this a piece of cake?
I don't think you will have a problem specific to LWP as long you don't try
to share/clone LWP objects across threads. Of course, threaded programming
in general is more difficult than non-threaded, so I wouldn't say it will
be a piece of cake, unless you are already experienced in threaded
programming.
> (Another option might be forking since IIRC Windows does this using
> threads).
Maybe forking is better. I prefer it over threading in most circumstances.
(It seems to be a theme this week). But it is hard to tell without knowing
more about what you are trying to do.
Xho
--
-------------------- http://NewsReader.Com/ --------------------
Usenet Newsgroup Service $9.95/Month 30GB
------------------------------
Date: Wed, 12 Oct 2005 07:20:23 -0500
From: Tad McClellan <tadmc@augustmail.com>
Subject: Re: LWP::UserAgent post to post other than 80
Message-Id: <slrndkpvs7.4o4.tadmc@magna.augustmail.com>
Zapanaz <> wrote:
> I know the URL is valid, I can hit it in a web browser, when the code
> runs though it hangs.
>
> There are a lot of things that could be going wrong,
This may help to uncover some of those things:
Web Scraping Proxy
http://www.research.att.com/~hpk/wsp/
--
Tad McClellan SGML consulting
tadmc@augustmail.com Perl programming
Fort Worth, Texas
------------------------------
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:
#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: due to the current flood of worm email banging on ruby, the smtp
server on ruby has been shut off until further notice.
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 V10 Issue 8516
***************************************