(no need to use named variables btw - just work with the contents of the input)sub meth1 { return 0 if $#_ == -1; return $_[0] if $#_ == 0 || $_[0] > $_[1]; return $_[1]; }
In reply to Re: Dealing with Use of uninitialised Values warning
by TedPride
in thread Dealing with Use of uninitialised Values warning
by kiat
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |