Help for this page

Select Code to Download


  1. or download this
    sub test {
        print "nothing\n";
    ...
    my $var = 'test';
    &$var;
    # will call the sub, if you are not using strict.
    
  2. or download this
    #!/usr/bin/perl -w
    use strict;
    ...
    for ('who', 'what') {
            print $_, "?\t", $camel->$_, "\n";
    }