in reply to Mojo::UserAgent Can't locate object method "say"
say is a feature available since Perl v5.10, but it's not enabled by default. Look at the documentation:
This keyword is available only when the "say" feature is enabled, or when prefixed with CORE:: ; see feature. Alternately, include a use v5.10 or later to the current scope.
Just add "use v5.10;" to your code. Or replace "use strict;" with "use v5.14;" - this enables strict by default.
- Luke
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Mojo::UserAgent Can't locate object method "say"
by yuppie (Initiate) on Nov 19, 2014 at 19:36 UTC | |
by blindluke (Hermit) on Nov 19, 2014 at 19:56 UTC | |
by yuppie (Initiate) on Nov 19, 2014 at 21:30 UTC | |
by ww (Archbishop) on Nov 19, 2014 at 22:07 UTC | |
by yuppie (Initiate) on Nov 19, 2014 at 22:27 UTC | |
by Anonymous Monk on Nov 20, 2014 at 00:37 UTC |