Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: PERL newbie Cant figure out where to start

by Polonius (Friar)
on May 01, 2006 at 19:25 UTC ( [id://546738]=note: print w/replies, xml ) Need Help??


in reply to PERL newbie Cant figure out where to start

jwashburn,

As others have said:

  • It's Perl, not PERL.
  • Try O'Reilly's Learning Perl (the llama).

To that I would add:

An experienced programmer could skip straight to Programming Perl (the camel) but if, as you say, you have no programming background, you might find it a struggle. The llama is a gentler introduction.

I'm fairly new to Perl myself, but I could perhaps give you a gentle prod in the right direction:

open (XCACLS, "xcacls.txt") or die "Cant open file: $!\n"; while (<XCACLS>) { chomp; if (/regex goes here/) { code goes here } }

In place of "regex goes here", you need a regular expression.

Good luck!
Polonius

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://546738]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (2)
As of 2024-04-20 03:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found