in reply to anyway to abbreviate use strict; use warnings;

If you are using vim editor, then use autocommand feature in it

Put the below line in your vimrc.

autocmd bufnewfile *.pl so /home/username/template
The template file has to be as follows.
:insert
Insert what you want.... #!/usr/bin/perl
use strict;
use warnings;
.
  • Comment on Re: anyway to abbreviate use strict; use warnings;