From: Alan Nichols <Alan.Nichols@EBay.Sun.COM>
>Ok, I looked at the anichols/switches/map_port.pl in cricket-contrib that
>actually does this, but I can't make it work. Somehow I don't think the
>collector evaluates 'inst = "map_port($target)"' at all. Has anyone got
>this working on cricket-0.67?
Some internals of cricket changed between 0.63 (when I tested and released
that) and between 0.67. You can get that code to work by changing every
instance of expandString to ConfigTree::Cache::expandString.
-------------------------------------------------------------------------
Email: Alan.Nichols@Sun.COM Phone:(408)276-1306
Pager: Alan.Nichols@pager.ebay.sun.com or (650)940-0687
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS/PA d- s:+ a- C++(++++)$ USC++++$ P++(+++)$ L>++++ E+(+++)$
W+(+++)$ N+$ o--- !K w--- O? M- V+ PS@ PE@ Y+>+++$ PGP?>+++ t+ !5 X+
R* tv b+++>++++ DI++++ D++ G e++ h--- r++ y+++
------END GEEK CODE BLOCK------
--------------------------- ONElist Sponsor ----------------------------
How has ONElist changed your life?
Share your story with us at http://www.onelist.com
------------------------------------------------------------------------
This archive was generated by hypermail 2b29 : Mon Mar 06 2000 - 19:00:55 PST