Skip to content

Instantly share code, notes, and snippets.

@churib
Created March 4, 2013 08:56
Show Gist options
  • Save churib/5080939 to your computer and use it in GitHub Desktop.
Save churib/5080939 to your computer and use it in GitHub Desktop.
my $s = "lorem ipsum...";
my @a = (0,3);
print( substr( $s, @a ) ); # --> rem ipsum... --> scalar @a :(
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment