Skip to content

Commit

Permalink
file print string needs to be a separate placeholder (#508)
Browse files Browse the repository at this point in the history
  • Loading branch information
surmish authored Dec 2, 2024
1 parent 93c2af7 commit 2f12a93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snippets/perl.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
},
"print to file": {
"prefix": "file print",
"body": ["print \\$${1:fh} \"${1:string}\\n\";"]
"body": ["print \\$${1:fh} \"${2:string}\\n\";"]
},
"read file into a scalar": {
"prefix": "slurp",
Expand Down

0 comments on commit 2f12a93

Please sign in to comment.