Re: Critcize my scripts.



Thank you John and Wiggins for your time and
feedbacks.

Loan

--- "John W. Krahn" <krahnj@xxxxxxxxx> wrote:

> 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:
> beginners-unsubscribe@xxxxxxxx
> For additional commands, e-mail:
> beginners-help@xxxxxxxx
> <http://learn.perl.org/>
> <http://learn.perl.org/first-response>
>
>
>




____________________________________________________
Yahoo! Sports
Rekindle the Rivalries. Sign up for Fantasy Football
http://football.fantasysports.yahoo.com
.



Relevant Pages

  • Re: How do I import many names & addresses in a Letter to a Word D
    ... wrote:>Type: Individual>ContactFirstName: John ... There are some scripts on my website for handling this sort of thing. ... John Nurick [Microsoft Access MVP] ...
    (microsoft.public.access.externaldata)
  • Re: Way Kool ! - Wizards of Winter
    ... good-sized group of people using this controller. ... The scripts are played on a timed event basis so don't run continuously ... addition to Xmas lights it would be great for church & school plays, ... >> John W ...
    (comp.home.automation)
  • Tom-> session hijacking (3)
    ... Dicky...nice name you picked pretty close to what I picked for him, but John ... Holmes picked something similar for himself so watch out or he could be mad ... option of legally changing....I checked those scripts thoroughly...its only ... the sessions where there's a problem. ...
    (php.general)
  • Re: [slrn] Scorefile dummy question
    ... Subject: John ... Subject: Smith ... scripts can be copy/pasted safely. ... The %BOS and %EOS marks in slrn's scorefile syntax are for the benefit of ...
    (news.software.readers)
  • Re: cpp-style include for perl?
    ... I was peacefully napping until Uri Guttman said: ... > The scripts are meant to be run from $path and within a dir containing ... perldoc -f opendir ... Sinan Unur ...
    (comp.lang.perl.misc)