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

[MacPerl] Mac::InternetConfig



Hi!

The following script has some problems:

- it produces warnings because of -w - is there a patch available?
- it doesn't work, it produces "()" - any idea what is wrong?

-- the script --

#!/usr/bin/perl -w
use strict;
use Mac::InternetConfig;

my $inst = ICStart;
ICBegin $inst, icReadOnlyPerm;
my $realname = ICGetPref $inst, kICRealName;
my $email = ICGetPref $inst, kICEmail;
ICEnd $inst;
ICStop $inst;

print "$email ($realname)\n";

-- produces --

# Ambiguous use of {index} resolved to {"index"}.
File 'Macintosh HD:Development:MacPerl Ä:lib:Mac:InternetConfig.pm'; Line
501
# Ambiguous use of {index} resolved to {"index"}.
File 'Macintosh HD:Development:MacPerl Ä:lib:Mac:InternetConfig.pm'; Line
503
# Ambiguous use of {index} resolved to {"index"}.
File 'Macintosh HD:Development:MacPerl Ä:lib:Mac:InternetConfig.pm'; Line
509
# Use of uninitialized value.
File 'Macintosh HD:Desktop Folder:testic'; Line 12
# Use of uninitialized value.
File 'Macintosh HD:Desktop Folder:testic'; Line 12
 ()
# Use of uninitialized value during global destruction.

any idea?

bye, Georg

-- 
"Sicher ist, das nichts sicher ist. Aber selbst das nicht."
 - Ringelnatz

***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch