Skip to content
This repository has been archived by the owner on Sep 27, 2023. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Cool argument is enough for addslashes
  • Loading branch information
Konrad Borowski committed Aug 11, 2013
1 parent f0c2563 commit 1ccaa31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Acme/Addslashes.pm
@@ -1,5 +1,5 @@
module Acme::Addslashes;
my $soldius = "\c[COMBINING LONG SOLIDUS OVERLAY]";
sub addslashes(Str $string) is export {
sub addslashes(Cool $string) is export {
$string.subst: / (.) /, -> $/ { $0 ~ $soldius }, :g;
}

0 comments on commit 1ccaa31

Please sign in to comment.