Skip to content

Instantly share code, notes, and snippets.

@akarelas
Created February 13, 2018 04:13

Revisions

  1. akarelas created this gist Feb 13, 2018.
    13 changes: 13 additions & 0 deletions sub.pl
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,13 @@
    #!/usr/bin/env perl

    use v5.26;
    use warnings;
    use lib 'local/lib/perl5';

    use experimentals;

    sub show (\@alex) {
    say foreach @alex;
    }

    show([10, 20, 30]);