in reply to Better syntax for dynamic method on internal object ?
$self->{RESPONSE} = $self->{UA}->$methodref( $url, $att{VALUE} ? (Content => + to_json($att{VALUE})) : (), );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Better syntax for dynamic method on internal object ?
by NetWallah (Canon) on Sep 24, 2015 at 02:48 UTC | |
by choroba (Cardinal) on Sep 24, 2015 at 08:14 UTC |