Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Unix and Perl

by blue_cowdawg (Monsignor)
on May 31, 2006 at 00:52 UTC ( [id://552667]=note: print w/replies, xml ) Need Help??


in reply to Unix and Perl

      How important is a Unix background when someone wants to learn Perl?

<rhetorical question>
How necessariy is it to know how the engine in a car works in order to drive it?
</rhetorical question>

When I taught a course in Intermediate Unix for Programmers at a local college in NYC I used Perl as a programming language to demonstrate how certain Unix functions worked and allow the students to programatically manipulate those functions in an interpreted environment rather than teach them C programming.

As some folks on this thread have already pointed out Perl is portable and runs on many platforms including Windows and therefore is not tied to Unix. A readdir for instance works the aame (more or less) in Windows as it does in Linux for instance. On the Unix platform it just turns out readdir is a standard C library call. (not sure about Windows.. not my thing.)

So, no, you don't need to know much about Unix of any flavor to use Perl and no it doesn't even help much. More important is to learn general programming methodology and concepts. Knowledge of data structures is a big help but that isn't even 100% necessary. Certainly knowledge of algorithms (sorting, etc.) is a big help. That can make the difference between a fairly good piece of code and rotten code.


Peter L. Berghold -- Unix Professional
Peter -at- Berghold -dot- Net; AOL IM redcowdawg Yahoo IM: blue_cowdawg

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (None)
    As of 2024-04-25 00:23 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found