my $based_on = $ARGV[0] ? shift: 'tp'; my $top = $ARGV[0] ? shift: 1; print "$based_on $top\n";
In reply to Re: Ternary Operator for Multiple Arguments Passing
by reneeb
in thread Ternary Operator for Multiple Arguments Passing
by neversaint
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |