substitute regular package name

This commit is contained in:
William Travis Holton 2012-07-25 22:43:24 +12:00
parent cdacf7c3df
commit f46672c1cf

View File

@ -80,7 +80,7 @@ snippet fore
${1:expression} foreach @${2:array};${3}
# Package
snippet package
package ${1:ClassName};
package ${1:`substitute(Filename('', 'Page Title'), '^.', '\u&', '')`};
${2:#...}
@ -104,7 +104,7 @@ snippet packagev512
snippet moose
use Moose;
use namespace::autoclean;
${1:#}extends '${2:# ParentClass}';
${1:#}extends '${2:ParentClass}';
# moose extends
snippet extends