perlquestion
Kevin_Raymer
I have taken your computer feedback to heart and cleaned up my code a little bit - I think this a lot more perl like and pretty technical.<br>
<br>
<code>
#!/usr/bin/perl -w
use strict;
system "netbackup/bin/admincmd/bpdbjobs -report -all_columns\n";
mail "xxxxxx@xxxxx.com
</code>
<br>
but still I get:<br>
<br>
<code>
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 line 7.<br>
Execution of ./nb.pl aborted due to compilation errors.
<br>
</code>
I had a real email address in there of course. This is really a challange it reminds me of the days of hacking AOL!
<br>
KR