use constant ERR => "Error in program"; use constant OK => "successfully run"; my $status = func(); sub func { # some code here... if (error) return "ERR"; else return "OK";
In reply to Re^2: constant variable using scaler variable
by luckypower
in thread constant variable using scaler variable
by luckypower
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |