View Single Post
Old 11-20-2003, 12:57 AM   #1 (permalink)
juanvaldes
Banned
 
Location: shittown, CA
So ya want to learn perl do ya?

I'm kinda on the bored side and since I have been picking up php lately I figured I'd follow in the spirit of the php newbies thread and make one for perl. Perl is often called the glue language because it is varey flexable and can be used in all sorts of situations for all sorts of purposes.

So lesson 1 - What makes a perl program? /Comments

Code:
#!/usr/bin/perl
# This is a comment

# Any time you want to make a comment
# you need to use the pound sign '#'

# now the key to running any perl program is the first line.
#    #! (read as pound-bang) followed by the path to your perl executable. 
# /usr/bin on my system. 
# this lines tells the system what kind of file this is and what to do with it.
So there ya go a perl program that does absolutly jack shit.
juanvaldes is offline  
 

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76