ent as a string
> (since numbers between 20 and 30 also triggers the loop (when
> $mindet=200 and $maxdet=300). Any idea what I am doing wrong???
You might have that problem if you were using the 'gt' and 'lt' operators
however your code is using the '>' and
I have a code where I want to check wether a number is bigger than or
smaller than some
limits, $maxdet and $mindet. These two values are given on the
command line using the
Getopt::Long module.
However it seems like the code evaluates the if statement as a string
(since numbers between
20
Hi all,
I don't have underlined the row 382 because it seems irrilevant (for
me) and so I have forget it! Sorry. Thank you,
Vincenza
# store exon
my @exons = @{$transcript->get_all_Exons()};
my ($ontology_exon, $exon_start, $exon_end, $exon_strand);
unless ($transcript->translation){
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Vincenza Maselli) writes:
>I got this error when run my scripts:
>Useless use of numeric gt (>) in void context at
>/Users/vincenza/src/gfdb/modules/Bio/DBLoader.pm line 382.
>Useless use of private variable in void context
Could you please clearly point out which is line 382.
Just post line 382 and/or line 382 and the surrounding block.
Regards,
Michael S. E. Kraus
Software Developer
Wild Technology Pty Ltd
___
ABN 98 091 470 692
Level 4 Tiara, 306/9 Crystal Street, Waterloo NSW 2017,
Why don't you try trimming everything out except the block that
encloses line 382 and post that.
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Lawrence Statton - [EMAIL PROTECTED] s/aba/c/g
Computer software consists of only two components: ones and
zeros, in ro
Hi all,
I got this error when run my scripts:
Useless use of numeric gt (>) in void context at
/Users/vincenza/src/gfdb/modules/Bio/DBLoader.pm line 382.
Useless use of private variable in void context at
/Users/vincenza/src/gfdb/modules/Bio/DBLoader.pm line 382.
below is the code:
have some
>>>>> "Paul" == Paul Kraus <[EMAIL PROTECTED]> writes:
Paul> I understand that the eq and gt are for string comparisons but why not just
Paul> use the mathematical ones of == or >. This goes for functions open ... or
Paul> compared to open .. ||
Becau
--As off Wednesday, January 14, 2004 10:34 AM -0500, Paul Kraus is
alleged to have said:
I understand that the eq and gt are for string comparisons but why
not just use the mathematical ones of == or >. This goes for
functions open ... or compared to open .. ||
--As for the rest, it is m
Because the following has different return values:
beta > alpha (is false)
beta gt alpha (is true)
alpha eq alpha (is true)
alpha == alpha (is ... I don't know, undef maybe?)
For || and or, they have different precedence rankings (so you have to adjust your
bracketing when exchang
On Jan 14, 2004, at 9:34 AM, Paul Kraus wrote:
I understand that the eq and gt are for string comparisons but why not
just
use the mathematical ones of == or >.
Because we want Perl to magically convert our variables to whatever we
currently mean (number or string) without making us j
I understand that the eq and gt are for string comparisons but why not just
use the mathematical ones of == or >. This goes for functions open ... or
compared to open .. ||
Paul Kraus
---
PEL Supply Company
Network Administrator
---
800 321-1264 T
On Fri, 27 Sep 2002, Jeff 'japhy' Pinyan wrote:
> On Sep 27, [EMAIL PROTECTED] said:
> >Is there a simple way to find if a variable's value is within a range?
> > if (1 < $x < 5) { print 'foo'; }
> >...or do I have to join two separate comparisons using the logical AND
> >operator? e.g.,
> > if
On Sep 27, [EMAIL PROTECTED] said:
>Is there a simple way to find if a variable's value is within a range?
>e.g.,
>
> if (1 < $x < 5) { print 'foo'; }
You can't do that until Perl 6.
>or do I have to join two separate comparisons using the logical AND
>operator? e.g.,
>
> if (1 < $x and $
Hello, All:
Is there a simple way to find if a variable's value is within a range?
e.g.,
if (1 < $x < 5) { print 'foo'; }
or do I have to join two separate comparisons using the logical AND
operator? e.g.,
if (1 < $x and $x < 5) { print 'foo'; }
--
Eric P.
Sunnyvale, CA
--
To un
depending on the locale!
- Original Message -
From: "Hanson, Robert" <[EMAIL PROTECTED]>
To: "'Naveen Parmar'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, January 15, 2002 7:16 PM
Subject: RE: gt
> Yes, but it is "
yes. 'gt' is used for strings and '>' would be the numerical equivalent.
lt = less than
eq = equal
ne = not equal
-Original Message-
From: Naveen Parmar [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 15, 2002 2:03 PM
To: [EMAIL PROTECTED]
Subject: gt
I
Yes, but it is "greater than" in a character code sense. So "b" (ASCII 98)
is greater than "a" (ASCII 97), but "A" (ASCII 65) is less than "a". So if
you need to compare 2 strings disregarding case you would want this:
lc($word1) gt lc($wo
Is the following correct? Does 'gt' stand for 'greater than'?
$word1 gt $word2 -- The string $word1 comes after $word2
- NP
_
MSN Photos is the easiest way to share and print your photos:
http://ph
19 matches
Mail list logo