At 10.42 -0500 1998.06.06, Georg Bauer wrote: >The following script has some problems: > >- it produces warnings because of -w - is there a patch available? That is a "feature" of the module, and your code. Ignore the ambiguous use warnings. The uninitialized warnings are your fault. :-) You need the line: ICGeneralFindConfigFile($inst); But here is a better way (IMO): #!/usr/bin/perl use strict; use Mac::InternetConfig; my $inst = ICStart(); ICGeneralFindConfigFile($inst); my $realname = $InternetConfig{kICRealName()}; my $email = $InternetConfig{kICEmail()}; ICStop $inst; print "$email ($realname)\n"; Matthias added the tied hash %InternetConfig to make it easier to access that stuff. -- Chris Nandor mailto:pudge@pobox.com http://pudge.net/ %PGPKey = ('B76E72AD', [1024, '0824090B CE73CA10 1FF77F13 8180B6B6']) ***** Want to unsubscribe from this list? ***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch