I am trying to make an if statement to have multiple constraints.
Can it be done using perl??
I have so far:
$serial = `cut -d : -f 3 serial.txt`;
print ("$serial"
;
chomp ($serial);
if ($serial (>= 2000000) && (<= 2600000))
{
print ("$serial is greater than 2000000 Woah!\n"
;
}
This didn't work anybody have any suggestions?
[sig][/sig]
Can it be done using perl??
I have so far:
$serial = `cut -d : -f 3 serial.txt`;
print ("$serial"
chomp ($serial);
if ($serial (>= 2000000) && (<= 2600000))
{
print ("$serial is greater than 2000000 Woah!\n"
}
This didn't work anybody have any suggestions?
[sig][/sig]