Guest User

Untitled

a guest
Jul 23rd, 2018
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. use strict;
  2. use warnings;
  3.  
  4. my $num = shift;
  5.  
  6. if ($num < 0) {
  7. print "under 0";
  8. }
  9. elsif ($num < 3) {
  10. print "under 3";
  11. }
  12. else {
  13. print "other";
  14. }
Add Comment
Please, Sign In to add comment