On Wednesday, May 15, 2002, at 01:50 , John W. Krahn wrote: > > $ perl -le' > $val = q/3.1415BOB/; > if ( $val =~ /^\d+/ and $val > 0 and $val <11) { > print "True" } > else { > print "False" } > > print 1 + $val; > ' > True > 4.1415
hum... how to say this a) try with if ( $val =~ /^\d+$/ and $val > 0 and $val <11) { b) having successfully truncated to a number that which was once full of bobNess - is that really good for the church of the sub-genius???? c) $val = q/3.14.28.123/ hum... what ever would that do? I rather expect it would convert a dotQuad to 4.14..... ciao drieux --- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]