On Mon, Aug 30, 2010 at 2:25 AM, Uri Guttman u...@stemsystems.com wrote:
but i never use until anyhow. i use unless a fair amount as i don't like
if ( ! EXPR). my current boss has asked me to stop using unless but i am
not stopping.
It seems silly to use unless, but never use until. :) I think
On Wednesday 01 September 2010 18:06:37 Brandon McCaig wrote:
On Mon, Aug 30, 2010 at 2:25 AM, Uri Guttman u...@stemsystems.com wrote:
but i never use until anyhow. i use unless a fair amount as i don't like
if ( ! EXPR). my current boss has asked me to stop using unless but i am
not
On Wed, Sep 1, 2010 at 11:06, Brandon McCaig bamcc...@gmail.com wrote:
On Mon, Aug 30, 2010 at 2:25 AM, Uri Guttman u...@stemsystems.com wrote:
but i never use until anyhow. i use unless a fair amount as i don't like
if ( ! EXPR). my current boss has asked me to stop using unless but i am
not
On Wed, Sep 1, 2010 at 11:12, Shlomi Fish shlo...@iglu.org.il wrote:
On Wednesday 01 September 2010 18:06:37 Brandon McCaig wrote:
On Mon, Aug 30, 2010 at 2:25 AM, Uri Guttman u...@stemsystems.com wrote:
but i never use until anyhow. i use unless a fair amount as i don't like
if ( ! EXPR).
On 10-09-01 11:37 AM, Chas. Owens wrote:
I don't care if you use unless or if, but please don't use if (!).
Say if (not) instead. The looser binding makes it easier to use and
the fact that it is three letters long (rather than one skinny
character long) makes it some much easier to see.
You
On Wed, Sep 1, 2010 at 12:12, Shawn H Corey shawnhco...@gmail.com wrote:
On 10-09-01 11:37 AM, Chas. Owens wrote:
I don't care if you use unless or if, but please don't use if (!).
Say if (not) instead. The looser binding makes it easier to use and
the fact that it is three letters long
On Wed, Sep 1, 2010 at 12:12 PM, Shawn H Corey shawnhco...@gmail.com wrote:
Of course, if you want to make the purists cringe:
if( some_condition ){
# this space intentionally left blank
}else{
do_work();
}
I actually have at least one colleague that does that (not at
Castopulence[1],
On Wed, Sep 01, 2010 at 01:00:21PM -0400, Brandon McCaig wrote:
On an unrelated note, what is correct quoting etiquette when you only
want to quote part of a line?
This is how I do it:
Above, I just reformatted the quote onto
a single line beginning at the
JG == Jim Gibson jimsgib...@gmail.com writes:
JG The unless construct above is correct. The 'until' construct is
JG not. 'until' can only occur at the end of a block preceded by 'do' or
JG at the end of a statement as a modifier.
JG do {
JG ...
JG } until( condition );
until
Hi All
I a newbie to perl. Reading through some of its basics on if constructs
, while constructs and so i also found a the unless and until constructs.
let me take the if construct ,
basically it is like this : if (condition) { .}
now in the above construct if the condition evaluates
At 9:53 AM +0530 8/30/10, Jatin Davey wrote:
Hi All
I a newbie to perl. Reading through some of its basics on if
constructs , while constructs and so i also found a the unless and
until constructs.
let me take the if construct ,
basically it is like this : if (condition) { .}
now in
Thanks Jim
I got the understanding from this sample code as well:
#!/usr/bin/perl
use warnings;
use strict;
print Enter your age : ;
unless ((my $age = STDIN) 18) {
print you can vote \n;
}
Thanks
Jatin
On 8/30/2010 11:15 AM, Jim Gibson wrote:
At 9:53 AM +0530 8/30/10, Jatin Davey wrote:
12 matches
Mail list logo