Help for this page

Select Code to Download


  1. or download this
    #!/usr/local/bin/perl -w
    # my_script_name.pl
    ...
    
    my $log_file = (split /\./, $0)[0] . '.log';
    print $log_file, "\n";
    
  2. or download this
    my_script_name.log
    
  3. or download this
    .log