[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] a question about InternetConfig Module



At 18.23 +0900 2000.06.08, Tetsuro Kurita wrote:
>?How to get a list of all protocols which is sat in Internet Config.
>I could not find keywords and methods to get list of protocols in
>InternetConfig.pm

Try this out:

#!perl -wl
use Mac::InternetConfig;

my $ich = kICHelper();
for (sort keys %InternetConfig) {
  next unless /^$ich(.+)$/;
  print $1;
}

__END__

-- 
Chris Nandor       |     pudge@pobox.com      |     http://pudge.net/
Andover.Net        | chris.nandor@andover.net | http://slashcode.com/

# ===== Want to unsubscribe from this list?
# ===== Send mail with body "unsubscribe" to macperl-request@macperl.org