macports.tcl ::PortInfo

Daniel J. Luke dluke at geeklair.net
Fri Jun 3 19:02:19 PDT 2011


On Jun 3, 2011, at 6:19 PM, Bradley Giesbrecht wrote:
> 
> proc mportinfo {mport} {
>    set workername [ditem_key $mport workername]
>    return [$workername eval array get ::PortInfo]
> }
> 
> What is ::PortInfo?

:: is the tcp namespace seperator (http://www.tcl.tk/man/tcl8.4/TclCmd/namespace.htm)

::PortInfo is the global PortInfo variable (see src/port1.0/portutil.tcl)

--
Daniel J. Luke                                                                   
+========================================================+                        
| *---------------- dluke at geeklair.net ----------------* |                          
| *-------------- http://www.geeklair.net -------------* |                          
+========================================================+                        
|   Opinions expressed are mine and do not necessarily   |                          
|          reflect the opinions of my employer.          |                          
+========================================================+





More information about the macports-dev mailing list