cmd /c perl "$(FULL_CURRENT_PATH)"
|
| EPIC is a Perl Plugin for Eclipse | [[http://www.epic-ide.org/index.php|EPIC]] **ACHTUNG:** \\ autocomplete is supported just on dereferencing from packages! |
===Howtos===
| 1. What does the header in perl files mean?| [[http://perldoc.perl.org/perlrun.html|perldoc.perl.org]] |
| 2. A syntax summary | [[http://en.wikipedia.org/wiki/Perl_language_structure|Wikipedia]]|
| 3. A huge tutorial collection here | [[http://perl-tutorial.org/|perl-tutorial.org]]|
| 4. Howto compare values in perl | [[http://perlmeme.org/howtos/syntax/comparing_values.html|perlmeme.org]]|
| 5. References in Perl | [[http://www.perl.com/pub/1999/09/refererents.html|www.perl.com]] |
| 6. All Perl Operators | [[http://de.wikibooks.org/wiki/Perl-Programmierung:_Operatoren|de.wikibooks.org]] |
| 7. Objects in Perl | [[http://www.perl.com/pub/1999/09/refererents.html|www.perl.com]] |
| 8. Packages and Modules in Perl | [[http://www.tutorialspoint.com/perl/perl_modules.htm|www.tutorialspoint.com]], [[Perl#creating_modules|creating_modules]] |
| 9. External Modules | [[http://search.cpan.org/|CPAN]] |
|10. Passing Arguments to subs | {{http://perldoc.perl.org/perlfaq7.html#How-can-I-pass%2freturn-a-%7bFunction%2c-FileHandle%2c-Array%2c-Hash%2c-Method%2c-Regex%7d%3f|perldoc.perl.org}} |
|11. Perl regular expressions| {{http://perldoc.perl.org/perlrequick.html|perldoc.perl.org}} {{http://perldoc.perl.org/perlre.html|perldoc.perl.org Detailed}}|
=== Documentation ===
| All Perl Functions | [[http://www.tutorialspoint.com/perl/perl_function_references.htm|tutorialspoint.com]] |
=== Install Modules ===
The modules are located on [[http://search.cpan.org/|http://search.cpan.org/]]
The modules can be installed per //ppm// command.
A
B
print ($dom->at('p')->all_text); #find all tags my @trobjects = $dom->find('tr')->each; for my $trobject (@trobjects){ print ($trobject->all_text); }
// - marks the beginning and the End of the regexp
() - marks the part, which should be returned, if the exression is configured to return the match and not only to tell true/false when it matchen/not matches.
(?: content_here) - is called "not matching parenthesis". They can group content, but won't return the enclose content, if it matches. Can be used for grouping.
=~ is used with a string. Without further parameters the expression returns true, when the given string matches.
!~ inverse of above
[^o] - match everything except of "o"
==Making the expression return something ==
The expression can be configured to return something by using the /g **modifier** which are written **AFTER** the expression.
|/g|
i Makes the match case insensitive - "pATTERn" =~ /(paTtErN)/i
m Specifies that if the string has newline or carriage
return characters, the ^ and $ operators will now
match against a newline boundary, instead of a
string boundary
o Evaluates the expression only once
s Allows use of . to match a newline character
x Allows you to use white space in the expression for clarity
g Globally finds all matches
cg Allows the search to continue even after a global match fails
==Operators==
**Operators** are written **BEFORE** the expression. More about it [[http://www.tutorialspoint.com/perl/perl_regular_expression.htm|here]]
\r \n \s ...
What means what is listed here: http://refcards.com/docs/trusketti/perl-regexp/perl-regexp-refcard-a4.pdf