return if not $data; returns from sub sendX when $data is 0 (a false value).
See also: Truth and Falsehood, and Basic debugging checklist, especially point 2.
In reply to Re: "shift" not working as expected
by Anonymous Monk
in thread "shift" not working as expected
by ForeverLearning
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |