in reply to Re: Simplifying code (Not obfuscation)
in thread Simplifying code (Not obfuscation)
A refreshing and totally unexpected tone of reply. I often see comments about more than one way..., but often there does seem to be a preferred way and/or a best practise way.
I have already read the strict/warnings node and commented in agreement with it (My first post actually). I do use warnings but must admit that I don't tend to use strict. I'm trying to get myself into the habbit of doing so for 'production' code.
In terms of testing the result of system would something like the below be appropriate?
if ($var = `system thingy`) || die "Failed to get return from call to system\n";
Thanks for the comments, encouragment and suggestions.
I have already read the strict/warnings node and commented in agreement with it (My first post actually). I do use warnings but must admit that I don't tend to use strict. I'm trying to get myself into the habbit of doing so for 'production' code.
In terms of testing the result of system would something like the below be appropriate?
if ($var = `system thingy`) || die "Failed to get return from call to system\n";
Thanks for the comments, encouragment and suggestions.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Re: Simplifying code (Not obfuscation)
by zakb (Pilgrim) on Mar 04, 2003 at 11:29 UTC | |
by 2mths (Beadle) on Mar 04, 2003 at 11:38 UTC | |
Re: Re: Re: Simplifying code (Not obfuscation)
by Molt (Chaplain) on Mar 04, 2003 at 11:35 UTC | |
by 2mths (Beadle) on Mar 04, 2003 at 12:13 UTC | |
by Molt (Chaplain) on Mar 04, 2003 at 13:56 UTC | |
by 2mths (Beadle) on Mar 04, 2003 at 15:35 UTC | |
by parv (Parson) on Mar 04, 2003 at 22:02 UTC |
In Section
Seekers of Perl Wisdom