Hello all,

do you know a short way to check for a localized system?

I could of course check the 'vers' resource of the System file
but try to avoid the effort in the moment.

This:

  #!perl
  use Mac::Gestalt;
  my $version = join '.', split //, sprintf "%x"
    $Gestalt{gestaltSystemVersion()};
  print $version;

will only show "9.1.0" rather the "D1-9.1.0" visible in
Finder's Get Info display. With "D1" I can guess the location :)


Thanks,
Axel.

-- 
(signature intentionally left blank)

Reply via email to