Local::Module 1.5; $ perl -e 'use Data::Dumper 500' Data::Dumper version 500 required-- this is only version 2.130_02 at -e line 1. BEGIN failed--compilation aborted at -e line 1. 27 / 69
'use warnings; print(5+"a")' Argument "a" isn't numeric in addition (+) at -e line 1. $ perl -we 'print(5+"a")' Argument "a" isn't numeric in addition (+) at -e line 1. 36 / 69
Argument "a" isn't numeric in addition (+) at -e line 1 (# (W numeric) The indicated string was fed as an argumen that expected a numeric value instead. If you're fort will identify which operator was so unfortunate. 37 / 69
make $foo dynamically local local (@wid, %get); # make list of variables local local $foo = "flurp"; # make $foo dynamic, and init local @oof = @bar; # make @oof dynamic, and init local $hash{key} = "val"; # sets a local value for this delete local $hash{key}; # delete this entry for the cu local ($cond ? $v1 : $v2); # several types of lvalues sup # localization of symbols local *FH; # localize $FH, @FH, %FH, &FH local *merlyn = *randal; # now $merlyn is really $randa # @merlyn is really @randa local *merlyn = 'randal'; # SAME THING: promote 'randal' local *merlyn = \$randal; # just alias $merlyn, not @mer 53 / 69
- module for manipulating JSON-formatted data libjson-pp-perl - module for manipulating JSON-formatted data (Pure Perl) libjson-xs-perl - module for manipulating JSON-formatted data (C/XS-accelerated) $ apt-get install libjson-perl 57 / 69