Perl Best Practices [Electronic resources] نسخه متنی

اینجــــا یک کتابخانه دیجیتالی است

با بیش از 100000 منبع الکترونیکی رایگان به زبان فارسی ، عربی و انگلیسی

Perl Best Practices [Electronic resources] - نسخه متنی

Damian Conway

| نمايش فراداده ، افزودن یک نقد و بررسی
افزودن به کتابخانه شخصی
ارسال به دوستان
جستجو در متن کتاب
بیشتر
تنظیمات قلم

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

روز نیمروز شب
جستجو در لغت نامه
بیشتر
لیست موضوعات
توضیحات
افزودن یادداشت جدید







C.2. vile


vile is another major successor to vi. For more information about vile, including source code and various precompiled distributions, see http://dickey.his.com/vile/vilel. The following commands might make useful additions to your .vilerc file:


;Preserve current indent on new lines

set autoindent
;Wrap at the 78th column

set fillcol=78
set wrapwords
; Use 4-space indents, not tabs

set tabspace=4
set shiftwidth=4
set noti
;Allow % to bounce between angles too

set fence-pairs="( )[]{}<>"
;Inserting these abbreviations inserts the corresponding Perl statement...

abb phbp #! /usr/bin/perl -w
abb pdbg use Data::Dumper 'Dumper';^Mwarn Dumper [];^[hi
abb pbmk use Benchmark qw( cmpthese );^Mcmpthese -10, {};^[O
abb pusc use Smart::Comments;^M^M###
abb putm use Test::More qw( no_plan );
abb papp ^[:r ~/.code_templates/perl_application.pl^M
abb pmod ^[:r ~/.code_templates/perl_module.pm^M


/ 317