it seems.. no
> Perl does not "use the /etc/hosts file". It's using the same network stack as the rest of the machine. It is the network layer that is using /etc/hosts.
PS I confirm that it should work: test it this way
# HOSTS # 127.0.0.1 foo.example.com perl -MSocket -E"say inet_ntoa(inet_aton($ARGV[0]))" foo.example.com 127.0.0.1
L*
In reply to Re: Strawberry Perl: Windows hosts file not working?
by Discipulus
in thread Strawberry Perl: Windows hosts file not working?
by sectokia
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |