Lines Matching refs:program
21 The normal way to run a Perl program is by making it directly
25 Upon startup, Perl looks for your program in one of the following
43 no filename arguments--to pass arguments to a STDIN-read program you
44 must explicitly specify a "-" for the program name.
51 "perl", and starts there instead. This is useful for running a program
53 of the program using the C<__END__> token.)
59 invoked, even if B<-x> was used to find the beginning of the program.
69 standard input instead of your program. And a partial B<-I> switch
87 A similar trick involves the B<env> program, if you have it.
96 If the #! line does not contain the word "perl", the program named after
99 can tell a program that their SHELL is F</usr/bin/perl>, and Perl will then
100 dispatch the program to the correct interpreter for them.
102 After locating your program, Perl compiles the entire program to an
104 program is not attempted. (This is unlike the typical shell script,
107 If the program is syntactically correct, it is executed. If the program
129 Create a batch file to run your program, and codify it in
140 Perl program and a Perl library file.
144 Under "Classic" MacOS, a perl program will have the appropriate Creator and
156 at the top of your program, where B<-mysw> are any command line switches you
157 want to pass to Perl. You can now invoke the program directly, by saying
158 C<perl program>, or as a DCL procedure, by saying C<@program> (or implicitly
159 via F<DCL$PATH> by just using the name of the program).
219 In this documentation, C<#!/usr/bin/perl> on the first line of the program
226 like this at the top of your program:
338 causes Perl to check the syntax of the program and then exit without
341 execution of your program. C<INIT> and C<END> blocks, however, will
349 runs the program under the Perl debugger. See L<perldebug>.
358 runs the program under the control of a debugging, profiling, or
360 the program using the Devel::DProf profiler. As with the B<-M>
373 sets debugging flags. To watch how it executes your program, use
416 env PERLDB_OPTS="NonStop=1 AutoTrace=1 frame=2" perl -dS program
419 $ PERLDB_OPTS="NonStop=1 AutoTrace=1 frame=2" perl -dS program
422 % (setenv PERLDB_OPTS "NonStop=1 AutoTrace=1 frame=2"; perl -dS program)
429 may be used to enter one line of program. If B<-e> is given, Perl
432 to use semicolons where you would in a normal program.
500 is the same as using the program:
608 program.
611 program. You can use quotes to add extra code after the module name,
631 causes Perl to assume the following loop around your program, which
637 ... # your program goes here
655 the implicit program loop, just as in B<awk>.
660 causes Perl to assume the following loop around your program, which
666 ... # your program goes here
686 This option causes your program to be run through the C preprocessor before
750 line after the program name but before any filename arguments (or before
752 corresponding variable in the Perl program. The following program
753 prints "1" if the program is invoked with a B<-xyz> switch, and "abc"
767 program (unless the name of the program contains directory separators).
787 The system ignores the first line and feeds the program to F</bin/sh>,
788 which proceeds to try to execute the Perl program as a shell script.
792 program if necessary. After Perl locates the program, it parses the
794 is never true. If the program will be interpreted by csh, you will need
811 On DOS-like platforms, if the program does not contain directory
814 program will be searched for strictly on the PATH.
845 program. You can then in theory take this core dump and turn it
846 into an executable file by using the B<undump> program (not supplied).
850 execute a portion of your program before dumping, use the dump()
954 tells Perl that the program is embedded in a larger chunk of unrelated
959 before running the program. The B<-x> switch controls only the
960 disposal of leading garbage. The program must be terminated with
961 C<__END__> if there is trailing garbage to be ignored (the program
985 Used in executing subprocesses, and in finding the program if B<-S> is
999 When running taint checks (either because the program was running setuid
1001 The program should instead say:
1010 switches are allowed. When running taint checks (because the program
1313 to make them available to the program being executed, and to child