in reply to unix to perl questions
It looks like you've got the general idea fairly well, but you're right that there are quite a few syntax issues to work out. First, it looks like you've written this in a program like Microsoft Word, resulting in incorrect capitalization, quoting characters, and such. I suggest you work with a plain text editor, or even better, a programmer's editor with syntax highlighting (depending on your preferred OS and windowing system we can make some suggestions).
To learn the syntax, it's probably best to take a step back and first get a very short Perl script working, and then extend it with the features that you need. I recommend you start with perlintro, a short but very good introduction that will show you many of the things that you need for your script.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: unix to perl questions
by deyaneria (Acolyte) on Mar 12, 2015 at 00:25 UTC | |
by GrandFather (Saint) on Mar 12, 2015 at 08:56 UTC | |
by deyaneria (Acolyte) on Mar 12, 2015 at 16:50 UTC | |
by GrandFather (Saint) on Mar 12, 2015 at 20:23 UTC | |
by deyaneria (Acolyte) on Mar 12, 2015 at 20:38 UTC |