If $opt_x is false, $xmllocation is going to be the return value of print, which is most of the time 1.my $xmllocation = $opt_x || print "...";
Abigail
In reply to Re: Getopt problem
by Abigail-II
in thread Getopt problem
by Sara
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |