Lines Matching full:perl
26 =item L<perldata> - Perl data types
28 =item L<perlvar> - Perl pre-defined variables
30 =item L<perlsyn> - Perl syntax
32 =item L<perlop> - Perl operators and precedence
34 =item L<perlsub> - Perl subroutines
43 =item L<perlrun> - how to execute the Perl interpreter
45 =item L<perldebug> - Perl debugging
54 =item L<perlfunc> - Perl builtin functions
62 =item L<perlref> - Perl references and nested data structures
64 =item L<perlmod> - Perl modules (packages and symbol tables)
66 =item L<perlobj> - Perl objects
77 =item L<perlref> - Perl references and nested data structures
79 =item L<perllol> - Manipulating arrays of arrays in Perl
81 =item L<perldsc> - Perl Data Structures Cookbook
89 =item L<perlmod> - Perl modules (packages and symbol tables)
91 =item L<perlmodlib> - constructing new Perl modules and finding existing ones
100 =item L<perlre> - Perl regular expressions
102 =item L<perlfunc> - Perl builtin functions>
104 =item L<perlop> - Perl operators and precedence
106 =item L<perllocale> - Perl locale handling (internationalization and localization)
115 =item L<perltrap> - Perl traps for the unwary
117 =item L<perl>
130 =item L<perlcall> - Perl calling conventions from C
132 =item L<perlguts> - Introduction to the Perl API
134 =item L<perlembed> - how to embed perl in your C program
142 Perl techniques)
146 A crude table of contents for the Perl manpage set is found in L<perltoc>.
148 =head2 How can I use Perl interactively?
150 The typical approach uses the Perl debugger, described in the
153 perl -de 42
155 Now just type in any legal Perl code, and it will be immediately
160 You can also use L<Devel::REPL> which is an interactive shell for Perl,
175 Inside a Perl program, you can use the L<ExtUtils::Installed> module to
177 its magic. The standard library which comes with Perl just shows up
178 as "Perl" (although you can get those with L<Module::CoreList>).
185 If you want a list of all of the Perl module filenames, you
226 perl finds it:
228 $ perl -MModule::Name -e1
230 (If you don't receive a "Can't locate ... in @INC" error message, then Perl
233 =head2 How do I debug my Perl programs?
238 you let Perl tell you about problem areas in your code. By turning
243 #!/usr/bin/perl
252 The L<Data::Dumper> module can pretty-print Perl data structures:
257 Perl comes with an interactive debugger, which you can start with the
271 =head2 How do I profile my Perl programs?
276 profile your Perl programs.
282 perl -d:NYTProf some_perl.pl
293 You can read more about profiling in I<Programming Perl>, chapter 20,
294 or I<Mastering Perl>, chapter 5.
298 in I<The Perl Journal>, "Creating a Perl Debugger",
299 L<http://www.ddj.com/184404522> , and "Profiling in Perl"
302 Perl.com has two interesting articles on profiling: "Profiling Perl",
303 by Simon Cozens, L<https://www.perl.com/pub/2004/06/25/profiling.html/>
305 L<http://www.perl.com/pub/a/2006/02/09/debug_mod_perl.html> .
307 Randal L. Schwartz writes about profiling in "Speeding up Your Perl
313 =head2 How do I cross-reference my Perl programs?
316 for Perl programs.
318 perl -MO=Xref[,OPTIONS] scriptname.plx
320 =head2 Is there a pretty-printer (formatter) for Perl?
322 L<Perl::Tidy> comes with a perl script L<perltidy> which indents and
323 reformats Perl scripts to make them easier to read by trying to follow
324 the rules of the L<perlstyle>. If you write Perl, or spend much time reading
325 Perl, you will probably find it useful.
330 help you with this. The perl-mode or newer cperl-mode for emacs
345 =head2 Is there an IDE or Windows Perl Editor?
347 Perl programs are just plain text, so any editor will do.
362 The Eclipse Perl Integration Project integrates Perl
369 Perl Editor by EngInSite is a complete integrated development
370 environment (IDE) for creating, testing, and debugging Perl scripts;
383 GUI editor written in Perl using wxWidgets and Scintilla with lots of smaller features.
384 Aims for a UI based on Perl principles like TIMTOWTDI and "easy things should be easy,
392 and Solaris), multi-language IDE has Perl support, including a regular expression
399 =item Open Perl IDE
401 L<http://open-perl-ide.sourceforge.net/>
403 Open Perl IDE is an integrated development environment for writing
404 and debugging Perl scripts with ActiveState's ActivePerl distribution
418 Padre is cross-platform IDE for Perl written in Perl using wxWidgets to provide
420 is one of the newer Perl IDEs.
424 L<http://www.solutionsoft.com/perl.htm>
427 supports Perl development.
435 =item Visual Perl
439 Visual Perl is a Visual Studio.NET plug-in from ActiveState.
446 that comes with support for Perl.
453 perhaps the best available Perl editing mode in any editor.
504 The following are Win32 multilanguage editor/IDEs that support Perl:
522 There is also a toyedit Text widget based editor written in Perl
524 ( L<http://ptkdb.sourceforge.net/> ) is a Perl/Tk-based debugger that
525 acts as a development environment of sorts. Perl Composer
526 ( L<http://perlcomposer.sourceforge.net/> ) is an IDE for Perl/Tk
545 License (but that shouldn't matter for Perl use). Cygwin
553 are text editors for OS X that have a Perl sensitivity mode
558 =head2 Where can I get Perl macros for vi?
564 with an embedded Perl interpreter--see L<http://www.cpan.org/src/misc/> .
566 =head2 Where can I get perl-mode or cperl-mode for emacs?
570 perl-mode.el and support for the Perl debugger built in. These should
573 Note that the perl-mode of emacs will have fits with C<"main'foo">
575 are probably using C<"main::foo"> in new Perl code anyway, so this
580 =head2 How can I use curses with Perl?
588 =head2 How can I write a GUI (X, Tk, Gtk, etc.) in Perl?
593 There are a number of modules which let you write GUIs in Perl. Most
594 GUI toolkits have a perl interface: an incomplete list follows.
608 This is a Perl binding for the cross-platform wxWidgets toolkit
617 These are Perl bindings for the Gtk toolkit ( L<http://www.gtk.org> ). The
619 separate Perl modules. It runs under Unix, Win32 and Mac OS X (currently
622 native widgets. As with Wx, the Perl bindings follow the C API closely,
628 This provides access to most of the Win32 GUI widgets from Perl.
629 Obviously, it only runs under Win32, and uses native widgets. The Perl
636 CamelBones ( L<http://camelbones.sourceforge.net> ) is a Perl interface to
640 standard OSX package installer. The Perl API is, again, very close to
646 There is a Perl interface to TrollTech's Qt toolkit, but it does not
656 =head2 How can I make my Perl program run faster?
665 read the answer to the earlier question "How do I profile my Perl
668 A different approach is to autoload seldom-used Perl code. See the
676 If you're currently linking your perl executable to a shared
679 bigger perl executable, but your Perl programs (and programmers) may
683 The undump program was an ancient attempt to speed up Perl program by
688 =head2 How can I make my Perl program take less memory?
690 When it comes to time-space tradeoffs, Perl nearly always prefers to
691 throw memory at a problem. Scalars in Perl use more memory than
704 less memory than equivalent Perl modules.
706 Another thing to try is learning whether your Perl was compiled with
707 the system malloc or with Perl's builtin malloc. Whichever one it
710 distribution. You can find out whether you are using perl's malloc by
711 typing C<perl -V:usemymalloc>.
810 Yes. Perl's garbage collection system takes care of this so
840 is no longer used, but on such systems, perl must be configured and
841 compiled to use the OS's malloc, not perl's.
844 or should be worrying about much in Perl.
846 See also "How can I make my Perl program take less memory?"
850 Beyond the normal measures described to make general Perl programs
863 mod_perl), httpd will run with an embedded Perl interpreter which
865 space without forking. The Apache extension also gives Perl access to
866 the internal server API, so modules written in Perl can do just about
868 L<http://perl.apache.org/>
871 module (available from L<http://www.fastcgi.com/> ) each of your Perl
874 Finally, L<Plack> is a Perl module and toolkit that contains PSGI middleware,
878 performance with minimal changes, or can be used along with modern Perl web
879 frameworks to make writing and deploying web services with Perl a breeze.
887 =head2 How can I hide the source for my Perl program?
906 You can try using encryption via source filters (Starting from Perl
915 Perl).
917 It is very easy to recover the source of Perl programs. You simply
918 feed the program to the perl interpreter and use the modules in
921 unique to Perl.
931 =head2 How can I compile my Perl program into byte code or C?
940 solutions simply bundle a Perl interpreter in the final product
941 (but see L<How can I make my Perl program run faster?>).
943 The Perl Archive Toolkit is Perl's analog to Java's JAR. It's freely
949 The Perl Dev Kit ( L<http://www.activestate.com/Products/Perl_Dev_Kit/> )
950 from ActiveState can "Turn your Perl programs into ready-to-run
954 program for converting perl scripts to executable files. It targets both
957 =head2 How can I get C<#!perl> to work on [MS-DOS,NT,...]?
961 extproc perl -S -your_switches
968 The Win95/NT installation, when using the ActiveState port of Perl,
970 perl interpreter. If you install another port, perhaps even building
971 your own Win95/NT Perl from the standard sources by using a Windows port
977 Under "Classic" MacOS, a perl program will have the appropriate Creator and
983 throw the perl interpreter into your cgi-bin directory, in order to
987 =head2 Can I write useful Perl programs on the command line?
993 perl -lane 'print $F[0] + $F[-1]' *
996 perl -le 'for(@ARGV) {print if -f && -T _}' *
999 perl -0777 -pe 's{/\*.*?\*/}{}gs' foo.c
1002 perl -e '$X=24*60*60; utime(time(),time() + 30 * $X,@ARGV)' *
1005 perl -le '$i++ while getpwuid($i); print $i'
1008 echo $PATH | perl -nl -072 -e '
1011 OK, the last one was actually an Obfuscated Perl Contest entry. :-)
1013 =head2 Why don't Perl one-liners work on my DOS/Mac/VMS system?
1024 perl -e 'print "Hello world\n"'
1027 perl -e "print \"Hello world\n\""
1034 perl -e 'print "Hello world\n"'
1037 perl -e "print ""Hello world\n"""
1044 perl -e "print <Ctrl-x>"Hello world\n<Ctrl-x>""
1058 =head2 Where can I learn about CGI or Web programming in Perl?
1067 L<http://www.perl.org/CGI_MetaFAQ.html>
1069 Looking into L<https://plackperl.org> and modern Perl web frameworks is highly recommended,
1070 though; web programming in Perl has evolved a long way from the old days of
1073 =head2 Where can I learn about object-oriented Perl programming?
1078 A good book on OO on Perl is the "Object-Oriented Perl"
1079 by Damian Conway from Manning Publications, or "Intermediate Perl"
1082 =head2 Where can I learn about linking C with Perl?
1084 If you want to call C from Perl, start with L<perlxstut>,
1086 call Perl from C, then read L<perlembed>, L<perlcall>, and
1092 you put C code directly in your Perl source. It handles all the
1094 the perl API but you won't have to deal with the complexity of the
1097 =head2 I've read perlembed, perlguts, etc., but I can't embed perl in my C program; what am I doing wrong?
1101 fail, submit a bug report to L<https://github.com/Perl/perl5/issues>
1103 C<make test TEST_VERBOSE=1> along with C<perl -V>.
1107 A complete list of Perl's error messages and warnings with explanatory
1109 (distributed with Perl) to explain the error messages:
1111 perl program 2>diag.out
1127 turns a Perl script, typically called C<Makefile.PL>, into a Makefile.
1129 to process and install a Perl distribution.
1137 under the same terms as Perl itself.