Perl
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 S...

Comments
Post a Comment