learning...

2002-10-23 Thread Jean-Marie de Crozals
Hi...

I'm really new on perl and wanna know if there is a good website with 
some tutoials and explanations about perl...

I just wanna have flexible rename for many files in my shell...(;

i'm using macosx10.2.1

thanks...

-- 
Jean-Marie de Crozals

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Learning Perl

2003-04-01 Thread Ohad Ohad
hey,

I guess this question came up several time already so a link will be fine.

What is the best way to learn Perl for someone with very basic programming 
skills.

10x

Ohad.

_
Protect your PC - get McAfee.com VirusScan Online 
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: learning...

2002-10-23 Thread Pravesh Biyani
http://www.cs.cf.ac.uk/Dave/PERL/
check this out!

for more webpages.. go to google.com

cheers

prävesh

- Original Message -
From: "Jean-Marie de Crozals" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, October 23, 2002 4:59 PM
Subject: learning...


> Hi...
>
> I'm really new on perl and wanna know if there is a good website with
> some tutoials and explanations about perl...
>
> I just wanna have flexible rename for many files in my shell...(;
>
> i'm using macosx10.2.1
>
> thanks...
>
> --
> Jean-Marie de Crozals
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: learning...

2002-10-23 Thread Beau E. Cox
Good morning (afternoon?) Jean-Marie,

A lot of us started with www.learn.perl.org .

Once you start baby-perl (not an insult, we all went
thru this stage), this list is an excellent resource.

Of course, Programming Perl, 3rd edition, by Wall, et.al.,
O'Reily (2000) is THE perl book to have (IMHO).

Aloha => Beau.

-Original Message-
From: Jean-Marie de Crozals [mailto:mail@;jeanmariedc.de]
Sent: Wednesday, October 23, 2002 4:59 AM
To: [EMAIL PROTECTED]
Subject: learning...


Hi...

I'm really new on perl and wanna know if there is a good website with 
some tutoials and explanations about perl...

I just wanna have flexible rename for many files in my shell...(;

i'm using macosx10.2.1

thanks...

-- 
Jean-Marie de Crozals

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: learning...

2002-10-23 Thread Geoffrey F. Green
On 10/23/02 11:17 AM, "Beau E. Cox" <[EMAIL PROTECTED]> wrote:

> Good morning (afternoon?) Jean-Marie,
> 
> A lot of us started with www.learn.perl.org .
> 
> Once you start baby-perl (not an insult, we all went
> thru this stage), this list is an excellent resource.
> 
> Of course, Programming Perl, 3rd edition, by Wall, et.al.,
> O'Reily (2000) is THE perl book to have (IMHO).

And don't forget "Learning Perl,"  <http://www.oreilly.com/catalog/lperl3/>,
which made me into the Perl coder I am today.  (Actually, that's not much of
a compliment, but that's my fault, not the book's!)

 - geoff 


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: learning...

2002-10-24 Thread dan
there's also www.cgi101.com .. it's part of a book really, but the first 6
chapters, which are extracts from the book, are really handy, and that's
where i started to learn perl, and made me the programmer i am today.

dan

"Jean-Marie De Crozals" <[EMAIL PROTECTED]> wrote in message
news:mail-675C0F.16591523102002@;nntp.perl.org...
> Hi...
>
> I'm really new on perl and wanna know if there is a good website with
> some tutoials and explanations about perl...
>
> I just wanna have flexible rename for many files in my shell...(;
>
> i'm using macosx10.2.1
>
> thanks...
>
> --
> Jean-Marie de Crozals



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




learning perl

2002-02-20 Thread Dave

   I've installed ActivePerl 5.61 on Win2000, the PATH and associations work
just fine, but the scripts don't seem to be doing anything.  Is there
anything else I need?  My ISP won't let me play around with scripts on their
servers, so I wanted to be able to play with them on my own system.

Thanks.
Dave



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




learning perl

2001-10-25 Thread Daniela Montiel Aguirre

hi!!
i'm begginer in perl.
i'm begining to learning this language ...
could you tell me any link where i can learn this language??  with any manual ...
where can i obtain the software to install it in my machine w95 or w2000??

could you tell me the general structure of this language??
where can i use this language?
why  does this language was born?
how can i use it with unix?
what are advantages using this language??

thanks Daniela.

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Learning Packages:

2001-11-13 Thread AMORE,JUAN (HP-Roseville,ex1)

Learning Packages:
Do's anyone know how to create a package in a filename called
StringPrint.pm.
I need to include in the Perl module a subroutine, called print_str, that
prints 
 a string passed   to the subroutine defined by the module.

JA

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Learning Perl

2007-10-07 Thread Kaushal Shriyan
Hi

I do not have any experience in programming at all. How do i start learning
Perl language. Can some one here point me to the right direction to learn
Perl Language

Thanks in Advance

Thanks and Regards

Kaushal


Learning Modules

2008-03-12 Thread Richard Lee

Hello there,

I would like someone's experince on learning modules.
I have been avoiding learning modules for couple reasons
1)to learn and try to reinvent some of the wheels to learn the tricks
2)and I just don't really understand OO modules.

It is very difficult for me to understand modules that have OO 
interfaces and have been trying to read and understand OO more but

it's been a big struggles.

so, question is, is there a OO modules that are on CPAN that are easier 
to read and use than others?
I learn better from examples and actual usage of the modules than 
reading books(of course , I will continue to have to read as well, that goes

w/out saying).

Any help/comments/constructive criticism would be appreciated.

thanks!!!

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/




Learning Perl

2006-04-10 Thread joseph tacuyan
Hi List,

I'm learning learning perl thru a book, as part of my exercises i tried to run 
this code:


#!/bin/perl 

use strict;
use diagnostics;

print "\t Enter Month of a year \n";

my $month = ();

my %days_month = (
January => 31,
February => 28,   
March=> 31
 );


print "\t Number of Days in month of $month is $days_month{$month} \n ";

i got an error of uninitialized ...blah...blah ..blah...

 But if i declare the value of $month in hard code it runs without glitch but i 
like to have an input from keyboard. plz enlighten.


/joseph 
perl convert.


-
Blab-away for as little as 1¢/min. Make  PC-to-Phone Calls using Yahoo! 
Messenger with Voice.

Distance learning

2005-09-14 Thread Brent Clark

Hi

Here in South Africa we seem to be in short supply of institutes that cater for 
distance perl learning.

Would anyone on this list know of any institutes.

I know I can just pick up a book and learn perl (Pretty much done that).

But I would like to have some type of accreditation to put on my CV.

Any tips or advice would be most appreciated.

Kind Regards
Brent Clark

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>




Learning perl

2012-03-05 Thread lina
Hi,

Which books are the best perl books you have ever read?

How did you start learning perl?

Is the books wrote before 2006 a bit older, are there much changes in
the last 10 years for perl?

I am keen to learning it, but so clumsy,

Thanks with best regards,

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/




Learning CPAN

2012-10-04 Thread Danny Gratzer
Hello,
So I have been using perl for about 9 months and I understand the syntax
fairly well. However I feel like I'm missing most of Perl with CPAN, sure I
know the basic modules but is there any mailing list or website that
regularly features useful modules?


Re: Learning Perl

2003-04-02 Thread Rob Anderson
Buy "Learning Perl" by O'Reilly, it's great.

HTH,

Rob


"Ohad Ohad" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> hey,
>
> I guess this question came up several time already so a link will be fine.
>
> What is the best way to learn Perl for someone with very basic programming
> skills.
>
> 10x
>
> Ohad.
>
> _
> Protect your PC - get McAfee.com VirusScan Online
> http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
>



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Learning Perl

2003-04-02 Thread Ramón Chávez
Try purchasing a Book. O'Reilly would be good.

After that you can go to :   http://cgi.resourceindex.com
and download some free scripts and try them.

You may try some tutorials on the web, but it's very important (at least in
my experience) that you first begin with the hard introduction. After that
you can explore the sweetness of this languaje.

-rm-



- Original Message -
From: Ohad Ohad <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, April 02, 2003 1:31 AM
Subject: Learning Perl


> hey,
>
> I guess this question came up several time already so a link will be fine.
>
> What is the best way to learn Perl for someone with very basic programming
> skills.
>
> 10x
>
> Ohad.
>
> _
> Protect your PC - get McAfee.com VirusScan Online
> http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
>
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Learning Perl

2003-04-02 Thread Dylan Boudreau
I would suggest the Perl Black Book by Steven Holzner

-Original Message-
From: Ramón Chávez [mailto:[EMAIL PROTECTED] 
Sent: April 2, 2003 10:15 AM
To: [EMAIL PROTECTED]
Subject: RE: Learning Perl


Try purchasing a Book. O'Reilly would be good.

After that you can go to :   http://cgi.resourceindex.com
and download some free scripts and try them.

You may try some tutorials on the web, but it's very important (at least
in my experience) that you first begin with the hard introduction. After
that you can explore the sweetness of this languaje.

-rm-



- Original Message -
From: Ohad Ohad <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, April 02, 2003 1:31 AM
Subject: Learning Perl


> hey,
>
> I guess this question came up several time already so a link will be 
> fine.
>
> What is the best way to learn Perl for someone with very basic 
> programming skills.
>
> 10x
>
> Ohad.
>
> _
> Protect your PC - get McAfee.com VirusScan Online 
> http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
>
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Learning Perl

2003-04-02 Thread Aim
> Hi,

My advice is get Learning Perl and Programming Perl (and possibly Perl
Cookbook). From my experience Learning
Perl on its own is not enough. What you could do is buy the Perl CD
Bookshelf- where you get the above 3 plus another
3 I think on CD-rom. My mate purchased one for a mere GBP 30.00 (used).

Regards



>
> > hey,
> >
> > I guess this question came up several time already so a link will be
> > fine.
> >
> > What is the best way to learn Perl for someone with very basic
> > programming skills.
> >
> > 10x
> >
> > Ohad.
> >
> > _
> > Protect your PC - get McAfee.com VirusScan Online
> > http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
> >
> >
> > --
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Learning Perl

2003-04-02 Thread Andres L. Figari
try linuxguruz.org sometime ...

they have links to some tutorials and such, not just perl.

- Original Message -
From: "Ohad Ohad" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, April 01, 2003 11:31 PM
Subject: Learning Perl


> hey,
>
> I guess this question came up several time already so a link will be fine.
>
> What is the best way to learn Perl for someone with very basic programming
> skills.
>
> 10x
>
> Ohad.
>
> _
> Protect your PC - get McAfee.com VirusScan Online
> http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
>
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Perl Learning Paths

2002-12-23 Thread Paul Kraus
I have read learning Perl and have begun programming Perl. The later
seems to move kind of slow and goes to more depth then I need right now.
More of a C. Science book with C. Science history mixed in. Is there a
better way to go about this. I like programming Perl but would enjoy it
more and get more from it if I already had a strong understanding of
some of Perl more advanced topics. OO, Ref, ect. I blew through the
learning Perl book in about 1 day. So it was to basic. Any suggestions?

Paul Kraus
Network Administrator
PEL Supply Company
216.267.5775 Voice
216-267-6176 Fax
www.pelsupply.com


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


"Learning Perl" Question

2002-02-13 Thread Hanson, Robert

[Sorry if this isn't the place to post this, but I thought it might be
interesting.  Flaming will be accepted]

I'm teaching a Perl class from the Learning Perl book, and noticed an
inconsistency with the way certain constructs work.

In chapter 2 it mentions a rule in Perl: "any time that you need a variable
in Perl, you can use an assignment instead.  First, Perl does the
assignment.  Then it uses the variable in whatever way you requested".

Ok, that makes sense.  It allows you to do things like this:

chomp( $foo =  );
$x = $y = 10;

Then in chapter 5 it discusses the each function, and why it works in a
while loop.  It says that (referring to the boolean value) "Now, when Perl
evaluates the each %hash there are no more key-value pairs available.  So
each has to return an empty list.  The empty list is assigned to ($key,
$value), so $key gets undef, and $value also gets undef.  But that hardly
matters, because the whole thing is being evaluated in the conditional
expression of the while loop.  The value of a list assignment is a scalar
context is the number of elements in the **source list** -- in this case,
that's 0".

So this adds to the first rule (sort of).  Basically in scalar context the
function takes the variable as it's argument, and in list context it takes
the count of items in the source list.

Ok, that works for me so far, but then why would these work?

$x = () = 10; # $x is 1
$x = () = (10, 20); # $x is 2

>From this it sounds like the first rule does not exactly work as stated.  It
seems that the real rule is that the "=" operator returns a value just like
any other Perl operator.  It seems to me that given "x = y" that the "="
operator returns the value from the right side of the operator (in the given
context of x).

So "x = y = z" means that "y = z" returns the value of z, and then "x = "
stores that value. ...Or at least that is how I am conceptualizing it.

And now the real question.  Why won't this work?

($x) = () = 10;

Is there a need for an extra rule to cover this?  Or is there a single rule
that covers the syntax from all of the above examples?

Thanks.

Rob


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: learning perl

2002-02-20 Thread Wagner-David

Need more info. What are you trying to do that leads you to say they are not 
doing anything? Especially since you state the PATH and associations work fine.

Wags ;)

-Original Message-
From: Dave [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 20, 2002 14:50
To: [EMAIL PROTECTED]
Subject: learning perl


   I've installed ActivePerl 5.61 on Win2000, the PATH and associations work
just fine, but the scripts don't seem to be doing anything.  Is there
anything else I need?  My ISP won't let me play around with scripts on their
servers, so I wanted to be able to play with them on my own system.

Thanks.
Dave



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: learning perl

2002-02-20 Thread Aaron Shurts

Post some sample code.  Let's see what you are trying to do.

-_-Aaron

-Original Message-
From: Dave [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 20, 2002 2:50 PM
To: [EMAIL PROTECTED]
Subject: learning perl


   I've installed ActivePerl 5.61 on Win2000, the PATH and associations
work
just fine, but the scripts don't seem to be doing anything.  Is there
anything else I need?  My ISP won't let me play around with scripts on
their
servers, so I wanted to be able to play with them on my own system.

Thanks.
Dave



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: learning perl

2002-02-20 Thread Arul, Rex (NEA-IMAP)

Windows 2000 Professional OS does not come with IIS 5.0 (Internet 
Information Services ) services installed by default. Check if you have 
IIS 5.0 on your system. ActivePerl, by default installs and configures 
the PerlScript for ASP (Active Server Pages) as well as necessary 
registry entries for running CGI applications.

Please bookmark and refer to these articles:

http://support.microsoft.com/default.aspx?scid=kb;en-us;Q266115

and

http://support.microsoft.com/default.aspx?scid=kb;en-us;Q274772

and

http://support.microsoft.com/default.aspx?scid=kb;en-us;Q245225


Cheers,
Rex

Dave wrote:

>   I've installed ActivePerl 5.61 on Win2000, the PATH and associations work
>just fine, but the scripts don't seem to be doing anything.  Is there
>anything else I need?  My ISP won't let me play around with scripts on their
>servers, so I wanted to be able to play with them on my own system.
>
>Thanks.
>Dave
>
>
>



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Learning Perl

2002-03-25 Thread Alfred Vahau

Hi Rune,

Try Robert Pepper's win32 perl tutorial. You will need ActivePerl from
ActiveState.

http://www.netcat.co.uk/Rob/perl/win32perltut.html

Alfred Vahau
Project Breeze
SNPS

---

Hi

I'm trying to learn perl. Are there any good resources on the net where
I can begin??
What software do I need? I have downloaded an evaluation version of
PerlBuilder: Is this any good?
Thanks for any help...


Rune


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: learning perl

2001-10-25 Thread Tim Musson

Hey Daniela,

My MUA believes you used (X-Mailer not set)
to write the following on Thursday, October 25, 2001 at 10:15:32 AM.

DMA> where can i obtain the software to install it
DMA> in my machine w95 or w2000??

www.activestate.com

It comes with Doc's (perldoc, and c:\perl\html\index.html)

DMA> could you tell me the general structure of this language??
DMA> where can i use this language?

Just about any OS

DMA> why  does this language was born?

Text manipulation, but I can't think of anything it does not do now...

DMA> how can i use it with unix?

Unix was the first OS it ran under.

DMA> what are advantages using this language??

Easy to get started
Runs everywhere (and the code is fairly portable)
Perl is robust enough to do just about anything you want it to.

DMA> thanks Daniela.




-- 
[EMAIL PROTECTED]
Using The Bat! (http://www.ritlabs.com/the_bat/) eMail v1.53d
Windows NT 5.0.2195 (Service Pack 1)
May I please be excused? My Brain is full. 


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: Learning Packages:

2001-11-14 Thread Bob Showalter

> -Original Message-
> From: AMORE,JUAN (HP-Roseville,ex1) [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, November 13, 2001 11:21 PM
> To: Beginners@Perl. Org (E-mail)
> Subject: Learning Packages:
> 
> 
> Learning Packages:
> Do's anyone know how to create a package in a filename called
> StringPrint.pm.
> I need to include in the Perl module a subroutine, called 
> print_str, that
> prints 
>  a string passed   to the subroutine defined by the module.

That smells like homework, so here's some homework for you:

Read perldoc perlmod. Actually read the whole thing, about 10
pages. Your answer is right in there. Gives you a great skeleton 
for a module.

Good luck!

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




learning perl scripting

2009-12-06 Thread Agnello George
Hi

i am basically a  a system administrator, and i have just joined this new
company where my entire team are a group pf developers + system admins and i
am the only system admin with out programming knowledge . i know a little of
shell scripting from my previous company and i thought shell scripting was
king ... but having joined this company every one is using a lot of persl to
do a lot of log parsing ... DB interaction and lot of cool hashes related
stuff ... but last one year i am trying to learn this language but dont seem
to get a hold of it . sometimes i fell shell-scripting a is a lot more
better and easier .. but my aim is to learn perl scripting ... i mean how
does one get a real hold of this language ... !!

-- 
Regards
Agnello D'souza


Re: Learning Perl

2007-10-07 Thread Dyana Wu

On 07 Oct 2007, at 8:27 PM, Kaushal Shriyan wrote:


Hi

I do not have any experience in programming at all. How do i start  
learning
Perl language. Can some one here point me to the right direction to  
learn

Perl Language


http://learn.perl.org

HTH.

dwu

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/




Re: Learning Perl

2007-10-07 Thread Jeff Pang
Your message's subject has expressed the correct way.Buy the book
"Learning Perl" for beginning.

2007/10/7, Kaushal Shriyan <[EMAIL PROTECTED]>:
> Hi
>
> I do not have any experience in programming at all. How do i start learning
> Perl language. Can some one here point me to the right direction to learn
> Perl Language
>
> Thanks in Advance
>
> Thanks and Regards
>
> Kaushal
>

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/




Re: Learning Perl

2007-10-08 Thread [EMAIL PROTECTED]
On Oct 7, 7:39 am, [EMAIL PROTECTED] (Dyana Wu) wrote:
> On 07 Oct 2007, at 8:27 PM, Kaushal Shriyan wrote:
>
> > Hi
>
> > I do not have any experience in programming at all. How do i start
> > learning
> > Perl language. Can some one here point me to the right direction to
> > learn
> > Perl Language
>
> http://learn.perl.org
>
> HTH.
>
> dwu

Or you can buy Beginning Perl 2nd Edition from Apress. I think it's a
lil better than the Oreilly book myself.


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/




Re: Learning Perl

2007-10-08 Thread Petra Vide Ogrin
Beginning Perl is my choice as well, very basic, just right for a person 
of humanist background like myself. It' s available online


http://www.perl.org/books/beginning-perl/

hf
petra


[EMAIL PROTECTED] pravi:

On Oct 7, 7:39 am, [EMAIL PROTECTED] (Dyana Wu) wrote:
  

On 07 Oct 2007, at 8:27 PM, Kaushal Shriyan wrote:



Hi
  
I do not have any experience in programming at all. How do i start

learning
Perl language. Can some one here point me to the right direction to
learn
Perl Language
  

http://learn.perl.org

HTH.

dwu



Or you can buy Beginning Perl 2nd Edition from Apress. I think it's a
lil better than the Oreilly book myself.


  


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


RE: Learning Perl

2007-10-09 Thread Purohit, Bhargav

 
Instead to of starting directly with Camel Book(Learning Perl) 
 I would suggest to see the perldoc first and then move to book
 as perldoc gives more understanding in simple way 
 (learning perl is nothing but just the rearrnaged form of perldoc)

How to access perldoc

Type perldoc from your linux/unix prompt OR
For windows go to start programme and section of perl for
perldocumentation.

In the same time I welcome you to ever growing community of perl and
have a very nice experience!


-Original Message-
From: Kaushal Shriyan [mailto:[EMAIL PROTECTED] 
Sent: Sunday, October 07, 2007 5:57 PM
To: beginners@perl.org
Subject: Learning Perl

Hi

I do not have any experience in programming at all. How do i start
learning Perl language. Can some one here point me to the right
direction to learn Perl Language

Thanks in Advance

Thanks and Regards

Kaushal
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
- - - -

This message is intended only for the personal and confidential use of the 
designated recipient(s) named above.  If you are not the intended recipient of 
this message you are hereby notified that any review, dissemination, 
distribution or copying of this message is strictly prohibited.  This 
communication is for information purposes only and should not be regarded as an 
offer to sell or as a solicitation of an offer to buy any financial product, an 
official confirmation of any transaction, or as an official statement of Lehman 
Brothers.  Email transmission cannot be guaranteed to be secure or error-free.  
Therefore, we do not represent that this information is complete or accurate 
and it should not be relied upon as such.  All information is subject to change 
without notice.




--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/




Re: Learning Perl

2007-10-09 Thread Paul Lalli
On Oct 9, 7:28 am, [EMAIL PROTECTED] (Bhargav Purohit) wrote:
> Instead to of starting directly with Camel Book(Learning Perl)

The Camel Book is Programming Perl.  It is a reference.  Effectively a
paper-back version of the perldoc documentation you mentioned.

Learning Perl is known as the Llama Book.  It is a tutorial, and is
most definitely a good way to learn the language.

The two books are vastly dissimilar.  Camel is a reference.  Llama is
a tutorial.

Paul Lalli


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/




Re: Learning Perl

2007-10-09 Thread kilaru rajeev
I think "Learning perl" is a better choice as per my knowledge. You can go
for the remaining after this.

Thanks,
Rajeev Kilaru


On 10/9/07, Paul Lalli <[EMAIL PROTECTED]> wrote:
>
> On Oct 9, 7:28 am, [EMAIL PROTECTED] (Bhargav Purohit) wrote:
> > Instead to of starting directly with Camel Book(Learning Perl)
>
> The Camel Book is Programming Perl.  It is a reference.  Effectively a
> paper-back version of the perldoc documentation you mentioned.
>
> Learning Perl is known as the Llama Book.  It is a tutorial, and is
> most definitely a good way to learn the language.
>
> The two books are vastly dissimilar.  Camel is a reference.  Llama is
> a tutorial.
>
> Paul Lalli
>
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> http://learn.perl.org/
>
>
>


RE: Learning Perl

2007-10-09 Thread Bob McConnell
> -Original Message-
> From: kilaru rajeev [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, October 09, 2007 8:50 AM
> To: Paul Lalli
> Cc: beginners@perl.org
> Subject: Re: Learning Perl
> 
> I think "Learning perl" is a better choice as per my 
> knowledge. You can go
> for the remaining after this.
> 
> Thanks,
> Rajeev Kilaru

My experience was that "Learning Perl" was the introduction that
prepared me to tackle "Programming Perl". That combination gave me a
very good general understanding of the language and how to apply it.
After that, there are a number of other factors that had to be taken
into account before selecting the next book(s).

Bob McConnell

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/




Re: Learning Perl

2007-10-09 Thread Paul Lalli
On Oct 9, 9:17 am, [EMAIL PROTECTED] (Bob McConnell) wrote:
> My experience was that "Learning Perl" was the introduction that
> prepared me to tackle "Programming Perl". That combination gave me a
> very good general understanding of the language and how to apply it.
> After that, there are a number of other factors that had to be taken
> into account before selecting the next book(s).

FWIW, there are now two direct sequels to the Llama, that continue the
tutorial format.  They are Intermediate Perl, and Mastering Perl.
They are meant to be read front to back and pick up immediately after
the Llama.

The Camel is still a reference, and is better thought of as a
dictionary or encyclopedia than as a learning book, I think.

Paul Lalli


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/




Re: Learning Perl

2007-10-09 Thread Francisco Valladolid
Hi.

On 10/9/07, Paul Lalli <[EMAIL PROTECTED]> wrote:
>
> On Oct 9, 9:17 am, [EMAIL PROTECTED] (Bob McConnell) wrote:
> > My experience was that "Learning Perl" was the introduction that
> > prepared me to tackle "Programming Perl". That combination gave me a
> > very good general understanding of the language and how to apply it.
> > After that, there are a number of other factors that had to be taken
> > into account before selecting the next book(s).
>
> FWIW, there are now two direct sequels to the Llama, that continue the
> tutorial format.  They are Intermediate Perl, and Mastering Perl.
> They are meant to be read front to back and pick up immediately after
> the Llama.
>
> The Camel is still a reference, and is better thought of as a
> dictionary or encyclopedia than as a learning book, I think.
>
> Paul Lalli


I  have used three books in my learning process.

- Learning Perl 2ed. (old version - Llama Book)
- Beginning Perl  1ed. (Simon Cozens)
- Elements of programming with Perl - (Manning Pub.)

The last book is a mere beginner book  and it's useful.

Regards.

--
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> http://learn.perl.org/
>
>
>


-- 
Francisco Valladolid H.
-- http://bsdguy.net - Perl, [Open-Net] BSD fan. --


Re: Learning Perl

2007-10-10 Thread [EMAIL PROTECTED]
On Oct 9, 11:37 am, [EMAIL PROTECTED] (Francisco Valladolid) wrote:
> Hi.
>
> On 10/9/07, Paul Lalli <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> > On Oct 9, 9:17 am, [EMAIL PROTECTED] (Bob McConnell) wrote:
> > > My experience was that "Learning Perl" was the introduction that
> > > prepared me to tackle "Programming Perl". That combination gave me a
> > > very good general understanding of the language and how to apply it.
> > > After that, there are a number of other factors that had to be taken
> > > into account before selecting the next book(s).
>
> > FWIW, there are now two direct sequels to the Llama, that continue the
> > tutorial format.  They are Intermediate Perl, and Mastering Perl.
> > They are meant to be read front to back and pick up immediately after
> > the Llama.
>
> > The Camel is still a reference, and is better thought of as a
> > dictionary or encyclopedia than as a learning book, I think.
>
> > Paul Lalli
>
> I  have used three books in my learning process.
>
> - Learning Perl 2ed. (old version - Llama Book)
> - Beginning Perl  1ed. (Simon Cozens)
> - Elements of programming with Perl - (Manning Pub.)
>
> The last book is a mere beginner book  and it's useful.
>
> Regards.
>
> --
>
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >http://learn.perl.org/
>
> --
> Francisco Valladolid H.
> --http://bsdguy.net- Perl, [Open-Net] BSD fan. --

Another book that I've been using recently is Perl by Example 3rd
Edition. This one was recommended to me by a Perl instructor. Its good
and I almost compare it to the Apress book, Beginning Perl, but I use
it mainly for reference.


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/




Re: Learning Perl

2007-10-10 Thread Jeff Pang
9 Oct 2007 17:59:42 -0700, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:

> Another book that I've been using recently is Perl by Example 3rd
> Edition

Perl by Example? do you mean the "perl cookbook"?.

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/




Re: Learning Perl

2007-10-11 Thread Paul Lalli
On Oct 11, 2:30 am, [EMAIL PROTECTED] (Jeff Pang) wrote:
> 9 Oct 2007 17:59:42 -0700, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
>
> > Another book that I've been using recently is Perl by Example 3rd
> > Edition
>
> Perl by Example? do you mean the "perl cookbook"?.

Uh.  Call it a hunch, but I'm guessing when he says "Perl by Example",
he means "Perl by Example".

http://www.amazon.com/Perl-Example-3rd-Ellie-Quigley/dp/0130282510/ref=pd_bbs_2/002-7025064-2027215?ie=UTF8&s=books&qid=1192107608&sr=8-2

Paul Lalli


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/




learning WWW::Mechanize

2007-11-12 Thread newBee
Hi after going over the FAQ and the examples I decided to write a
small script to understand the WWW::Mechanize module. Since Google has
one field and two buttons I thought this would be a straight forward
one. So I wrote the fallowing script. At the end of the script I
thought the script will fill up the Google search text box and give me
the search results but it didn't work. It will be a great help if
someone could take a look at it...

#!/usr/bin/perl

use WWW::Mechanize;

$queryString = 'HelloWorld';
$url = 'http://www.google.com/';
my $mechObject = WWW::Mechanize->new( autocheck => 1 );
$mechObject -> get($url);
print $mechObject -> content;

$mechObject->form_number(1);
$mechObject->field("q", $queryString);
$mechObject->click("btnG");

thanks inadvance,


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/




Re: Learning Modules

2008-03-12 Thread yitzle
I've been avoiding modules somewhat, too.
However, you don't really need to be that familiar with OO to learn to
use the modules.
Are you trying to read the module's code to learn about them? Most
people just use the documentation on CPAN.

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/




Re: Learning Modules

2008-03-12 Thread Richard Lee

yitzle wrote:

I've been avoiding modules somewhat, too.
However, you don't really need to be that familiar with OO to learn to
use the modules.
Are you trying to read the module's code to learn about them? Most
people just use the documentation on CPAN.
  
Well, the one of the reason that I have been avoding using the modules 
was that I wanted to understand what the hell I am using.


And I read somewhere that reading what others have wrote is among the 
best way to learn and wanted to see if I can learn the OO and others

by trying to read other people's modules.
But there doesn't seem to be simple OO modules that I can read at this 
point(not sure if OO modules are good reading tools for beginner perl 
module)


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/




Re: Learning Modules

2008-03-12 Thread R (Chandra) Chandrasekhar

Richard Lee wrote:

Hello there,

I would like someone's experince on learning modules.
I have been avoiding learning modules for couple reasons
1)to learn and try to reinvent some of the wheels to learn the tricks
2)and I just don't really understand OO modules.

It is very difficult for me to understand modules that have OO 
interfaces and have been trying to read and understand OO more but

it's been a big struggles.

so, question is, is there a OO modules that are on CPAN that are easier 
to read and use than others?
I learn better from examples and actual usage of the modules than 
reading books(of course , I will continue to have to read as well, that 
goes

w/out saying).

Any help/comments/constructive criticism would be appreciated.

thanks!!!



Take a look at this article by Sean M. Burke:

A USER'S VIEW OF OBJECT-ORIENTED MODULES - The Perl Journal, Spring 2000
http://www.foo.be/docs/tpj/issues/vol5_1/tpj0501-0002.html

It might help.

Chandra

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/




Re: Learning Modules

2008-03-12 Thread yitzle
On Wed, Mar 12, 2008 at 11:41 PM, Richard Lee <[EMAIL PROTECTED]> wrote:
>  Well, the one of the reason that I have been avoding using the modules
>  was that I wanted to understand what the hell I am using.
>
>  And I read somewhere that reading what others have wrote is among the
>  best way to learn and wanted to see if I can learn the OO and others
>  by trying to read other people's modules.
>  But there doesn't seem to be simple OO modules that I can read at this
>  point(not sure if OO modules are good reading tools for beginner perl
>  module)

There are two separate issues here:
 - learning to use modules to aid you in quickly achieving
large/difficult/tedious projects by reusing other peoples' code
 - learning OO

Note: Reading other peoples' code might work better for some people
than for others.
Wanting to learn how OO works should not keep you from using modules.
If you are uncomfortable with OO, you might want to find some online
tutorials on OO via Google or whatever before jumping into reading
larger, more complex OO projects like some of the modules out there.
Or there might very well be some very cleaning, less complex modules
out there that might be a good starting point... I wouldn't know.

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/




Re: Learning Modules

2008-03-13 Thread Gunnar Hjalmarsson

Richard Lee wrote:

I would like someone's experince on learning modules.
I have been avoiding learning modules for couple reasons
1)to learn and try to reinvent some of the wheels to learn the tricks
2)and I just don't really understand OO modules.

It is very difficult for me to understand modules that have OO 
interfaces and have been trying to read and understand OO more but

it's been a big struggles.

so, question is, is there a OO modules that are on CPAN that are easier 
to read and use than others?


As long as you only want to _use_ a module, it ought to be pretty 
straightforward: Just follow the guidance in the module docs.


Unfortunately that's not always true; some Perl modules were written 
with experienced programmers in mind, so their docs are not very 
instructive to beginner level programmers like you and me.


To learn how to write modules in general, I recommend that you study

perldoc perlmod
perldoc perlmodstyle

To better understand the OO interface, I wrote an own OO module a couple 
of years ago: http://search.cpan.org/perldoc?CGI::UploadEasy


While I believe it's one of the simplest OO modules on CPAN, it's a 
useful tool for writing a simple file upload application.


--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/




Re: Learning Modules

2008-03-13 Thread Randal L. Schwartz
>>>>> "Richard" == Richard Lee <[EMAIL PROTECTED]> writes:

Richard> 2)and I just don't really understand OO modules.

You have two issues rolled into one here.  The properties of "OO" and "module"
are orthogonal.  There are OO programs that don't use modules.  There are
modules that don't use OO.  Do you already understand one, and are learning
the other, or are you trying to learn both at the same time?

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[EMAIL PROTECTED]> http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/




Re: Learning Modules

2008-03-13 Thread Richard Lee

Randal L. Schwartz wrote:

"Richard" == Richard Lee <[EMAIL PROTECTED]> writes:



Richard> 2)and I just don't really understand OO modules.

You have two issues rolled into one here.  The properties of "OO" and "module"
are orthogonal.  There are OO programs that don't use modules.  There are
modules that don't use OO.  Do you already understand one, and are learning
the other, or are you trying to learn both at the same time?

  

Hello,

Like I have said, I have been coding Perl for about year but it wasn't 
my job.


I have been forcing using perl at work to do lot of the stuff(and love 
it) and now I want to move onto start using modules which lot(if not 
most of them)

are made up of OO..

I have LOTS of Perl books.. but sometimes I learn better from going by 
somebody else's code.


Thanks for everyone's suggestion and I will check few articles out and 
check Gunnar's module as well as checking out Chandra's Link(I think

I might have come across that article before)..

Overall, I guess I just have to sepnd more time on OO

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/




Re: Learning Perl

2006-04-10 Thread Tom Phoenix
On 4/10/06, joseph tacuyan <[EMAIL PROTECTED]> wrote:

>  But if i declare the value of $month in hard code it runs without glitch
> but i like to have an input from keyboard. plz enlighten.

> my $month = ();

You're not chomp()ing $month, so it will have a trailing newline
character in the input data.

chomp(my $month = );

Hope this helps!

--Tom Phoenix
Stonehenge Perl Training

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 




Re: Learning Perl

2006-04-11 Thread anand kumar
HI
   
  Try this
   
  #!/bin/perl 

use strict;
use diagnostics;

print "\t Enter Month of a year \n";

my $month = ();
chomp($month);
my %days_month = (
January => 31,
February => 28, 
March => 31
);


print "\t Number of Days in month of $month is $days_month{$month} \n ";

Regards
  Anand
  
joseph tacuyan <[EMAIL PROTECTED]> wrote:
  Hi List,

I'm learning learning perl thru a book, as part of my exercises i tried to run 
this code:


#!/bin/perl 

use strict;
use diagnostics;

print "\t Enter Month of a year \n";

my $month = ();

my %days_month = (
January => 31,
February => 28, 
March => 31
);


print "\t Number of Days in month of $month is $days_month{$month} \n ";

i got an error of uninitialized ...blah...blah ..blah...

But if i declare the value of $month in hard code it runs without glitch but i 
like to have an input from keyboard. plz enlighten.


/joseph 
perl convert.


-
Blab-away for as little as 1¢/min. Make PC-to-Phone Calls using Yahoo! 
Messenger with Voice.


-
 Jiyo cricket on Yahoo! India cricket
Yahoo! Messenger Mobile Stay in touch with your buddies all the time.

RE: Learning Perl

2006-04-11 Thread Dhanashri Bhate
Hi,
>>>my $month = ();

When you are taking the input from STDIN, the value of $month has \n in the
end,
Use chomp $month; before using the value,

Dhanashri


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 




Re: Learning Perl

2006-04-11 Thread nishanth ev
#!/usr/bin/perl
use strict;
use diagnostics;
my $month;
print "\t Enter Month of a year \n";
chomp($month = <>);
my %days_month = (
January => 31,
February => 28,
March => 31
);
print "\t Number of Days in month of $month is
$days_month{$month} \n";


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 




Learning Perl : Exercices

2006-07-07 Thread Monomachus
Ok here I am at the 9th chapter ...
But here is a thing that isn't working at my computer :

Exercices:

Write a program to add a copyright line to all of your exercise answers so far, 
by placing a line such as:

## Copyright (C) 20XX by Yours Truly


Place it in the file immediately after the "shebang" line. You should edit the 
files "in place" and keep a backup. Presume that the program will be invoked 
with the filenames to edit on the command line.

[15] Extra extra credit exercise: Modify the previous program so it doesn't 
edit the files that contain the copyright line. Hint: You might need to know 
that the name of the file being read by the diamond operator is in $ARGV

first program was:

$^I = ".bak";  # make backups
while (<>) {
  if (/^#!/) { # is it the shebang line?
$_ .= "## Copyright (C) 20XX by Yours Truly\n";
  }
}

and that was perfectly working at my computer; but the second one:

my %do_these;
foreach (@ARGV) {
  $do_these{$_} = 1;
}
while (<>) {
  if (/^## Copyright/) {
delete $do_these{$ARGV};
  }
}
@ARGV = sort keys %do_these;
$^I = ".bak";  # make backups
while (<>) {
  if (/^#!/) { # is it the shebang line?
$_ .= "## Copyright (c) 20XX by Yours Truly\n";
  }
}


Isn't working (in Windows)... I need to push Ctrl-C to stop the proccess.

And one more thing: 
why can't I just print smth like: 

$^I = ".bak";  # make backups
while (<>) {
  unless (/^## Copyright/){
  if (/^#!/) { # is it the shebang line?
$_ .= "## Copyright (C) 20XX by Yours Truly\n";
  }
print; 
}
}

-- 
C уважением,
Monomachus 

Don't worry, Be Happy


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 




Learning Perl books

2006-12-18 Thread Rob Dixon

With regard to 'Learning Perl' and 'Learning Perl on Win32 Systems', can anybody
who has read either or both of these books comment on their usefulness for an
inexperienced programmer wishing to use Perl on a Windows platform? I have read
neither but know that Learning Perl is well reputed. It would seem obvious to
choose the Win32 volume, but I notice that the book is now nearly ten years old.

All comments welcome. Thank you,

Rob

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>




Re: Distance learning

2005-09-14 Thread Chris Devers
On Wed, 14 Sep 2005, Brent Clark wrote:

> But I would like to have some type of accreditation to put on my CV.

We don't tend to do Perl accreditation in the USA, either. 

There may be companies that offer such scraps of paper, but none that 
are taken seriously.

If you want something tangible for your CV, write some useful CPAN 
modules and mention those on it. That's far more useful both to you
and to the rest of the Perl community.


-- 
Chris Devers

ñùy¢áÿÐønì°Î
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 


Re: Learning perl

2012-03-05 Thread Shawn H Corey

On 12-03-05 10:19 AM, lina wrote:

Is the books wrote before 2006 a bit older, are there much changes in
the last 10 years for perl?


All changes to Perl are available via perldoc.

`perldoc perl` and search for /delta/.

`perldoc pelrdelta` gives the latest.


--
Just my 0.0002 million dollars worth,
  Shawn

Programming is as much about organization and communication
as it is about coding.

It's Mutual Aid, not fierce competition, that's the dominate
force of evolution.  Of course, anyone who has worked in
open source already knows this.

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/




Re: Learning perl

2012-03-05 Thread Rob Coops
On Mon, Mar 5, 2012 at 4:35 PM, Shawn H Corey  wrote:

> On 12-03-05 10:19 AM, lina wrote:
>
>> Is the books wrote before 2006 a bit older, are there much changes in
>> the last 10 years for perl?
>>
>
> All changes to Perl are available via perldoc.
>
> `perldoc perl` and search for /delta/.
>
> `perldoc pelrdelta` gives the latest.
>
>
> --
> Just my 0.0002 million dollars worth,
>  Shawn
>
> Programming is as much about organization and communication
> as it is about coding.
>
> It's Mutual Aid, not fierce competition, that's the dominate
> force of evolution.  Of course, anyone who has worked in
> open source already knows this.
>
>
> --
> To unsubscribe, e-mail: beginners-unsubscr...@perl.org
> For additional commands, e-mail: beginners-h...@perl.org
> http://learn.perl.org/
>
>
>
In general it is a good idea to read the information about what changed
between then and now as there are some changes that will usually not break
older code but will be the difference between a "Well written bit of code"
and a "Outdated bit of code" but in general most if not all of the things
you find in a good book from 2006 should still work now in 2012.

As for a good book to begin with learning: "Learning Perl"
(ISBN: 1-4493-0358-7) also known as the camel book would be a good place to
start. Other things like websites such as: perl.com and perl-begin.org are
good resources to have a look at as well.
Besides that I personally learned most from finding a problem or a
relatively simple thing that for which I thought a perl solution would be
great. I then spend time and effort trying to figure out how to get this
work done with perl. Of course this is assuming that you have some
programming background already so you know how to tackle the work in what
ever other language, all you then need to do is figure out the way to do
this in perl.

The main thing specially when you are learning what ever language is to
have fun with it. Don't take on to much (you are not going to build the
next Google empire in Perl after a week or so of practice) and to keep on
asking questions when you run into something that you just can't get your
head around. That does not always mean mean ask on this mailing list it
could be as simple as using Google to find a good explanation that helps
you understand the how or the why. Of course the usually friendly people on
this mailing list are often happy to help.
The best way to get help is to show what you have done so far and to as
clearly as possible explain what it is that you want to do or are expecting
the code to do etc... the easier it is to understand what you are looking
for the more likely it is that people will be able to help you.

Regards,

Rob


Re: Learning perl

2012-03-05 Thread Mike Burns
On Mon, Mar 5, 2012 at 12:22 PM, Mike Burns wrote:

> On Mon, Mar 5, 2012 at 10:19 AM, lina  wrote:
>
>> Hi,
>>
>> Which books are the best perl books you have ever read?
>>
>> How did you start learning perl?
>>
>> Is the books wrote before 2006 a bit older, are there much changes in
>> the last 10 years for perl?
>>
>> I am keen to learning it, but so clumsy,
>>
>> Thanks with best regards,
>>
>> --
>> To unsubscribe, e-mail: beginners-unsubscr...@perl.org
>> For additional commands, e-mail: beginners-h...@perl.org
>> http://learn.perl.org/
>>
>>
>>
> lina, nice timing on asking this question! :)  chromatic just announced an
> update to his book a few days ago.
> http://www.modernperlbooks.com/mt/2012/02/modern-perl-2011-2012-pdfs-available.html
>
> Hope this helps you in learning perl better!
>
> Mike
>


Re: Learning perl

2012-03-05 Thread Shlomi Fish
Hi Rob,

a few small corrections.

On Mon, 5 Mar 2012 17:32:12 +0100
Rob Coops  wrote:

> On Mon, Mar 5, 2012 at 4:35 PM, Shawn H Corey  wrote:
> 
> > On 12-03-05 10:19 AM, lina wrote:
> >
> >> Is the books wrote before 2006 a bit older, are there much changes in
> >> the last 10 years for perl?
> >>
> >
> > All changes to Perl are available via perldoc.
> >
> > `perldoc perl` and search for /delta/.
> >
> > `perldoc pelrdelta` gives the latest.
> >
> >
> > --
> > Just my 0.0002 million dollars worth,
> >  Shawn
> >
> > Programming is as much about organization and communication
> > as it is about coding.
> >
> > It's Mutual Aid, not fierce competition, that's the dominate
> > force of evolution.  Of course, anyone who has worked in
> > open source already knows this.
> >
> >
> > --
> > To unsubscribe, e-mail: beginners-unsubscr...@perl.org
> > For additional commands, e-mail: beginners-h...@perl.org
> > http://learn.perl.org/
> >
> >
> >
> In general it is a good idea to read the information about what changed
> between then and now as there are some changes that will usually not break
> older code but will be the difference between a "Well written bit of code"
> and a "Outdated bit of code" but in general most if not all of the things
> you find in a good book from 2006 should still work now in 2012.
> 
> As for a good book to begin with learning: "Learning Perl"
> (ISBN: 1-4493-0358-7) also known as the camel book would be a good place to
> start. 

Well, Learning Perl is the Llama book (after the Llama on its cover), while the
Camel Book is Programming Perl
( here is the home page of the
new 4th edition - http://shop.oreilly.com/product/9780596004927.do ).
Programming Perl is not intended for beginners and aims to cover the entire
Perl core (along with all the nitty-gritty details) in an informative and
entertaining style. I have not read the 4th edition of the Camel yet, only the
3rd edition, which covers perl-5.6.x and while a very nice book has become a bit
outdated with the advent of the "Modern Perl" philosophy.

> Other things like websites such as: perl.com and perl-begin.org are
> good resources to have a look at as well.

Also see:

* http://perl-tutorial.org/ (with the "-", the dash-less URL is something else
  entirely (and not recommended)).

Regards,

Shlomi Fish

-- 
-
Shlomi Fish   http://www.shlomifish.org/
My Public Domain Photos - http://www.flickr.com/photos/shlomif/

When a FLOSS developer says they will work on something, he or she means
“maybe”.

Please reply to list if it's a mailing list post - http://shlom.in/reply .

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/




Re: Learning perl

2012-03-05 Thread Shawn H Corey

On 12-03-05 10:19 AM, lina wrote:

Which books are the best perl books you have ever read?


The latest version of Modern Perl has just come out.

http://www.onyxneon.com/books/modern_perl/index.html


--
Just my 0.0002 million dollars worth,
  Shawn

Programming is as much about organization and communication
as it is about coding.

It's Mutual Aid, not fierce competition, that's the dominate
force of evolution.  Of course, anyone who has worked in
open source already knows this.

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/




Re: Learning perl

2012-03-05 Thread David Christensen

On 03/05/2012 07:19 AM, lina wrote:

Which books are the best perl books you have ever read?


1.  Learning Perl -- this book gets you up the initial learning curve. 
Read it cover to cover, enter and play with the example code, and do the 
exercises:


   http://shop.oreilly.com/product/0636920018452.do

2.  Perl Cookbook -- this is a source book of example Perl code,
organized by topic/ task.  The code is idiomatic, and the explanations
are excellent.  This book will give you the understanding and confidence
you need to start writing useful Perl scripts:

http://shop.oreilly.com/product/9780596003135.do

3.  Programming Perl -- this is the language reference manual.  Use it
to look things up when you need the hard-core explanation.  The 4th 
edition just came out:


http://shop.oreilly.com/product/9780596004927.do


> Is the books wrote before 2006 a bit older, are there much changes in
> the last 10 years for perl?

1.  I started with Perl 5.4 in 1998, progressed to 5.6 and 5.8, and now 
use 5.10.1.  The language fundamentals have remained stable over the 
years.  New versions have added more polish and a few key features. 
Most of the changes I've noticed have been in the add-on libraries (CPAN).


2.  One of the primary reasons I learned Perl was WWW programming.  Many 
modules and frameworks have come (and/or gone) since I started, but I 
still prefer the old-fashioned way -- CGI.pm on Linux, Apache, and/or 
MySQL.  I read the LWP book a few years ago and discovered HTML::Tree, 
which I now use for templates.  (I previously used HTML::Template.)


3.  Perl 5 includes primitives for building object-oriented systems 
(blessed references, inheritance, dispatch).  I buried myself under 
plain Perl 5 OO for many years, but recently started using Moose.  Moose 
takes the drudgery out of Perl 5 OO and allows you to think and code at 
a higher level -- good stuff!



HTH,

David

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/




Re: Learning perl

2012-03-05 Thread lina
Thanks for all of you.

I will take time to do those things.

Best wishes,

lina

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/




Re: Learning perl

2012-03-06 Thread 'lesleyb'
On Mon, Mar 05, 2012 at 07:42:24PM -0800, David Christensen wrote:
> On 03/05/2012 07:19 AM, lina wrote:
> >Which books are the best perl books you have ever read?
> 
> 1.  Learning Perl -- this book gets you up the initial learning
> curve. Read it cover to cover, enter and play with the example code,
> and do the exercises:
> 
>http://shop.oreilly.com/product/0636920018452.do
> 
> 2.  Perl Cookbook -- this is a source book of example Perl code,
> organized by topic/ task.  The code is idiomatic, and the explanations
> are excellent.  This book will give you the understanding and confidence
> you need to start writing useful Perl scripts:
> 
> http://shop.oreilly.com/product/9780596003135.do
> 
> 3.  Programming Perl -- this is the language reference manual.  Use it
> to look things up when you need the hard-core explanation.  The 4th
> edition just came out:
> 
> http://shop.oreilly.com/product/9780596004927.do
> 
> 
> > Is the books wrote before 2006 a bit older, are there much changes in
> > the last 10 years for perl?
> 
> 1.  I started with Perl 5.4 in 1998, progressed to 5.6 and 5.8, and
> now use 5.10.1.  The language fundamentals have remained stable over
> the years.  New versions have added more polish and a few key
> features. Most of the changes I've noticed have been in the add-on
> libraries (CPAN).
> 
> 2.  One of the primary reasons I learned Perl was WWW programming.
> Many modules and frameworks have come (and/or gone) since I started,
> but I still prefer the old-fashioned way -- CGI.pm on Linux, Apache,
> and/or MySQL.  I read the LWP book a few years ago and discovered
> HTML::Tree, which I now use for templates.  (I previously used
> HTML::Template.)
> 
> 3.  Perl 5 includes primitives for building object-oriented systems
> (blessed references, inheritance, dispatch).  I buried myself under
> plain Perl 5 OO for many years, but recently started using Moose.
> Moose takes the drudgery out of Perl 5 OO and allows you to think
> and code at a higher level -- good stuff!
> 
http://www.modernperlbooks.com/mt/2012/02/modern-perl-2011-2012-pdfs-available.html

might also be a worth a read.  I'd say it's fairly up to date.  

Regards

LB

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/




Re: Learning CPAN

2012-10-04 Thread Owen

> Hello,
> So I have been using perl for about 9 months and I understand the
> syntax
> fairly well. However I feel like I'm missing most of Perl with CPAN,
> sure I
> know the basic modules but is there any mailing list or website that
> regularly features useful modules?



There is spam free news group, comp.lang.perl.announce that puts out a
posting every day listing a sample of about 50 modules.

If you read that every day, you will get the idea of what is what.

Also http://search.cpan.org/ is the home site that allows you to
search for modules.



-- 
Owen


-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/




Re: Learning CPAN

2012-10-04 Thread Leo Susanto
I enjoyed Mark Fowler's presentation "CPAN modules every perl
programmer should know" but I don't have the link to the presentation.

or you just can browse through perl advent: http://perladvent.org/

On Thu, Oct 4, 2012 at 7:03 PM, Danny Gratzer  wrote:
> Hello,
> So I have been using perl for about 9 months and I understand the syntax
> fairly well. However I feel like I'm missing most of Perl with CPAN, sure I
> know the basic modules but is there any mailing list or website that
> regularly features useful modules?

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/




Re: Learning CPAN

2012-10-04 Thread Hal Wigoda
Who uses newsgroups anynore?
What reader application is the best for reading news groups?


On Thu, Oct 4, 2012 at 9:15 PM, Owen  wrote:
>
>> Hello,
>> So I have been using perl for about 9 months and I understand the
>> syntax
>> fairly well. However I feel like I'm missing most of Perl with CPAN,
>> sure I
>> know the basic modules but is there any mailing list or website that
>> regularly features useful modules?
>
>
>
> There is spam free news group, comp.lang.perl.announce that puts out a
> posting every day listing a sample of about 50 modules.
>
> If you read that every day, you will get the idea of what is what.
>
> Also http://search.cpan.org/ is the home site that allows you to
> search for modules.
>
>
>
> --
> Owen
>
>
> --
> To unsubscribe, e-mail: beginners-unsubscr...@perl.org
> For additional commands, e-mail: beginners-h...@perl.org
> http://learn.perl.org/
>
>



-- 
-
Chicago
Hal Wigoda

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/




Re: Learning CPAN

2012-10-04 Thread Shlomi Fish
Hi all,

On Fri, 5 Oct 2012 12:15:56 +1000
"Owen"  wrote:

> 
> > Hello,
> > So I have been using perl for about 9 months and I understand the
> > syntax
> > fairly well. However I feel like I'm missing most of Perl with CPAN,
> > sure I
> > know the basic modules but is there any mailing list or website that
> > regularly features useful modules?
> 
> 
> 
> There is spam free news group, comp.lang.perl.announce that puts out a
> posting every day listing a sample of about 50 modules.
> 
> If you read that every day, you will get the idea of what is what.
> 
> Also http://search.cpan.org/ is the home site that allows you to
> search for modules.

As a general rule, http://metacpan.org/ is better than
http://search.cpan.org/ , and it is also free and open source software
( http://en.wikipedia.org/wiki/Free_and_open-source_software ). Otherwise,
I can second the recommmendation of the old Perl Advent Calendars -
http://perladvent.pm.org/archives.html - and other Perl-related
Advent calendars (note: I have contributed to one of them during one year),
and also see:

* http://perl-begin.org/topics/cpan/

* http://www.catalyzed.org/2009/07/finding-stuff-on-the-cpan.html

Finall, I'd like to ask the original poster (Danny): why do you want to
start using CPAN? While it's not a bad idea, normally you should turn to
a CPAN module when there isn't a good way to do it with core Perl. In general,
one should avoid over-engineering:

http://en.wikipedia.org/wiki/You_ain%27t_gonna_need_it

Regards,

Shlomi Fish

-- 
-
Shlomi Fish   http://www.shlomifish.org/
List of Text Editors and IDEs - http://shlom.in/IDEs

It does not mean what I think it means, but it means what *you* think it
means.

Please reply to list if it's a mailing list post - http://shlom.in/reply .

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/




Re: Learning CPAN

2012-10-04 Thread Jim Gibson

On Oct 4, 2012, at 8:14 PM, Hal Wigoda wrote:

> Who uses newsgroups anymore?

I do. There are lots of people still using Usenet.

> What reader application is the best for reading news groups?

It depends upon your platform. I use Thoth on a Mac. There are lots of choices.

As for groups, see 'perldoc -q news' "What are the Perl newsgroups on Usenet?"
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/




RE: Learning CPAN

2012-10-05 Thread Bob McConnell
> From: Jim Gibson
> 
> On Oct 4, 2012, at 8:14 PM, Hal Wigoda wrote:
> 
> > Who uses newsgroups anymore?
> 
> I do. There are lots of people still using Usenet.
> 
> > What reader application is the best for reading news groups?
> 
> It depends upon your platform. I use Thoth on a Mac. There are lots of
> choices.
> 

I use Pan on my Slackware Linux workstations. But I believe Thunderbird will 
also manage a news feed.

Bob McConnell


--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/




Re: Learning CPAN

2012-10-06 Thread John Delacour

On 05/10/2012 04:14, Hal Wigoda wrote:

Who uses newsgroups anynore?
What reader application is the best for reading news groups?
If your ISP doesn’t provide a news feed then you can read usenet groups 
in Google:




If you have a news server then you can use Opera as an offline reader.

JD

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/




Re: Learning CPAN

2012-10-06 Thread shawn wilson
besides news, you can also check out some of the perl mongers
communities / lists. and you can get on irc - on freenode, there's
#perl-help, and on the perl irc server, there's tons of different
channels - even if you don't have anything to ask, sometimes it's good
/ fun to read the scroll every once in a while.

i realize this has sorta turned into a discussion about finding
resources and that i haven't used news groups in years and should
probably find an open server and search for good groups.

On Sat, Oct 6, 2012 at 4:29 PM, John Delacour  wrote:
> On 05/10/2012 04:14, Hal Wigoda wrote:
>>
>> Who uses newsgroups anynore?
>> What reader application is the best for reading news groups?
>
> If your ISP doesn’t provide a news feed then you can read usenet groups in
> Google:
>
> 
>
> If you have a news server then you can use Opera as an offline reader.
>
> JD
>
>
> --
> To unsubscribe, e-mail: beginners-unsubscr...@perl.org
> For additional commands, e-mail: beginners-h...@perl.org
> http://learn.perl.org/
>
>

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/




Re: Learning CPAN

2012-10-15 Thread Leo Lapworth
Hi Danny,

On 5 October 2012 03:03, Danny Gratzer  wrote:

> However I feel like I'm missing most of Perl with CPAN, sure I
> know the basic modules but is there any mailing list or website that
> regularly features useful modules?
>

https://metacpan.org/module/Task::Kensho is a good if not the best place to
start if you want to see what are good modules to consider learning/using
and there are enough there to keep you learning for quite a while!

https://metacpan.org/recent shows a list of modules that have just been
added or updated - and also has an RSS feed on that page. Not all modules
will be great - but they will be recent :)

I hope you find the huge number of modules on CPAN as useful rather than
daunting - as mentioned elsewhere if in doubt see if you can find a local
http://www.pm.org/ group or join #perl-help on irc.perl.org

Also keep an eye on what is being discussed and posted about on
http://blogs.perl.org/ - and other blog aggregators (more at
http://www.perl.org/community.html )

Enjoy your journey into Perl

Leo


Learning perl libraries

2014-02-07 Thread rakesh sharma
Hi
I am a new to perl.Wanted to know how to master some of the daily used perl 
libraries.Most of the examples are different in usage, some are OO and others 
are scalar.I want to learn the OO way of perl.Any tips? Right now I open the 
file and see the usage or prod the net. But the learning remains 
incomplete.Most of the perl books speaks stuffs in general and do not target 
the libraries.
thanks,rakesh 

Regarding perl learning

2015-07-01 Thread bikram behera
Hi Team,

My name is Bikram Behera , am new in perl want to learn perl.

Thanks,
Bikram Behera


Other learning Mailing Lists

2001-05-23 Thread arfan ahmad rana

Hi all
Pls tell me the other learning mailing lists from where i can polishmy networking 
skills
arfan 



Learning Perl (3rd Edition)

2001-07-16 Thread Craig Westerman

Amazon and others are back ordered 3 to 5 weeks. Does any know of a online
retailer that has them in stock?

Thanks

Craig ><>
[EMAIL PROTECTED]


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: Perl Learning Paths

2002-12-23 Thread wiggins
You might check out Advanced Perl Programming, though as far as I can tell much of 
what it contains was rolled into Programming Perl 3rd Edition. For those of us 
starting on PPv1 or PPv2 we didn't have that problem :-).  You might also check out OO 
Perl by Damian Conway, it is still a very good read though does not contain all of the 
niceties of the post 5.6 world.  There is also the Cookbook which many people enjoy, I 
feel it makes a better reference than reading material. If you want to make your head 
hurt you could always dive into Mastering Regular Expressions. I also found the DBI 
and XML books worthy reads but that also depends on what your projects are.  You might 
also start going through the docs, I have found that I can't live without them now 
that I know they most often contain what I want, in particular you might have a look 
at the perlreftut, perlretut, and perlboot, perltoot docs, a list can be had from 
perldoc perl.

And as always I would recommend Programming Perl ;-), but something tells me you 
didn't want to hear that

http://danconia.org



On Mon, 23 Dec 2002 15:10:39 -0500, "Paul Kraus" <[EMAIL PROTECTED]> wrote:

> I have read learning Perl and have begun programming Perl. The later
> seems to move kind of slow and goes to more depth then I need right now.
> More of a C. Science book with C. Science history mixed in. Is there a
> better way to go about this. I like programming Perl but would enjoy it
> more and get more from it if I already had a strong understanding of
> some of Perl more advanced topics. OO, Ref, ect. I blew through the
> learning Perl book in about 1 day. So it was to basic. Any suggestions?
> 
> Paul Kraus
> Network Administrator
> PEL Supply Company
> 216.267.5775 Voice
> 216-267-6176 Fax
> www.pelsupply.com
> 
> 

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: Perl Learning Paths

2002-12-24 Thread Paul Kraus
Helped a lot. I also have the pocket reference and find it an
indispensable tool. Perldoc seems hard to use because you need to know
the function you want to look before hand. Unless I am using it wrong?

> -Original Message-
> From: Mystik Gotan [mailto:[EMAIL PROTECTED]] 
> Sent: Tuesday, December 24, 2002 7:52 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Perl Learning Paths
> 
> 
> I suggest you buy Perl Pocket Reference. It's not for 
> learning purpose, but 
> very handy to look up things while scripting. I found it 
> quite expensive 
> however, as I went to Glasgow with my dad a month ago, went 
> to Waterstone's 
> (ofcourse, all of us know it's expensive, but anyway), it 
> costed 9 pounds. 
> Pretty expensive, I thought, in Holland it costs only 8 
> euro's, but that 
> besides, it great for looking up things quickly.
> 
> We don't have too much Perl books in Holland. By that, I mean 
> books about 
> regexes, OO programming, using TK with Perl, GD. We only have 
> basics books, 
> but we also have CGI Programming with Perl. It was great. I 
> didn't needed 
> much time in this summer for reading it (we went to Scotland, imagine 
> getting through the book while climbing mountains and getting 
> exhausted). It 
> covers a lot. Beginning of XML, many modules, HTML embedding, 
> searching, 
> security, cookies... It's a bit harder to actually learn from it, you 
> morelike get an idea what and how to do (something) with CGI.
> 
> On the other hand, I have the funny idea more and more books 
> are being 
> published in UK and others. I see more TK and more GD, so you 
> might get a 
> look at www.oreilly.com.
> 
> Also, I love perldoc. i'm using ActiveState (bloody windows), 
> but it covers 
> so much and there's so much to learn from.
> 
> Kinda bullshit story but anyway, hope it helps ;)
> 
> --
> Bob Erinkveld (Webmaster Insane Hosts)
> www.insane-hosts.net
> MSN: [EMAIL PROTECTED]
> 
> 
> 
> 
> >From: "Paul Kraus" <[EMAIL PROTECTED]>
> >To: "Perl" <[EMAIL PROTECTED]>
> >Subject: Perl Learning Paths
> >Date: Mon, 23 Dec 2002 15:10:39 -0500
> >
> >I have read learning Perl and have begun programming Perl. The later 
> >seems to move kind of slow and goes to more depth then I need right 
> >now. More of a C. Science book with C. Science history mixed in. Is 
> >there a better way to go about this. I like programming Perl 
> but would 
> >enjoy it more and get more from it if I already had a strong 
> >understanding of some of Perl more advanced topics. OO, Ref, ect. I 
> >blew through the learning Perl book in about 1 day. So it 
> was to basic. 
> >Any suggestions?
> >
> >Paul Kraus
> >Network Administrator
> >PEL Supply Company
> >216.267.5775 Voice
> >216-267-6176 Fax
> >www.pelsupply.com
> >
> >--
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> _
> MSN Zoeken, voor duidelijke zoekresultaten! 
> http://search.msn.nl/worldwide.asp
> 


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: Perl Learning Paths

2002-12-24 Thread NYIMI Jose (BMB)
> -Original Message-
> From: Paul Kraus [mailto:[EMAIL PROTECTED]] 
> Sent: Tuesday, December 24, 2002 2:10 PM
> To: 'Mystik Gotan'; Perl
> Subject: RE: Perl Learning Paths
> 
> 
> Helped a lot. I also have the pocket reference and find it an 
> indispensable tool. Perldoc seems hard to use because you 
> need to know the function you want to look before hand. 

Looking to those functions by category, can help finding
an interesting one even though you didn't know the function in advance.
For instance :
http://aspn.activestate.com//ASPN/Products/ActivePerl/lib/Pod/perlfunc.html#perl_functions_by_category


José.


> Unless I am using it wrong?
> 
> > -Original Message-
> > From: Mystik Gotan [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, December 24, 2002 7:52 AM
> > To: [EMAIL PROTECTED]
> > Subject: Re: Perl Learning Paths
> > 
> > 
> > I suggest you buy Perl Pocket Reference. It's not for
> > learning purpose, but 
> > very handy to look up things while scripting. I found it 
> > quite expensive 
> > however, as I went to Glasgow with my dad a month ago, went 
> > to Waterstone's 
> > (ofcourse, all of us know it's expensive, but anyway), it 
> > costed 9 pounds. 
> > Pretty expensive, I thought, in Holland it costs only 8 
> > euro's, but that 
> > besides, it great for looking up things quickly.
> > 
> > We don't have too much Perl books in Holland. By that, I mean
> > books about 
> > regexes, OO programming, using TK with Perl, GD. We only have 
> > basics books, 
> > but we also have CGI Programming with Perl. It was great. I 
> > didn't needed 
> > much time in this summer for reading it (we went to 
> Scotland, imagine 
> > getting through the book while climbing mountains and getting 
> > exhausted). It 
> > covers a lot. Beginning of XML, many modules, HTML embedding, 
> > searching, 
> > security, cookies... It's a bit harder to actually learn 
> from it, you 
> > morelike get an idea what and how to do (something) with CGI.
> > 
> > On the other hand, I have the funny idea more and more books
> > are being 
> > published in UK and others. I see more TK and more GD, so you 
> > might get a 
> > look at www.oreilly.com.
> > 
> > Also, I love perldoc. i'm using ActiveState (bloody windows),
> > but it covers 
> > so much and there's so much to learn from.
> > 
> > Kinda bullshit story but anyway, hope it helps ;)
> > 
> > --
> > Bob Erinkveld (Webmaster Insane Hosts)
> > www.insane-hosts.net
> > MSN: [EMAIL PROTECTED]
> > 
> > 
> > 
> > 
> > >From: "Paul Kraus" <[EMAIL PROTECTED]>
> > >To: "Perl" <[EMAIL PROTECTED]>
> > >Subject: Perl Learning Paths
> > >Date: Mon, 23 Dec 2002 15:10:39 -0500
> > >
> > >I have read learning Perl and have begun programming Perl. 
> The later
> > >seems to move kind of slow and goes to more depth then I 
> need right 
> > >now. More of a C. Science book with C. Science history 
> mixed in. Is 
> > >there a better way to go about this. I like programming Perl 
> > but would
> > >enjoy it more and get more from it if I already had a strong
> > >understanding of some of Perl more advanced topics. OO, 
> Ref, ect. I 
> > >blew through the learning Perl book in about 1 day. So it 
> > was to basic.
> > >Any suggestions?
> > >
> > >Paul Kraus
> > >Network Administrator
> > >PEL Supply Company
> > >216.267.5775 Voice
> > >216-267-6176 Fax
> > >www.pelsupply.com
> > >
> > >--
> > >To unsubscribe, e-mail: [EMAIL PROTECTED]
> > >For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> > 
> > _
> > MSN Zoeken, voor duidelijke zoekresultaten!
> > http://search.msn.nl/worldwide.asp
> > 
> 
> 
> -- 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


 DISCLAIMER 

"This e-mail and any attachment thereto may contain information which is confidential 
and/or protected by intellectual property rights and are intended for the sole use of 
the recipient(s) named above. 
Any use of the information contained herein (including, but not limited to, total or 
partial reproduction, communication or distribution in any form) by other persons than 
the designated recipient(s) is prohibited. 
If you have received this e-mail in error, please notify the sender either by 
telephone or by e-mail and delete the material from any computer".

Thank you for your cooperation.

For further information about Proximus mobile phone services please see our website at 
http://www.proximus.be or refer to any Proximus agent.


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Learning Perl vs. c ++

2003-07-31 Thread GregorioGonzalez
Hello:

I have heard that PERL is more valuable than learning C++ in terms of
IT, etc.

What is your view of the matter.

Regards, 

GREGORIO GONZALEZ:  Internet Business Developer
VERIO:  An NTT Communications Company
TOLL FREE:  877-273-3190 EXT 4672
INTERNATIONAL:  011-561-999-8599 ext: 4672 
EMAIL:  [EMAIL PROTECTED]
TECH SUPPORT: 800-339-4929 option 4
WEBSITE: http://hosting.verio.com/index.php/vps_vpscompare.html


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Learning Objects, destroy methods

2004-01-05 Thread Gary Stainburn
Hi folks,

My first forrey into Perl objects sees me trying to model a railway.  I've got 
a hash of named blocks of track, which is added to when I create a new block 
object.

My problem is one of destroying a block (object), making sure that I have no 
memory leakage.

I create a new track block such:

my $T1=Trainset->track('T1','Block');

This also created $Trainset::_BLOCKS{T1} which references the object.

My problem is how can I destroy the object when I no longer want it?

If I call

$T1=$T1->delete;

Then the object is destroyed (display in DESTROY shows this).  However, if I 
simply call

$T1->delete;

The object isn't destroyed because even though the ref in %_BLOCKS is deleted, 
the ref in $T1 is still there.  Is there and way to ensure that the object is 
destroyed - i.e. force the refcount to zero?

The only solution I've come up with is to explicitly call DESTROY from within 
the delete function, and within DESTROY empty the hash. Is this sufficient, 
or will this still tie up memory?  Is there a better way?

-- 
Gary Stainburn
 
This email does not contain private or confidential material as it
may be snooped on by interested government parties for unknown
and undisclosed purposes - Regulation of Investigatory Powers Act, 2000 


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 




RE: "Learning Perl" Question

2002-02-13 Thread Bob Showalter

> -Original Message-
> From: Hanson, Robert [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, February 13, 2002 11:06 AM
> To: [EMAIL PROTECTED]
> Subject: "Learning Perl" Question
> 
> 
> [Sorry if this isn't the place to post this, but I thought it might be
> interesting.  Flaming will be accepted]
> 
> I'm teaching a Perl class from the Learning Perl book, and noticed an
> inconsistency with the way certain constructs work.
> 
> In chapter 2 it mentions a rule in Perl: "any time that you 
> need a variable
> in Perl, you can use an assignment instead.  First, Perl does the
> assignment.  Then it uses the variable in whatever way you requested".
> 
> Ok, that makes sense.  It allows you to do things like this:
> 
> chomp( $foo =  );
> $x = $y = 10;
> 
> Then in chapter 5 it discusses the each function, and why it 
> works in a
> while loop.  It says that (referring to the boolean value) 
> "Now, when Perl
> evaluates the each %hash there are no more key-value pairs 
> available.  So
> each has to return an empty list.  The empty list is assigned 
> to ($key,
> $value), so $key gets undef, and $value also gets undef.  But 
> that hardly
> matters, because the whole thing is being evaluated in the conditional
> expression of the while loop.  The value of a list assignment 
> is a scalar
> context is the number of elements in the **source list** -- 
> in this case,
> that's 0".
> 
> So this adds to the first rule (sort of).  Basically in 
> scalar context the
> function takes the variable as it's argument, and in list 
> context it takes
> the count of items in the source list.
> 
> Ok, that works for me so far, but then why would these work?
> 
> $x = () = 10; # $x is 1
> $x = () = (10, 20); # $x is 2
> 
> From this it sounds like the first rule does not exactly work 
> as stated.  
> It
> seems that the real rule is that the "=" operator returns a 
> value just like
> any other Perl operator.

True. But Randal's rule doesn't contradict that at all.

>  It seems to me that given "x = y" 
> that the "="
> operator returns the value from the right side of the 
> operator (in the given
> context of x).
> 
> So "x = y = z" means that "y = z" returns the value of z, and 
> then "x = "
> stores that value. ...Or at least that is how I am conceptualizing it.

No. See below.

> 
> And now the real question.  Why won't this work?
> 
> ($x) = () = 10;

What do you mean "work?". $x becomes undef, which is consistent
with the documented behavior (see below).

> 
> Is there a need for an extra rule to cover this?  Or is there 
> a single rule
> that covers the syntax from all of the above examples?

() = 10 is a list assignment, to an empty list.

The following is from perldoc perlop:

  ...
  Similarly, a list assignment in list context produces the list of
  lvalues assigned to, and a list assignment in scalar context returns
  the number of elements produced by the expression on the right hand
  side of the assignment.

This description covers the results you see from each
example.

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: "Learning Perl" Question

2002-02-13 Thread Michael Fowler

On Wed, Feb 13, 2002 at 11:05:51AM -0500, Hanson, Robert wrote:
[snip] 
> In chapter 2 it mentions a rule in Perl: "any time that you need a variable
> in Perl, you can use an assignment instead.  First, Perl does the
> assignment.  Then it uses the variable in whatever way you requested".
> 
> Ok, that makes sense.  It allows you to do things like this:
> 
> chomp( $foo =  );
> $x = $y = 10;
[snip]

> The value of a list assignment is a scalar context is the number of
> elements in the **source list** -- in this case, that's 0".
> 
> So this adds to the first rule (sort of).  Basically in scalar context the
> function takes the variable as it's argument, and in list context it takes
> the count of items in the source list.
> 
> Ok, that works for me so far, but then why would these work?
> 
> $x = () = 10; # $x is 1
> $x = () = (10, 20); # $x is 2

These match your list assignment rule.  Assigning to empty parens is
assigning to a list (that just happens to be empty).  The assignment to $x
imposes the scalar context.  So, the list assignment "() = (10, 20)"
evaluates to 2 in scalar context.

 
> >From this it sounds like the first rule does not exactly work as stated.  It
> seems that the real rule is that the "=" operator returns a value just like
> any other Perl operator.  It seems to me that given "x = y" that the "="
> operator returns the value from the right side of the operator (in the given
> context of x).

No, it returns the value from the left side.  Assignment is right
associative, which may be what's tripping you up; a string of assignments
are evaluated right to left, instead of left to right as in most algebraic
expressions.  So, in your examples, "() = (10, 20)" is evaluated first, then
the assignment to $x imposes the context.


> So "x = y = z" means that "y = z" returns the value of z, and then "x = "
> stores that value. ...Or at least that is how I am conceptualizing it.

No, in "x = y = z" the expression "y = z" evaluates to y, then x stores that
value.  Consider your chomp example:

chomp($foo = );

You can't chomp , so the expression must be evaluating to $foo.  And
not just the contents of $foo, $foo itself; chomp requires a scalar it can
modify.


> And now the real question.  Why won't this work?
> 
> ($x) = () = 10;

It does work.  $x is getting the first value in the list ().  Consider:

($x) = ($y) = 10;

$x now equals 10.  The rightmost list assignment is evaluated in list
context, and the leftmost list is assigned to.  This is list assignment in
list context.

 
> Is there a need for an extra rule to cover this?  Or is there a single rule
> that covers the syntax from all of the above examples?

The assignment and list assignment rules that you've already read about
cover these cases.


Does that help to dispel your confusion?


Michael
--
Administrator  www.shoebox.net
Programmer, System Administrator   www.gallanttech.com
--

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




The book Learning Problem

2002-04-29 Thread drieux


On Monday, April 29, 2002, at 12:45 , Anthony Beaman wrote:

> Bingo! I agree and I think that's my problem with all of this. I think 
> that the documentation pages can be over a newbie's (myself) head.

Part of that is understanding what the 'gliphs' are - if you
have no idea what a scalar or a list are - it is hard to grok

'list context' or 'scalar context'

and hence have to 'learn' that some how It is one thing to
read that

$retval = fooMunge(@arglist);

returns the number of ok things in this scalar context,

@retval = fooMunge(@arglist);

in a list context will return you the list of ok things

and 'getting it'...

So there are 'language specific' details like this - then there
are what are really 'meta-language' issues - the context in which
we use not the language specific - but the stuff about 'computer
languages' - and that is a "language" that is about as clear as MUD.

Part of that comes from forcing one's self to simply do the leg work
through the original texts. Think of it as a form of 'immersion' -
we lost one of our lads in germany - as he would only speak german,
bad german at first, but in six months, people were convinced he
had been born and raised on the waterfront of hamburg unfortunately
he spoke rather broken english, a bit stilted and with a rather
nasty accent - and at times you had to 'reorder' the words back
into an english syntax out of the german syntax he had spoken them in.

[..]

word on OS's - unless you plan to write one, worry less about
which one you are running on, and more that you have a language
that interoperates well with them all

> Personally, I'm on NT and am moving to Unix or Linux later (after I learn 
> C and Assembly), so I'm using the Learning Perl on Win32.

May I recommend that if you have no really pressing need to
understand the gory details of how bits are flipped in any
given specific CPU that you avoid the 'assembler' portion.

Assembler, like locker room banter about 'hot babes', maybe
emotionally re-assuring to some, but rarely is portable...

'C' of course is probably the fastest way to make portable
assembler - and only slightly less arcane...

> Then I'm going to use the Camel book. Any advice on getting the most out 
> of the 2 Learning Perl books? (or shall I repost this question, i.e., a 
> new thread?) Thanks!

If the author has laid out a specific progression with the presumption
that their model matches your learning style - then you should follow
their advice in the preface to the book. NEVER PEEK AT AN ANSWER.
until you have truly ripped out your hair trying to solve it on your own.

Otherwise, do what the rest of us did - when all we had was K&R -
the first edition - find the BNF, and understand the syntactical
elements in their raw form.

{ for those with a first edition of programming perl - the semi
formal description is on pages 378-388 - memorize it - and then
read all the updates and correct them as applicable - although
you could probably do just as well by reading the code that
generated you instance of perl... The principle flaw in the
3rd edition is that it does not have a nice encapsulation of
the formalizations. }



ciao
drieux

---


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Learning process How? & Why?

2008-09-26 Thread Jack Gates
These first four lines are how every Perl script I write starts.

#!/usr/bin/perl -T
use strict;
use warnings;
use diagnostics -verbose;

my ($oldfile) = $ARGV[0] =~ /^([-a-zA-Z0-9._\/]+)$/;
die "bad old filename" unless $oldfile;

my ($newfile) = $ARGV[1] =~ /^([-a-zA-Z0-9._\/]+)$/;
die "bad new filename" unless $newfile;

open my $OF, "<", $oldfile or die "$oldfile: $!";
open my $NF, ">", $newfile or die "$newfile: $!";

my $letter = $& =~ /(?<=\<)[a-z]{1,1}/;

while (my $line = <$OF>) {
my $navold = 'Man(0p) a';
my $navnew1 = 'Man(0p) ';
my $navnew3 = $navnew1 . $letter . $navnew2 . $letter;
$line =~ s/$navold/$navnew3/g; # replace string
print $NF $line;
}

close($OF);
close($NF);


I have read perlsyn, perldata, perlsub, perlop, perlfunc, perlvar, 
perlre, perlreref and perlref several times.

I am sure I have read exactly what I need to but I just don't seem 
to be able to see it or understand it.

I have messed around with this line several different ways

my $letter = $& =~ /(?<=\<)[a-z]{1,1}/;

Perl does not complain but it does not do anything
I could use help understanding how to do this so it will work

I am trying to capture the first letter of a word between 
<[a-z]somemoretext>

Then use that first letter to change the letter here

Man(0p) x

x = the location of the letter that changes

so the nav links to the location of the docs are correct.

-- 
Silverfox
Please don't CC me. I am subscribed to the list.
Do you want someone to do it for you?
They will be glad to, if you pay them.
To get free help one must show evidence
that one has made an honest effort to
find/figure out the answer first.

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/




Learning Perl Student Workbook

2009-10-31 Thread raphael()
Hi,

I just finished reading 'Learning Perl' & I was wondering if someone
could point me to the book "Perl Study Guide",
also called "Learning Perl Student Workbook". It's a companion book to
"Learning Perl" but is not available in my country.

I was hoping if someone could give me a link to a soft copy (an ebook).


Re: learning perl scripting

2009-12-06 Thread Parag Kalra
On Sun, Dec 6, 2009 at 3:21 PM, Agnello George wrote:

> Hi
>
>

Hi Agnello



> stuff ... but last one year i am trying to learn this language but dont
> seem
> to get a hold of it . sometimes i fell shell-scripting a is a lot more
> better and easier ..



Even I struggled with the Perl for first couple of months and felt the
same...



> but my aim is to learn perl scripting ... i mean how
> does one get a real hold of this language ... !!
>
>
Different people will have different viewpoints but a major credit behind I
being able to understand and enjoy Perl goes to the book 'Learning Perl'
written by Randal - http://oreilly.com/catalog/9780596001322

So my suggestion - To get hold of Perl...first get hold of this book... :)

Cheers,
Parag


Re: learning perl scripting

2009-12-06 Thread Rene Schickbauer

Agnello George wrote:

Hi

 but last one year i am trying to learn this language but dont seem
to get a hold of it . sometimes i fell shell-scripting a is a lot more
better and easier .. but my aim is to learn perl scripting ... i mean how
does one get a real hold of this language ... !!


As mentioned above, the book "Learning Perl" should get you started.

But don't try to learn all the language at once. After you get a basic grip on 
on variables, loop and conditionals, start coding right away. Start simple, and 
then go read some more and improve your skills.


Perl doesn't require you to understand everything, just pick what you need an 
like and do your stuff. Don't be afraid to ask for help. Everything else is 
just a matter of excercise (e.g. the more you code, the more you learn).


If it eases your burden: I, too, was overwhelmed at first by all the features 
of Perl. But i kept writing scripts and applications and one day i suddenly 
realised that i was quite good at it. Don't get me wrong, after 6 or 7 years of 
Perl coding, i still sometimes get the "What the hell?!? WHY does this work? 
Never seen THAT before..." moments when i read someone else's code. ;-)


LG
Rene
--
#!/usr/bin/perl #99BoB (C)2004 cavac:prg count drink vessel place act1 act2
@a...@argv;$c=$a[0]||99;$b=" ".($a[2]||"bottles")." of ".($a[1]||"beer");$w=" ".
($a[3]||"on the wall").",";do{print"$c$b$w\n$c$b,\n".($a[4]||"take one down").
", ".($a[5]||"pass it around").",\n".--$c."$b$w\n\n";}while($c);print"END!\n";

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/




Re: learning perl scripting

2009-12-06 Thread Shlomi Fish
Hi Agnello!

On Sunday 06 Dec 2009 11:51:10 Agnello George wrote:
> Hi
> 
> i am basically a  a system administrator, and i have just joined this new
> company where my entire team are a group pf developers + system admins and
>  i am the only system admin with out programming knowledge . i know a
>  little of shell scripting from my previous company and i thought shell
>  scripting was king ... but having joined this company every one is using a
>  lot of persl to do a lot of log parsing ... DB interaction and lot of cool
>  hashes related stuff ... but last one year i am trying to learn this
>  language but dont seem to get a hold of it . sometimes i fell
>  shell-scripting a is a lot more better and easier .. but my aim is to
>  learn perl scripting ... i mean how does one get a real hold of this
>  language ... !!

We've concentrated resources for Perl beginners here:

http://perl-begin.org/

It contains links to many online resources and books.

That put aside, you really should work on writing your English text better. 
While one can understand it, the style (punctuation, capitalisation, spelling, 
etc.) is horrible.

Regards,

Shlomi Fish

-- 
-
Shlomi Fish   http://www.shlomifish.org/
"The Human Hacking Field Guide" - http://shlom.in/hhfg

Bzr is slower than Subversion in combination with Sourceforge. 
( By: http://dazjorz.com/ )

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/




Re: learning perl scripting

2009-12-06 Thread Erez Schatz
2009/12/6 Shlomi Fish :
> Hi Agnello!

> That put aside, you really should work on writing your English text better.
> While one can understand it, the style (punctuation, capitalisation, spelling,
> etc.) is horrible.

Not as horrible as the tone of this comment. In Perl we accept that
different level of programmers "speak" in different dialects of Perl.
I suggest you apply the same criteria to people who are native to
other languages than English.

-- 
Erez

"The government forgets that George Orwell's 1984 was a warning, and
not a blueprint"
http://www.nonviolent-conflict.org/ -- http://www.whyweprotest.org/

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/




Re: learning perl scripting

2009-12-06 Thread Shawn H Corey
Agnello George wrote:
> Hi
> 
> i am basically a  a system administrator, and i have just joined this new
> company where my entire team are a group pf developers + system admins and i
> am the only system admin with out programming knowledge . i know a little of
> shell scripting from my previous company and i thought shell scripting was
> king ... but having joined this company every one is using a lot of persl to
> do a lot of log parsing ... DB interaction and lot of cool hashes related
> stuff ... but last one year i am trying to learn this language but dont seem
> to get a hold of it . sometimes i fell shell-scripting a is a lot more
> better and easier .. but my aim is to learn perl scripting ... i mean how
> does one get a real hold of this language ... !!
> 

Welcome to the world of Perl.

Some resources:


perldoc -- This program is installed when perl is.  It is used to access
 Perl's documentation.  To get a table of contents, type:  perldoc perl

You should read:  perldoc perlintro

perldoc is also available on-line at http://perldoc.perl.org/


CPAN (Comprehensive Perl Archive Network) -- http://www.cpan.org/

This is a library of Perl modules and objects.  If you have to do
something, chances are someone else has already done it and created a
module in CPAN.  You can search CPAN at http://search.cpan.org/


Some Perl trivia:

* Perl's motto is Tim Tow Tdi (There is more than one way to do it).
When you ask a question, expect more than one answer.

* Perl is the name of the language.  perl is the name of the program
that runs Perl scripts.  (Some people are picky about this.)


Enjoy your Perl programming.  :)


-- 
Just my 0.0002 million dollars worth,
  Shawn

Programming is as much about organization and communication
as it is about coding.

I like Perl; it's the only language where you can bless your
thingy.

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/




Re: learning perl scripting

2009-12-06 Thread Shlomi Fish
On Sunday 06 Dec 2009 13:10:58 Erez Schatz wrote:
> 2009/12/6 Shlomi Fish :
> > Hi Agnello!
> >
> > That put aside, you really should work on writing your English text
> > better. While one can understand it, the style (punctuation,
> > capitalisation, spelling, etc.) is horrible.
> 
> Not as horrible as the tone of this comment. In Perl we accept that
> different level of programmers "speak" in different dialects of Perl.
> I suggest you apply the same criteria to people who are native to
> other languages than English.
> 

I'm sorry if I sounded bad and I apologise for that. 

I agree that people are allowed to speak and write in sub-optimal or not 
perfectly native English. However, Agnello's text had many anti-patterns that 
illustrated that they (he?) didn't take the time to write it properly:

1. It lacked all capitalisation - including many lowercase i's instead of 
"I"'s.

2. It used many "ellipses" (dot-dot-dot - "...") and two dots - ".." instead 
of full stops - ".".

3. It wasn't separated into paragraphs where appropriate.

4. The punctuation was random and erratic.

Such proper negligence is unacceptable in any language, regardless of your 
level. People who read this would be more tempted (both consciously and sub-
consciously) to dismiss the writer as an idiot, and would be more inclined not 
to take them seriously.

I realise that there's what chromatic calls Baby Perl:

http://www.modernperlbooks.com/mt/2009/03/turning-baby-perl-into-grownup-
perl.html

(short URL - http://xrl.us/bgfks2 ).

However, this is bad English writing with some conscious mistakes that should 
and can be avoided. I apologise about the tone, but sloppy writing usually 
indicates sloppy programming:

* http://www.joelonsoftware.com/articles/CollegeAdvice.html

* http://catb.org/~esr/faqs/hacker-howto.html#skills4

* http://tech.groups.yahoo.com/group/hackers-il/message/817

Regards,

Shlomi Fish


-- 
-
Shlomi Fish   http://www.shlomifish.org/
"Star Trek: We, the Living Dead" - http://shlom.in/st-wtld

Bzr is slower than Subversion in combination with Sourceforge. 
( By: http://dazjorz.com/ )

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/




Re: learning perl scripting

2009-12-06 Thread Shawn H Corey
Shlomi Fish wrote:
> I agree that people are allowed to speak and write in sub-optimal or not 
> perfectly native English.

It is assumed that if a post is not in proper English, then the poster's
mother tongue is not English.  Writing correctly in a language you are
only vaguely familiar with is difficult; you should try it sometime.  :)

And please don't assume that all languages are punctuated the same as
English; they're not.  Bad punctuation like bad word choice often do
make sense in the poster's mother tongue.

Of course, for those of us whose mother tongue is English, it is
appropriate to write in proper English so that others can learn how.

But writing in cell-text is just bad form.


-- 
Just my 0.0002 million dollars worth,
  Shawn

Programming is as much about organization and communication
as it is about coding.

I like Perl; it's the only language where you can bless your
thingy.

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/




Re: learning perl scripting

2009-12-06 Thread Dermot
2009/12/6 Agnello George :
> Hi

Welcome

> i am basically a  a system administrator, and i have just joined this new
> company where my entire team are a group pf developers + system admins and i
> am the only system admin with out programming knowledge . i know a little of
> shell scripting from my previous company and i thought shell scripting was
> king ... but having joined this company every one is using a lot of persl to
> do a lot of log parsing ... DB interaction and lot of cool hashes related
> stuff ... but last one year i am trying to learn this language but dont seem
> to get a hold of it . sometimes i fell shell-scripting a is a lot more
> better and easier .. but my aim is to learn perl scripting ... i mean how
> does one get a real hold of this language ... !!
>

I came to Perl because I am a sys-admin. I started with awk and sed
but, like your colleagues, found Perl far more far-reaching (ahh
awk2perl).  I started with moving and renaming files around the file
system, taking disk-space stats then later putting those stats on a
web interface. I'm still no expert. I regularly suffer from days where
I crave to know more and understanding, seems tantalizingly, out of
reach. You are going to have to leave the safety of shell-scripting
that you are comfortable with and force yourself to do the
un-comfortable and perform all your tasks with perl. You may even have
to do a little work at home at times :)
Good luck,
Dp.

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/




Need help in Learning

2010-11-26 Thread Umashankar
Hi All,

I started my career in a software firm, am working in PERL platform.
Can some one guide me by providing some online tutorials, course
materials links.

Thanks Much,
Uma


-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/




Re: learning WWW::Mechanize

2007-11-12 Thread Rob Dixon

newBee wrote:

Hi after going over the FAQ and the examples I decided to write a
small script to understand the WWW::Mechanize module. Since Google has
one field and two buttons I thought this would be a straight forward
one. So I wrote the fallowing script. At the end of the script I
thought the script will fill up the Google search text box and give me
the search results but it didn't work. It will be a great help if
someone could take a look at it...

#!/usr/bin/perl

use WWW::Mechanize;

$queryString = 'HelloWorld';
$url = 'http://www.google.com/';
my $mechObject = WWW::Mechanize->new( autocheck => 1 );
$mechObject -> get($url);
print $mechObject -> content;

$mechObject->form_number(1);
$mechObject->field("q", $queryString);
$mechObject->click("btnG");

thanks inadvance,


First of all, before asking for help on this forum please

  use strict;
  use warnings;

at the start of your program, and declare all your variables using 'my'.

Having said that, you program works fine for me. What did you expect it
to do that it fails at?

Rob

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/




RE: learning WWW::Mechanize

2007-11-12 Thread Dan Fish
Assuming what you are really looking for from this is the page returned by
the search, then you need to move the line:
 
print $mechObject -> content;

to the end.

-Dan
---
#!/usr/bin/perl

use strict;
use warnings; 
use WWW::Mechanize;
 
my $queryString = 'HelloWorld';
my $url = 'http://www.google.com/';
my $mechObject = WWW::Mechanize->new( autocheck => 1 ); 
$mechObject -> get($url);

$mechObject->form_number(1);
$mechObject->field("q", $queryString);
$mechObject->click("btnG");

print $mechObject -> content;


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/




questions from Learning Perl

2008-04-06 Thread itshardtogetone
Hi,
I am doing some homework from the book Learning Perl chapter 4 excercise 1,
Looking at the script below, I wonder why line 6 (print "Enter some numbers on 
separate line: ";) is not printed immediately after the previous print.
Thanks


use strict;
use warnings;
my @fred = qw/1 3 5 7 9/;
my $fred_total = &total(@fred);
print "The total of [EMAIL PROTECTED] is $fred_total.\n";
print "Enter some numbers on separate line: "; ## line 6
my $user_total = &total();
print "the total of those numbers is $user_total.\n";
  
sub total {  
 my $sum;
 foreach (@_){
  $sum += $_;
 }
 $sum;
}

  1   2   3   4   5   >