thanks for the reply moritz but i'm assigning the value of $word64 based on a condition.Here is the code:
my $hw = `uname -i`; my $word64 = 1 if ( $hw =~/x86_64|ia32e/);
Now how can i use constant for this one?
In reply to Re^2: Unable to assign value to constants using ternary operator
by sathya_myl
in thread Unable to assign value to constants using ternary operator
by sathya_myl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |