Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    
    use strict;
    
  2. or download this
    use warnings;  # rather than -w
    
  3. or download this
    system "netbackup/bin/admincmd/bpdbjobs -report -all_columns\n";
    
  4. or download this
    mail "xxxxxx@xxxxx.com
    
  5. or download this
    campari:~ [18:37:59]$ perldoc -f mail
    No documentation for perl function `mail' found
    
  6. or download this
    mail "xxxxxx\@xxxxx.com";
    
  7. or download this
    mail 'xxxxxx@xxxxx.com';
    
  8. or download this
    Bareword "com" not allowed while "strict subs" in use at ./nb.pl line 
    +7.<br>
    Unquoted string "com" may clash with future reserved word at ./nb.pl l
    +ine 7.<br>
    Execution of ./nb.pl aborted due to compilation errors.
    <br>
    
  9. or download this
    String found where operator expected at foo2.pl line 7, at end of line
            (Missing semicolon on previous line?)
    Can't find string terminator '"' anywhere before EOF at foo2.pl line 7
    +.