The best thing to do for FInfo is *not* to dereference is, but to call the
supplied methods.

`man Mac::Files` and look for FInfo, and see:

       FInfo
           Information for a file, including:

               OSType     fdType            the type of the file
               OSType     fdCreator         file's creator
               U16        fdFlags           flags ex. hasbundle,invisible,
                                            locked, etc.
               Point      fdLocation        file's location in folder

Best to use $info_ref->fdType and $info_ref->fdCreator.  The resulting
scalar on derference, "JPEG8BIM", is not really what it appears, as it has
packed bits for fdFlags and fdLocation, and is length 16, not 8.

OK, yes, it is a bit odd to use a SCALAR ref for that, but you should be
using the methods so you don't need to care.  :-)

-- 
Chris Nandor                      [EMAIL PROTECTED]    http://pudge.net/
Open Source Technology Group       [EMAIL PROTECTED]     http://ostg.com/

Reply via email to