Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    # script test_main.pl
    ...
    
    my $var = test1::abc('test.pl');
    print $var,"\n";
    
  2. or download this
    # file test1.pm
    package test1;
    ...
        my $file = shift;
        my $variable = do $file;
    }
    
  3. or download this
    # file test.pl
    my $time = scalar localtime time;
    $time;