in reply to Interesting SEEK behavior on tied filehandle
Many tie methods force their arguments into more regular forms. You can't get anything but non-negative integers for indices into tied arrays ($x[-1] calls $obj->FETCH( $obj->FETCHSIZE() -1 ), for example). You can't use nor return a list where you would usually have a scalar. And so on...
An exception appears to be that you can get more than just the string value for keys passed to tied hashes (and I suspect this was not always the case).
- tye
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Interesting SEEK behavior on tied filehandle ($x[-@x-1])
by ikegami (Patriarch) on Aug 02, 2006 at 20:29 UTC |