Inside C<Horse::name>, the C<@_> array contains:
- (C<$horse>, "some", "unnecessary", "args")
+ ($horse, "some", "unnecessary", "args")
so the C<shift> stores C<$horse> into C<$self>. Then, C<$self> gets
de-referenced with C<$$self> as normal, yielding C<"Mr. Ed">.
=head2 PERLDOCS
-For example: perldoc -f sort
+For example: C<perldoc -f sort>.
- L<perlfaq4>
- L<perlfork>
- L<perlfunc>
- L<perlretut>
- L<perlthrtut>
- L<threads>
+L<perlfaq4>.
+
+L<perlfork>, L<perlfunc>, L<perlretut>, L<perlthrtut>.
+
+L<threads>.
=head2 MAN PAGES
- L<time>
+C<time>.
=head2 MODULES
Perl here, naturally, but here's a short list of modules from the CPAN which
deserve further attention.
- L<Apache::DProf>
- L<Apache::SmallProf>
- L<Benchmark>
- L<DBIx::Profiler>
- L<Devel::AutoProfiler>
- L<Devel::DProf>
- L<Devel::DProfLB>
- L<Devel::FastProf>
- L<Devel::GraphVizProf>
- L<Devel::NYTProf>
- L<Devel::NYTProf::Apache>
- L<Devel::Profiler>
- L<Devel::Profile>
- L<Devel::Profit>
- L<Devel::SmallProf>
- L<Devel::WxProf>
- L<POE::Devel::Profiler>
- L<Sort::Key>
- L<Sort::Maker>
+ Apache::DProf
+ Apache::SmallProf
+ Benchmark
+ DBIx::Profiler
+ Devel::AutoProfiler
+ Devel::DProf
+ Devel::DProfLB
+ Devel::FastProf
+ Devel::GraphVizProf
+ Devel::NYTProf
+ Devel::NYTProf::Apache
+ Devel::Profiler
+ Devel::Profile
+ Devel::Profit
+ Devel::SmallProf
+ Devel::WxProf
+ POE::Devel::Profiler
+ Sort::Key
+ Sort::Maker
=head2 URLS
(installed as L<perlvos>). Perl on VOS can accept either VOS- or
Unix-style file specifications as in either of the following:
- C<< $ perl -ne "print if /perl_setup/i" >system>notices >>
- C<< $ perl -ne "print if /perl_setup/i" /system/notices >>
+ $ perl -ne "print if /perl_setup/i" >system>notices
+ $ perl -ne "print if /perl_setup/i" /system/notices
or even a mixture of both as in:
- C<< $ perl -ne "print if /perl_setup/i" >system/notices >>
+ $ perl -ne "print if /perl_setup/i" >system/notices
Even though VOS allows the slash character to appear in object
names, because the VOS port of Perl interprets it as a pathname
alpha Any alphabetical character.
alnum Any alphanumerical character.
ascii Any ASCII character.
- blank A GNU extension, equal to a space or a horizontal tab (C<\t>).
+ blank A GNU extension, equal to a space or a horizontal tab ("\t").
cntrl Any control character.
- digit Any digit, equivalent to C<\d>.
+ digit Any digit, equivalent to "\d".
graph Any printable character, excluding a space.
lower Any lowercase character.
print Any printable character, including a space.
punct Any punctuation character.
- space Any white space character. C<\s> plus the vertical tab (C<\cK>).
+ space Any white space character. "\s" plus the vertical tab ("\cK").
upper Any uppercase character.
- word Any "word" character, equivalent to C<\w>.
+ word Any "word" character, equivalent to "\w".
xdigit Any hexadecimal digit, '0' - '9', 'a' - 'f', 'A' - 'F'.
The exact set of characters matched depends on whether the source string
Alphabetic, Lowercase, Uppercase, WhiteSpace,
NoncharacterCodePoint, DefaultIgnorableCodePoint, Any,
ASCII, Assigned), but also bidirectional types, blocks, etc.
- (see L</"Unicode Character Properties">)
+ (see "Unicode Character Properties")
[4] \d \D \s \S \w \W \X [:prop:] [:^prop:]
[5] can use regular expression look-ahead [a] or
user-defined character properties [b] to emulate set operations