PDA

View Full Version : Perl Code


ashwinraot
Aug 29, 2012, 10:28 AM
1)Input ip address. Check if it is in the range 172.125.1.0 and 172.125.25.0 using return functions and regular expressions in Perl. Do not use parse functions.

2)Input a name. Check if it is valid (has at least 3 letters and one vowel) using return functions and regular expressions in Perl. Do not use parse functions.

3)Input email address. Check if it is valid using return functions and regular expressions in Perl. Do not use parse functions.

4)Input a number. Convert the number into words using return functions and regular expressions in Perl. Do not use parse functions.(15 => one five)