of course it's homework. though if the student would be so kind to
inform the list what the class's (and instructor's) best answer is to
#3, i'll be able to inform them whether the class is worth staying in.
seriously, it's a much harder question than it seems.

also, the cool way of answering #1 would be to break the ip and base
address into binary, get the subnet, generate a broadcast and figure
out if you're in scope or not. otoh, he didn't ask for a valid
address, so there goes the coolness. oh well.

#2 and #4 are shit questions. #2 is a simple regex. #4 is a lookup table.

if you're going to ask homework questions here, either make sure to
obscure them (ie, don't be such a dumb ass and just copy/paste) or try
to solve it, if you can't, let us know what you've tried and that it's
homework and you'll probably get better help (probably the better
option). this time, it looks like you'll have to either hold off on
the partying for a while while you figure it out or drink and be
content with the fact that you're going to miss this assignment.
choose.

On Fri, Aug 31, 2012 at 2:25 PM, Paul Anderson <wackyvor...@me.com> wrote:
> I smell homework:p
>
> --------
> Paul Anderson -- VE3HOP
>
> On 2012-08-29, at 12:46 PM, Ashwin Rao T <ashwin...@gmail.com> wrote:
>
>> 1)Check if IP address is in the range 172.125.1.0 and 172.125.25.0 using only
>> return functions & regular expressions in Perl.
>> 2)Check if the name is valid (has atleast 3 letters and one vowel) using only
>> return functions and regular expressions in Perl.
>> 3)Check if email address is valid using only return functions and regular
>> expressions in Perl.
>> 4)Convert the number into words using only return functions and regular
>> expressions in Perl. (15 => one five)
>>
>>
>>
>>
>> --
>> To unsubscribe, e-mail: beginners-unsubscr...@perl.org
>> For additional commands, e-mail: beginners-h...@perl.org
>> http://learn.perl.org/
>>
>>
>
> --
> To unsubscribe, e-mail: beginners-unsubscr...@perl.org
> For additional commands, e-mail: beginners-h...@perl.org
> http://learn.perl.org/
>
>

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to