Skip to content

Commit 2f12a93

Browse files
authored
file print string needs to be a separate placeholder (#508)
1 parent 93c2af7 commit 2f12a93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

snippets/perl.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292
},
9393
"print to file": {
9494
"prefix": "file print",
95-
"body": ["print \\$${1:fh} \"${1:string}\\n\";"]
95+
"body": ["print \\$${1:fh} \"${2:string}\\n\";"]
9696
},
9797
"read file into a scalar": {
9898
"prefix": "slurp",

0 commit comments

Comments
 (0)