Lines Matching full:perl

23 	Moving to perl5	perltrap, perl
25 Various http://www.perl.com/CPAN/doc/FMTEYEWTK/index.html
28 A crude table of contents for the Perl man page set is found in L<perltoc>.
30 =head2 How can I use Perl interactively?
32 The typical approach uses the Perl debugger, described in the
35 perl -de 42
37 Now just type in any legal Perl code, and it will be immediately
42 =head2 Is there a Perl shell?
44 In general, no. The Shell.pm module (distributed with Perl) makes
45 Perl try commands which aren't part of the Perl language as shell
49 =head2 How do I debug my Perl programs?
60 system (and thus Perl) tells you whether they worked, and if not
66 Did you read L<perltrap>? It's full of gotchas for old and new Perl
70 Have you tried the Perl debugger, described in L<perldebug>? You can
74 =head2 How do I profile my Perl programs?
111 =head2 How do I cross-reference my Perl programs?
113 The B::Xref module, shipped with the new, alpha-release Perl compiler
115 to generate cross-reference reports for Perl programs.
117 perl -MO=Xref[,OPTIONS] scriptname.plx
119 =head2 Is there a pretty-printer (formatter) for Perl?
121 There is no program that will reformat Perl as much as indent(1) does
124 challenging at best to write a stand-alone Perl parser.
129 with this. The perl-mode or newer cperl-mode for emacs can provide
142 http://www.perl.com/CPAN-local/authors/id/TOMC/scripts/toms.exrc.gz
146 http://www.perl.com/CPAN/doc/misc/tips/working.vgrind.entry, but the
152 =head2 Is there a ctags for Perl?
155 http://www.perl.com/CPAN/authors/id/TOMC/scripts/ptags.gz which may do
158 =head2 Is there an IDE or Windows Perl Editor?
160 Perl programs are just plain text, so any editor will do.
176 ActiveState's cross-platform, multi-language IDE has Perl support,
179 (Visual Perl, a Visual Studio.NET plug-in is currently (early 2001)
184 (http://www.castlelink.co.uk/object_system/) is a Perl web
189 (http://www.solutionsoft.com/perl.htm) is an integrated development
190 environment for Windows that supports Perl development.
192 =item Perl code magic
205 best available Perl editing mode in any editor.
252 incarnation of it, and secondly because you can embed Perl inside it
253 to use Perl as the scripting language. nvi is not alone in this,
254 though: at least also vim and vile offer an embedded Perl.
256 The following are Win32 multilanguage editor/IDESs that support Perl:
274 There is also a toyedit Text widget based editor written in Perl
276 (http://world.std.com/~aep/ptkdb/) is a Perl/tk based debugger that
277 acts as a development environment of sorts. Perl Composer
278 (http://perlcomposer.sourceforge.net/vperl.html) is an IDE for Perl/Tk
308 that shouldn't matter for Perl use). The Cygwin, MKS, and U/WIN all
318 the MPW Perl tool can make use of the MPW Shell itself as an editor (with
325 are text editors for Mac OS that have a Perl sensitivity mode
332 including Perl and HTML (http://alpha.olm.net/).
339 =head2 Where can I get Perl macros for vi?
342 see http://www.perl.com/CPAN/authors/Tom_Christiansen/scripts/toms.exrc.gz ,
345 with an embedded Perl interpreter--see http://www.perl.com/CPAN/src/misc.
347 =head2 Where can I get perl-mode for emacs?
350 perl-mode.el and support for the Perl debugger built in. These should
353 In the Perl source directory, you'll find a directory called "emacs",
357 Note that the perl-mode of emacs will have fits with C<"main'foo">
359 are probably using C<"main::foo"> in new Perl code anyway, so this
362 =head2 How can I use curses with Perl?
366 directory http://www.perl.com/CPAN/authors/Tom_Christiansen/scripts/rep;
370 =head2 How can I use X or Tk with Perl?
372 Tk is a completely Perl-based, object-oriented interface to the Tk toolkit
375 directory http://www.perl.com/CPAN/modules/by-category/08_User_Interfaces/
377 Invaluable for Perl/Tk programming are the Perl/Tk FAQ at
378 http://w4.lns.cornell.edu/%7Epvhp/ptk/ptkTOC.html , the Perl/Tk Reference
380 http://www.perl.com/CPAN-local/authors/Stephen_O_Lidie/ , and the
382 http://www-users.cs.umn.edu/%7Eamundson/perl/perltk/toc.html .
386 The http://www.perl.com/CPAN/authors/id/SKUNZ/perlmenu.v4.0.tar.gz
391 See the next question on ``How can I make my Perl program run faster?''
393 =head2 How can I make my Perl program run faster?
403 A different approach is to autoload seldom-used Perl code. See the
414 not much) execution time. See the question about compiling your Perl
418 If you're currently linking your perl executable to a shared I<libc.so>,
420 link with a static libc.a instead. This will make a bigger perl
421 executable, but your Perl programs (and programmers) may thank you for
425 Unsubstantiated reports allege that Perl interpreters that use sfio
430 The undump program was an old attempt to speed up your Perl program
435 =head2 How can I make my Perl program take less memory?
437 When it comes to time-space tradeoffs, Perl nearly always prefers to
438 throw memory at a problem. Scalars in Perl use more memory than
451 less memory than equivalent Perl modules.
453 Another thing to try is learning whether your Perl was compiled with
454 the system malloc or with Perl's builtin malloc. Whichever one it
457 distribution. You can find out whether you are using perl's malloc by
458 typing C<perl -V:usemymalloc>.
462 No, Perl's garbage collection system takes care of this.
483 longer used, but it doesn't appear to happen with Perl (yet). The Mac
492 that they go out of scope so that Perl can free up that space for
497 or should be worrying about much in Perl, but even this capability
502 Beyond the normal measures described to make general Perl programs
515 mod_perl), httpd will run with an embedded Perl interpreter which
517 space without forking. The Apache extension also gives Perl access to
518 the internal server API, so modules written in Perl can do just about
520 http://perl.apache.org/
523 module (available from http://www.fastcgi.com/) each of your Perl
530 See http://www.perl.com/CPAN/modules/by-category/15_World_Wide_Web_HTML_HTTP_CGI/ .
532 A non-free, commercial product, ``The Velocity Engine for Perl'',
535 performance of your Perl programs, running programs up to 25 times
536 faster than normal CGI Perl when running in persistent Perl mode or 4
541 =head2 How can I hide the source for my Perl program?
567 language, not just Perl).
577 =head2 How can I compile my Perl program into byte code or C?
587 where a lot of native type inferencing is possible, the normal Perl
596 just as big as the original perl executable, and then some. That's
600 F<INSTALL> podfile in the Perl source distribution for details. If
601 you link your main perl binary with this, it will make it minuscule.
602 For example, on one author's system, F</usr/bin/perl> is only 11k in
605 In general, the compiler will do nothing to make a Perl program smaller,
613 Perl install anyway.
615 =head2 How can I compile Perl into Java?
617 You can also integrate Java and Perl with the
618 Perl Resource Kit from O'Reilly and Associates. See
621 Perl 5.6 comes with Java Perl Lingo, or JPL. JPL, still in
622 development, allows Perl code to be called from Java. See jpl/README
623 in the Perl source tree.
625 =head2 How can I get C<#!perl> to work on [MS-DOS,NT,...]?
629 extproc perl -S -your_switches
636 The Win95/NT installation, when using the ActiveState port of Perl,
638 perl interpreter. If you install another port, perhaps even building
639 your own Win95/NT Perl from the standard sources by using a Windows port
645 Macintosh Perl programs will have the appropriate Creator and
646 Type, so that double-clicking them will invoke the Perl application.
649 throw the perl interpreter into your cgi-bin directory, in order to
653 =head2 Can I write useful Perl programs on the command line?
659 perl -lane 'print $F[0] + $F[-1]' *
662 perl -le 'for(@ARGV) {print if -f && -T _}' *
665 perl -0777 -pe 's{/\*.*?\*/}{}gs' foo.c
668 perl -e '$X=24*60*60; utime(time(),time() + 30 * $X,@ARGV)' *
671 perl -le '$i++ while getpwuid($i); print $i'
674 echo $PATH | perl -nl -072 -e '
677 OK, the last one was actually an Obfuscated Perl Contest entry. :-)
679 =head2 Why don't Perl one-liners work on my DOS/Mac/VMS system?
690 perl -e 'print "Hello world\n"'
693 perl -e "print \"Hello world\n\""
700 perl -e "print ""Hello world\n"""
707 perl -e "print <Ctrl-x>"Hello world\n<Ctrl-x>""
722 =head2 Where can I learn about CGI or Web programming in Perl?
752 =head2 Where can I learn about object-oriented Perl programming?
757 postscript) from http://www.perl.com/CPAN/doc/FMTEYEWTK/ .
759 =head2 Where can I learn about linking C with Perl? [h2xs, xsubpp]
761 If you want to call C from Perl, start with L<perlxstut>,
763 call Perl from C, then read L<perlembed>, L<perlcall>, and
768 =head2 I've read perlembed, perlguts, etc., but I can't embed perl in
774 C<make test TEST_VERBOSE=1> along with C<perl -V>.
779 A complete list of Perl's error messages and warnings with explanatory
781 (distributed with Perl) to explain the error messages:
783 perl program 2>diag.out
796 This module (part of the standard Perl distribution) is designed to
806 of Perl or of its documentation (printed or otherwise), this works is
807 covered under Perl's Artistic License. For separate distributions of