loan tran wrote:
Please critize my scripts and suggest better ways to
accomplish the same task.
(I know it's a good practice to put use strict in Perl
script but I'm struggling to make my scripts work with
use strict.The script below work fine if I comment out
use strict.)

They look more like shell scripts than Perl programs.

Don't use qx() for everything, use Perl's built-in operators/functions or if you have to, use system().

perldoc perlop
perldoc perlfunc

Don't use an ampersand in front of function names.

perldoc perlsub


John
--
use Perl;
program
fulfillment

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to