in reply to Can you spot the problem?

254.3.2.1

25 strokes which is roughly -100 strokes to fix it :-)

sub isValidIP { #234567890123456789012345 use Socket;inet_aton(pop) }

cheers

tachyon

Replies are listed 'Best First'.
Re: Re: Can you spot the problem?
by ambrus (Abbot) on Mar 06, 2004 at 20:04 UTC

    Very good. I like that solution. But at that point you could more easily do this:

    use Socket;*isValidIP=\&inet_aton;