• +91 9723535972
  • info@interviewmaterial.com

Perl Interview Questions and Answers

Question - How do you match one letter in the current locale?

Answer - /[^\W_\d]/ We don't have full POSIX regexps, so you can't get at the isalpha() macro save indirectly. You ask for one byte which is neither a non-alphanumunder, nor an under, nor a numeric. That leaves just the alphas, which is what you want.

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners