[PEPr] Comment on Text::PathArray
| From: | Matthew Weier O'Phinney | Date: | Thu, 04 May 2006 20:03:01 +0000 |
| Subject: | [PEPr] Comment on Text::PathArray | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-42443@lists.php.net to get a copy of this message | ||
Matthew Weier O'Phinney (http://pear.php.net/user/weierophinney) has commented on the proposal
for Text::PathArray.
Comment:
I like it. Some comments:
* A load() method that would load up a new string would be nice; that way
the same object could be utilized many times.
* If you'd be willing to walk the PHP5 path, you could use overloading to
mimic your get() method: $path->golden, etc.
* It might be cool to be able to build paths based on an array and/or
associative array.
Proposal information:
http://pear.php.net/pepr/pepr-proposal-show.php?id=393
--
Sent by PEPr, the automatic proposal system at http://pear.php.net