Name

requires_firewall

Synopsis

requires_firewall(host)

Determines if host is outside of your firewall. Possible return values are:

-1

Cannot look up hostname

0

Host is inside firewall (or there is no FTP_firewall entry)

1

Host is outside the firewall

Get Perl in a Nutshell, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.