View previous topic :: View next topic
|
Author |
Message |
Pandora-Box
Global Moderator
Joined: 07 Sep 2006 Posts: 1592 Location: Andromeda Galaxy
|
|
|
|
Can someone suggest me some books in Perl for a newbie?
Thanks |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10886 Location: italy
|
|
Back to top |
|
|
Ed Goodman
Active Member
Joined: 08 Jun 2011 Posts: 556 Location: USA
|
|
|
|
Do you want a book? Or an online resource?
Are you actually wanting to learn how to leverage the language and write good, new code? Or have you have a library full of scripts dumped on you?
As fa as I'm concerned, Perl was written by a sadist! Yes, it works great, but any language where:
h*0?>)($%****>>%$#@!@
Is a valid line of code, and not a mistake my modem made, is a sadistic language! |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8700 Location: Dubuque, Iowa, USA
|
|
|
|
I have to agree with Ed. Perl is a good 4th or 5th computer language to learn, but heaven help the poor person learning it as their first computer language! I use Perl quite a bit, even though it is not as fast to code up as SAS, but I do NOT try to get fancy with Perl! For example, the default Perl variable name rules are (basically):
- variable names can be up to 255 characters
- variables are typed based on the first character -- $ for scalar, @ for array, % for hashes
- variables are defined upon first reference
- variable names are case sensitive (these two rules mean heaven help you if you're a bad typist)
- Perl automatically converts variables between numbers and strings as needed
I always make sure my Perl code has
which does help with some of the oddities that Perl can cause. |
|
Back to top |
|
|
Pandora-Box
Global Moderator
Joined: 07 Sep 2006 Posts: 1592 Location: Andromeda Galaxy
|
|
|
|
Enrico apologies
I did google and found that site myself
Since I would be away from system I was looking for books
I am looking for a job change so why learning new things to me in hope to get a job
Frankly at this state of mind I dont know what is better |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hi Pandora,
At the risk of overstepping bounds, i suggest you search for positions that need what you are already good at.
Learning new things is always to one's advantage. I would not consider something i was just learning to influence an interview.
Quote: |
I dont know what is better |
Better than what?
Good luck!
d |
|
Back to top |
|
|
Pandora-Box
Global Moderator
Joined: 07 Sep 2006 Posts: 1592 Location: Andromeda Galaxy
|
|
|
|
To be frank I am good at Mainframes
Though oppurtunities are slim
So why I was trying out things outside of my skillset
Am not so experinced as experts but not regarded as a candidate to code that is the sad part |
|
Back to top |
|
|
Nic Clouston
Global Moderator
Joined: 10 May 2007 Posts: 2454 Location: Hampshire, UK
|
|
|
|
I usualy install Perl on my usable PCs. Same with Rexx. But I use Rexx more often than Perl for writing stuff to run under windoze. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10886 Location: italy
|
|
|
|
Quote: |
But I use Rexx more often than Perl for writing stuff to run under windoze. |
Open Object Rexx or Regina Rexx ? |
|
Back to top |
|
|
Pandora-Box
Global Moderator
Joined: 07 Sep 2006 Posts: 1592 Location: Andromeda Galaxy
|
|
|
|
Thanks all for your valuable inputs |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6248 Location: Mumbai, India
|
|
|
|
enrico-sorichetti wrote: |
Open Object Rexx or Regina Rexx ? |
I've used Regina more than OO. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10886 Location: italy
|
|
|
|
I would suggest to switch to ooRexx |
|
Back to top |
|
|
Nic Clouston
Global Moderator
Joined: 10 May 2007 Posts: 2454 Location: Hampshire, UK
|
|
|
|
It depends on which interpreter is to the fore - i.e. I do not know as I basically use vanilla Rexx. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10886 Location: italy
|
|
|
|
no need with ooRexx to use the object garbage
You can write everything in classical rexx
with the advantage of being able to use if necessary the oorexx constructs
some of them are pretty powerful and not even too much OO |
|
Back to top |
|
|
|