John M. Dlugosz has asked for the wisdom of the Perl Monks concerning the following question:
The obvious method is to pass a length in with the handle everywhere. That's crude, though, so bundling the length and the handle into an object seems better. But in Perl, we can go a step farther: how about a tied handle that knows about the length limit? Is there something like that already out there?
—John
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Length-limiting handle
by Cabrion (Friar) on Feb 20, 2003 at 00:21 UTC | |
|
Re: Length-limiting handle
by Zaxo (Archbishop) on Feb 20, 2003 at 00:32 UTC | |
by John M. Dlugosz (Monsignor) on Feb 20, 2003 at 05:30 UTC | |
|
Re: Length-limiting handle
by BrowserUk (Patriarch) on Feb 20, 2003 at 05:41 UTC |