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
Shoichi Kaji
March 30, 2018
Programming
0
2.3k
Writing Perl with w0rp/ale
2018/03/30 Gotanda.pm Perl Technology Conference #16 LT
Shoichi Kaji
March 30, 2018
Tweet
Share
More Decks by Shoichi Kaji
See All by Shoichi Kaji
Parallel::Pipesの紹介
skaji
2
910
宿泊予約サイトにおける検索と料金計算の両立
skaji
2
3.9k
昔のGo, 今のGo ~比較, ソート編~
skaji
0
230
Perl Quiz
skaji
0
140
cpm at PerlCon 2019
skaji
0
120
Perl5 Package Manager
skaji
0
720
Internal of cpm
skaji
0
620
How to execute external programs in Perl
skaji
3
660
nginx unit
skaji
0
50
Other Decks in Programming
See All in Programming
20250628_非エンジニアがバイブコーディングしてみた
ponponmikankan
0
340
生成AIで日々のエラー調査を進めたい
yuyaabo
0
640
XP, Testing and ninja testing
m_seki
3
170
Elixir で IoT 開発、 Nerves なら簡単にできる!?
pojiro
1
150
AIエージェントはこう育てる - GitHub Copilot Agentとチームの共進化サイクル
koboriakira
0
330
Webの外へ飛び出せ NativePHPが切り拓くPHPの未来
takuyakatsusa
2
320
[初登壇@jAZUG]アプリ開発者が気になるGoogleCloud/Azure+wasm/wasi
asaringo
0
130
PHPで始める振る舞い駆動開発(Behaviour-Driven Development)
ohmori_yusuke
2
170
関数型まつりレポート for JuliaTokai #22
antimon2
0
150
PHP 8.4の新機能「プロパティフック」から学ぶオブジェクト指向設計とリスコフの置換原則
kentaroutakeda
2
470
ドメインモデリングにおける抽象の役割、tagless-finalによるDSL構築、そして型安全な最適化
knih
11
2k
イベントストーミング図からコードへの変換手順 / Procedure for Converting Event Storming Diagrams to Code
nrslib
1
300
Featured
See All Featured
StorybookのUI Testing Handbookを読んだ
zakiyama
30
5.8k
Build The Right Thing And Hit Your Dates
maggiecrowley
36
2.8k
Designing for humans not robots
tammielis
253
25k
Done Done
chrislema
184
16k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
44
2.4k
Side Projects
sachag
455
42k
Code Review Best Practice
trishagee
68
18k
Building Better People: How to give real-time feedback that sticks.
wjessup
367
19k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
The Cult of Friendly URLs
andyhume
79
6.5k
Keith and Marios Guide to Fast Websites
keithpitt
411
22k
Rails Girls Zürich Keynote
gr2m
94
14k
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