mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-12-16 10:24:18 +00:00
Last commit before tagging and releasing
This commit is contained in:
7
extras/imported/perl-mode/slurp.yasnippet
Normal file
7
extras/imported/perl-mode/slurp.yasnippet
Normal file
@@ -0,0 +1,7 @@
|
||||
# -*- mode: snippet -*-
|
||||
# key: slurp
|
||||
# contributor: Translated from TextMate Snippet
|
||||
# name: Read File
|
||||
# --
|
||||
my \$${1:var};
|
||||
{ local \$/ = undef; local *FILE; open FILE, "<${2:file}"; \$$1 = <FILE>; close FILE }
|
||||
Reference in New Issue
Block a user