Guest User

Untitled

a guest
May 29th, 2017
214
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Perl 0.19 KB | None | 0 0
  1. sub has-no-e($word) {
  2.     not defined index $word, "e"; //this will return correct answer
  3.  
  4.     # return False if $word.index("e");  //this way will return incorrect answer
  5.     # return True;
  6. }
Advertisement
Add Comment
Please, Sign In to add comment