I'm looking at the $item arrayref in real_install() and trying to
figure out what each element represents.  I've noticed something
interesting.  $item->[1] ($pkgobj from Fink::Package->package_by_name) is 
never used.

I've replaced all the $item->[#] calls with constants.  At the moment the
names are pretty bland.  PKGNAME, PKGOBJ, PACKAGE, OP and FLAG.  I don't
really know what these things are, particularly OP and FLAG.  I also
don't know what the different (if any) is between PACKAGE and PKGOBJ.
The former comes from Fink::PkgVersion->match_package() the latter from
Fink::Package->package_by_name().  PACKAGE looks like its a PkgVersion
object maybe?

Could someone explain?


-- 
Michael G Schwern        [EMAIL PROTECTED]  http://www.pobox.com/~schwern/
Monkey tennis


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to