>>>>> ""D" == "Wagner, David <--- Senior Programmer Analyst --- CFS" 
>>>>> <david.wag...@fedex.com>> writes:

  "D>     printf "All STDOUT/STDERR will be assigned to this scripts audittrail 
log!!\n";
  "D>     printf "All STDOUT/STDERR will be assigned to this scripts audittrail 
log!!\n";
  "D>     printf "All STDOUT/STDERR will be assigned to this scripts audittrail 
log!!\n";

aside from your stdout issue, why are you calling printf when you are
not using any formats? use print which will be faster and clearer. if
you use printf, the person reading your code is told to look for %
formats and upon finding none will curse you out! :)

also you can send multiple strings to print so you don't need multiple
calls (this is also faster). and given strings like the above, a single
here doc would even be better, faster and more readable:

        print <<TEXT ;
All STDOUT/STDERR will be assigned to this scripts audittrail log!!
All STDOUT/STDERR will be assigned to this scripts audittrail log!!
All STDOUT/STDERR will be assigned to this scripts audittrail log!!
TEXT

uri

-- 
Uri Guttman  ------  u...@stemsystems.com  --------  http://www.sysarch.com --
-----  Perl Code Review , Architecture, Development, Training, Support ------
--------- Free Perl Training --- http://perlhunter.com/college.html ---------
---------  Gourmet Hot Cocoa Mix  ----  http://bestfriendscocoa.com ---------

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to