Part 1 Recap of Datastructures Complex Data structures Anon CDS -Hashes Part 2 Regular Expressions Subroutines & Files Part 3 Modules CPAN/DBI/CGI/N-w ------------------------------------------------------- Perl identify the DS by the prefix symbol Scalar - $ - a value List - () Array - @ Hashes - % define a lexical scalar - my $a; default value scalar - undef how to check for undef - if(defined($a)){ } get input from keyboard - $a=<STDIN> # \n stops @arr=<STDIN> # EOF stops output to console - print STDOUT "Hello"; print "Hello"; Errors - print STDERR "message"; Uppercase of scalar - $name=uc($name); Lowercase of scalar - $name=lc($name); reverse of scalar - $name=reverse($name); Length of scalar - $len=length($name); Part of a string - $res=substr($str,index,len); others fns - index($str