Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: PERL newbie Cant figure out where to start

by jonadab (Parson)
on May 02, 2006 at 11:43 UTC ( [id://546868]=note: print w/replies, xml ) Need Help??


in reply to PERL newbie Cant figure out where to start

From what I can tell I need to start with open (XCACLS, "xcacls.txt") or die "Cant open file: $!\n"; But then I get stuck.

Okay, you're opening xcacls.txt for input. You can then read lines out of it with the <> operator, thusly:

$line = <XCACLS>

You probably also want to open a file for output:

open HTML, '>', "xcacls.html" or die "Cannot write xcacls.html: $!\n";

The best advice anyone has given you is to ditch the 21-Days book. The worst computer technical book I've ever read, and I've read some pretty lousy ones, was from that series (although it was the VB one, not the Perl one). In my experience, even "for Dummies" books are better than "... in 21 Days" books, but really you probably want to get an O'Reilly book, or use the online documentation, or both. Perlmonks is also a great resource, when you have specific questions or problems.

And yes, having a project to work on is a good way to learn a programming language. Each time you learn some new feature of the language, you can maybe apply it to your project, which gives you a feeling of progress. Extra bonus points if the project is a fun project, but any project at all is better than having nothing particular in mind.


Sanity? Oh, yeah, I've got all kinds of sanity. In fact, I've developed whole new kinds of sanity. Why, I've got so much sanity it's driving me crazy.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2024-04-24 06:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found