substitute regular package name
This commit is contained in:
parent
2abf84e6b9
commit
a42eb6a320
@ -80,7 +80,7 @@ snippet fore
|
|||||||
${1:expression} foreach @${2:array};${3}
|
${1:expression} foreach @${2:array};${3}
|
||||||
# Package
|
# Package
|
||||||
snippet package
|
snippet package
|
||||||
package ${1:ClassName};
|
package ${1:`substitute(Filename('', 'Page Title'), '^.', '\u&', '')`};
|
||||||
|
|
||||||
${2:#...}
|
${2:#...}
|
||||||
|
|
||||||
@ -104,7 +104,7 @@ snippet packagev512
|
|||||||
snippet moose
|
snippet moose
|
||||||
use Moose;
|
use Moose;
|
||||||
use namespace::autoclean;
|
use namespace::autoclean;
|
||||||
${1:#}extends '${2:# ParentClass}';
|
${1:#}extends '${2:ParentClass}';
|
||||||
|
|
||||||
# moose extends
|
# moose extends
|
||||||
snippet extends
|
snippet extends
|
||||||
|
Loading…
Reference in New Issue
Block a user