azadian has asked for the wisdom of the Perl Monks concerning the following question:
IO::Prompter returns an object which gets auto-stringified, except when it doesn't...perl -MIO::Prompter -e '$ret = prompt -num,"number:" ; prompt -num,-de +f=>$ret, "another:"'
How can I explicitly extract the string/number from the object?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: IO::Prompter return object
by TheDamian (Vicar) on Feb 18, 2026 at 08:59 UTC | |
|
Re: IO::Prompter return object
by ikegami (Patriarch) on Feb 17, 2026 at 21:56 UTC | |
by azadian (Beadle) on Feb 18, 2026 at 07:54 UTC | |
by 1nickt (Canon) on Feb 18, 2026 at 08:27 UTC |