This is for a script at work
And they run perl 5.8


On Wed, January 8, 2020 7:57 pm, Randal L. Schwartz wrote:
>>>>>> "Greg" == Greg London <em...@greglondon.com> writes:
>>>>>>
>
> Greg> use Data::Dumper;
>
>
> Greg> sub killer{
> Greg>         delete($_[2]);
> Greg> }
>
>
> Greg> my @list = qw( alpha bravo charlie delta echo fox);
> Greg> print Dumper \@list;
> Greg> killer(@list);
> Greg> print Dumper \@list;
>
>
>
> Greg> I would expect the second Dumper statement to show one less
> element. Greg> Greg
>
>
> This is a relatively modern feature.  How old is your Perl?
>
>
> --
> Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777
> 0095
> <mer...@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
> Perl/Unix/Dart consulting, Technical writing, Comedy, etc. etc.
> Still trying to think of something clever for the fourth line of this .sig
>
>


-- 

_______________________________________________
Boston-pm mailing list
Boston-pm@pm.org
https://mail.pm.org/mailman/listinfo/boston-pm

Reply via email to