Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Writing Perl with w0rp/ale
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Shoichi Kaji
March 30, 2018
Programming
2.4k
0
Share
Writing Perl with w0rp/ale
2018/03/30 Gotanda.pm Perl Technology Conference #16 LT
Shoichi Kaji
March 30, 2018
More Decks by Shoichi Kaji
See All by Shoichi Kaji
go-exhaustruct linterのすすめ
skaji
0
120
Parallel::Pipesの紹介
skaji
2
1.1k
宿泊予約サイトにおける検索と料金計算の両立
skaji
2
4.2k
昔のGo, 今のGo ~比較, ソート編~
skaji
0
300
Perl Quiz
skaji
0
170
cpm at PerlCon 2019
skaji
0
150
Perl5 Package Manager
skaji
0
790
Internal of cpm
skaji
0
650
How to execute external programs in Perl
skaji
3
740
Other Decks in Programming
See All in Programming
Why Laravel apps break—Mastering the fundamentals to keep them maintainable
kentaroutakeda
1
190
色即是空、空即是色、データサイエンス
kamoneggi
1
160
Spec-Driven Development with AI-Agents: From High-Level Requirements to Working Software
antonarhipov
2
330
ECR拡張スキャンでSBOMを収集して サプライチェーン攻撃の影響調査を 爆速で終わらせてみた
akihisaikeda
2
200
Are We Really Coding 10× Faster with AI?
kohzas
0
230
要はバランスからの卒業 #yumemi_grow
kajitack
0
190
今さら聞けないCancellationToken
htkym
0
180
プロパティの順序で型推論が壊れる!? TypeScript6.0の修正からContext-Sensitivityの仕組みを追う
bicstone
2
1k
AI時代の仕事技芸論 — ソフトウェア開発で「遊ぶように働く」職人的熟達のすすめ
kuranuki
0
100
These Five Tricks Can Make Your Apps Greener, Cheaper, & Nicer
hollycummins
0
190
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
290
Modding RubyKaigi for Myself
yui_knk
0
430
Featured
See All Featured
jQuery: Nuts, Bolts and Bling
dougneiner
66
8.5k
The agentic SEO stack - context over prompts
schlessera
0
780
New Earth Scene 8
popppiees
3
2.3k
Information Architects: The Missing Link in Design Systems
soysaucechin
0
940
Abbi's Birthday
coloredviolet
2
7.7k
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
170
Everyday Curiosity
cassininazir
0
210
Navigating Weather and Climate Data
rabernat
0
200
Ten Tips & Tricks for a 🌱 transition
stuffmc
0
110
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
10k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
19k
Mind Mapping
helmedeiros
PRO
1
200
Transcript
Writing Perl with w0rp/ale Shoichi Kaji
Are you using vim?
What plugin do you use?
w0rp/ale
w0rp/ale • Asynchronous Lint Engine for vim 8 • It
comes with 2 perl linters • › perl -c —Mwarnings -Ilib filename › perlcritic --verbose '%l:%c %m\n' --nocolor filename
w0rp/ale • It’s nice • OTOH, experienced Perl hackers may
have their own linters for Perl. • Can we customize it easily? • Yes, but limited. • So I wrote a simple syntax checker in Perl.
skaji/syntax-check-perl • It checks syntax by: • It is written
in plain Perl, so you will easily tweak it as much as you want :) › perl -Ilib -Ilocal/lib/perl5 -Mwarnings -c filename
skaji/syntax-check-perl call plug#begin('~/.vim/plugged') Plug 'w0rp/ale' Plug 'skaji/syntax-check-perl' call plug#end() let
g:ale_linters = { 'perl': ['perl'] } let g:ale_perl_perl_executable = \ g:plug_home . '/syntax-check-perl/syntax-check' let g:ale_perl_perl_options = '%s' SYNOPSIS: ~/.vimrc
Conclusion • w0rp/ale is an asynchronous lint engine for vim
8 • skaji/syntax-check-perl is a simple syntax checker written in plain Perl • ale + syntax-check-perl may help you write Perl with vim 8