Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created April 8, 2019 20:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Whateverable/5b30a967814f3e347df898c138a5bc61 to your computer and use it in GitHub Desktop.
Save Whateverable/5b30a967814f3e347df898c138a5bc61 to your computer and use it in GitHub Desktop.
evalable6
my @a = ('Gtk'); (my $type = 'GtkGrid') ~~ s/ ( @p ) ( <[A..Za..z]>+ )/{ $0.uc }::{ $1 }/; say $type
(exit code 1)
===SORRY!=== Error while compiling /tmp/9aYQmBqjtx
Variable '@p' is not declared
at /tmp/9aYQmBqjtx:1
------> ('Gtk'); (my $type = 'GtkGrid') ~~ s/ ( ⏏@p ) ( <[A..Za..z]>+ )/{ $0.uc }::{ $1 }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment