Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

spatterson's scratchpad

by spatterson (Monk)
on Aug 25, 2005 at 14:04 UTC ( #486561=scratchpad: print w/ replies, xml ) Need Help??

What shortcuts can I use for linking to other information?

Writeup Formatting Tips

Mad regex-fu for pulling odd characters out of strings

$_ = "Bilbo Baggins's birthday is September 22"; /(.*)'s birthday is (.*)/; print "Person: $1\n"; print "Date: $2\n";
OO snippets
sub new { my $class = shift; my $self = {}; bless $self, $class; return $self; }
also, vimrc
" autowrapping text set wrapmargin=10 " makes comments more readable set background=dark " i want syn hilighting syntax on "Display a status-line set statusline=~ "Default tab for 4 set tabstop=4 " Number of spaces to insert when indenting. set shiftwidth=4 "Default backspace like normal set backspace=2 "Some option desactivate by default (remove the no). set nobackup "Show the position of the cursor. set ruler "Show matching parenthese. set showmatch "Wrap text "set wrap set smartindent set expandtab set showmatch set formatoptions=tcr
Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (9)
As of 2014-08-21 00:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (127 votes), past polls