Difference between revisions of "Perl"
From Teknologisk videncenter
m (→One liners) |
|||
Line 1: | Line 1: | ||
− | |||
*[http://en.wikiversity.org/wiki/Topic:Perl wikiversity] perl | *[http://en.wikiversity.org/wiki/Topic:Perl wikiversity] perl | ||
[[Image:Perlcomic.jpg|thumb|800px|none| From http://0x2121.com/7/Lost_in_Translation]] | [[Image:Perlcomic.jpg|thumb|800px|none| From http://0x2121.com/7/Lost_in_Translation]] |
Revision as of 13:17, 11 January 2012
- wikiversity perl
Development tools
- Integrated Development Environment - IDE - for Perl
Regular expressions
- Regular Expression Perl Mainpage
One liners
Search and replace in files
You could also use find and sed.
perl -pi -w -e 's/SEARCH/REPLACE/g;' *.php
- e means execute the following line of code.
- i means edit in-place
- w write warnings
- p loop