Skip to content

Instantly share code, notes, and snippets.

@smujohnson
Created October 11, 2012 00:51
Show Gist options
  • Save smujohnson/3869487 to your computer and use it in GitHub Desktop.
Save smujohnson/3869487 to your computer and use it in GitHub Desktop.
#!/usr/bin/perl
use strict;
use warnings;
use 5.010;
my @a = (1..3);
say @a;
splice(@a, 0, 1);
say @a;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment