in reply to Re^3: Accessing a scalar value in another subroutine?
in thread Accessing a scalar value in another subroutine?
yes, avoiding runtime costs is the real problem.
> The only example I've seen that makes any logical sense at all (to me), is the ability to query the information in a repl.
docstrings are mostly oneliners (at least in elisp)
Other applications are methodbrowsers/tabexpansions showing additional infos.
Or tooltips in IDEs when hovering the mouse over a method call.
PODs are not DRY, the subname must be repeated, docstrings are automatically at the right place.
see also:Re^2: Accessing a scalar value in another subroutine?
Cheers Rolf
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Accessing a scalar value in another subroutine?
by BrowserUk (Patriarch) on Sep 23, 2012 at 21:54 UTC |