posted by [identity profile] mobbsy.livejournal.com at 10:01pm on 08/06/2011
OOP Perl is awful, just avoid it.

When they say "there's more than one way to do it", they mean there's no right way to do it.

Get your head around refs sooner rather than later.

{ is not the same as ( is not the same as [ - if using one does something random, try the other; similarly with $ % and @. Being Perl, you won't always get an error for using the wrong one, just unexpected behaviour.

Just dump all your data into a bunch of hashes, it's easier.

$myData is not the same as $mydata; however both will happily work.

Nearly everything useful is in a CPAN library. CPAN won't be available in the next place you want to run your code. If it is, then chasing down all the package dependencies will be a major headache.

Date/time handling is terrible in the base language. (See above re CPAN).

Despite all that, it's sometimes the easiest option to use Perl.

October

SunMonTueWedThuFriSat
      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