home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1992 March / Source_Code_CD-ROM_Walnut_Creek_March_1992.iso / usenet / altsrcs / 1 / 1453 < prev    next >
Encoding:
Internet Message Format  |  1990-12-28  |  17.3 KB

  1. From: jv@mh.nl (Johan Vromans)
  2. Newsgroups: comp.lang.perl,alt.sources
  3. Subject: TeX version of the Perl Reference Guide - part 2 of 2
  4. Message-ID: <JV.90Jun13104035@squirrel.mh.nl>
  5. Date: 13 Jun 90 16:40:35 GMT
  6. X-Checksum-Snefru: c6f43ab6 93f2ec62 57dadb6f 90ef96b6
  7.  
  8. NOTE:    This TeX document has been created by Raymond Chen
  9.     <raymond@math.berkeley.edu>. You should contact him for details
  10.     and remarks. I'm only passing it through.
  11.  
  12. Submitted-by: Raymond Chen <raymond@math.berkeley.edu>
  13. Archive-name: perlref.tex/part02
  14.  
  15. ---- Cut Here and unpack ----
  16. #!/bin/sh
  17. # this is xxx.02 (part 2 of perlref.tex)
  18. # do not concatenate these parts, unpack them in order with /bin/sh
  19. # file perlref.tex continued
  20. #
  21. if touch 2>&1 | fgrep '[-amc]' > /dev/null
  22.  then TOUCH=touch
  23.  else TOUCH=true
  24. fi
  25. if test ! -r shar3_seq_.tmp; then
  26.     echo "Please unpack part 1 first!"
  27.     exit 1
  28. fi
  29. (read Scheck
  30.  if test "$Scheck" != 2; then
  31.     echo "Please unpack part $Scheck next!"
  32.     exit 1
  33.  else
  34.     exit 0
  35.  fi
  36. ) < shar3_seq_.tmp || exit 1
  37. echo "x - Continuing file perlref.tex"
  38. sed 's/^X//' << 'SHAR_EOF' >> perlref.tex &&
  39. Xto the last selected output channel---see select(\dots)).
  40. X
  41. Xprintf[([<FILEHANDLE>] <LIST>)*]
  42. XEquivalent to ``print <FILEHANDLE> sprintf(<LIST>)''.
  43. X
  44. Xread(<FILEHANDLE>,|$|<VAR>,<LENGTH>)
  45. XRead <LENGTH> binary bytes from the file into the variable.
  46. XReturns number of bytes actually read.
  47. X
  48. Xseek(<FILEHANDLE>,<POSITION>,<WHENCE>)
  49. XRandomly positions the file. Returns 1 upon success, 0 otherwise.
  50. X
  51. Xselect(<FILEHANDLE>)*
  52. XSets the current default filehandle for output operations. Returns
  53. Xthe previously selected filehandle.
  54. X
  55. Xsprintf(<FORMAT>,<LIST>)
  56. XReturns a string formatted by (almost all of) the usual printf
  57. Xconventions.
  58. X
  59. Xtell[(<FILEHANDLE>)]*
  60. XReturns the current file position for the file. If <FILEHANDLE> is
  61. Xomitted, assumes the file last read.
  62. X
  63. Xwrite[(<FILEHANDLE>)]*
  64. XWrites a formatted record to the specified file, using the format
  65. Xassociated with that file. See Formats.
  66. X\endtable
  67. X
  68. X
  69. X\beginsection 16. Search and replace functions
  70. X
  71. X\table 1.2in
  72. X
  73. X[<EXPR> |=~|] [m]/<PATTERN>/[i][o]
  74. XSearches a string for a pattern. If no string is specified via the |=~|
  75. Xor |!~| operator, the |$_| string is searched. If you prepend an ``m'' you
  76. Xcan use any pair of characters as delimiters. If the final delimiter is
  77. Xfollowed by the optional letter ``i'', the matching is done in a
  78. Xcase-insensitive manner. If you append ``o'', variables are interpolated
  79. Xonly once. If used in a context that requires an array value, a
  80. Xpattern match returns an array consisting of the subexpressions
  81. Xmatched by the parentheses in pattern, i.e. |($1, $2, $3|\dots|)|.
  82. X
  83. X?<PATTERN>?
  84. XThis is just like the /pattern/ search, except that it matches only
  85. Xonce between calls to the reset operator.
  86. X
  87. X[|$|<VAR> |=~|] s/<PATTERN>/REPLACEMENT/[g][i][e][o]
  88. XSearches a string for a pattern, and if found, replaces that pattern
  89. Xwith the replacement text and returns the number of substitutions
  90. Xmade. Otherwise it returns false (0). Optional modifiers: ``g''
  91. Xindicates that all occurrences of the pattern are to be replaced; ``e''
  92. Xindicates that the replacement string is to be interpreted as an
  93. Xexpression, ``i'' and ``o'' as with /<PATTERN>/ matching. Any
  94. Xdelimiter may replace the slashes; if single quotes are used, no
  95. Xinterpretation is done on the replacement string.
  96. X
  97. Xstudy[(|$|<VAR>\*)*]
  98. XStudy the contents of |$|<VAR> in anticipation of doing many pattern
  99. Xmatches on the contents before it is next modified.
  100. X
  101. X[|$|<VAR> |=~|] tr/<SEARCHLIST>/<REPLACEMENTLIST>/
  102. XTranslates all occurrences of the characters found in the search list
  103. Xwith the corresponding character in the replacement list. It returns
  104. Xthe number of characters replaced. ``y'' may be used instead of ``tr''.
  105. X\endtable
  106. X
  107. X\beginsection 17. System interaction
  108. X
  109. X\table1.2in
  110. X
  111. Xchdir [(<EXPR>)*]
  112. XChanges the working directory, |$HOME| if <EXPR> is omitted.
  113. X
  114. Xchroot(<FILENAME>\*)*
  115. XChanges the root for the following commands.
  116. X
  117. Xdie(<LIST>)*
  118. XPrints the value of <LIST> to |STDERR| and exits with the current
  119. Xvalue of |$!| (errno). If |$!| is 0, exits with the value of |($? >> 8)|
  120. X(|`command`| status). If |($? >> 8)| is 0, exits with 255.
  121. X
  122. Xexec(<LIST>)*
  123. XExecutes the system command in <LIST>.
  124. X
  125. Xexit(<EXPR>)*
  126. XExits immediately with the value of <EXPR>.
  127. X
  128. Xfork
  129. XDoes a fork() call. Returns the child pid to the parent process and
  130. Xzero to the child process.
  131. X
  132. Xgetlogin
  133. XReturns the current login name from |/etc/utmp|.
  134. X
  135. Xgetpgrp[(<PID>)*]
  136. XReturns the process group for process <PID> (0, or omitted, means
  137. Xthe current process).
  138. X
  139. Xgetppid
  140. XReturns the process id of the parent process.
  141. X
  142. Xgetpriority(<WHICH>,<WHO>)
  143. XReturns the current priority for a process, process group, or user.
  144. X
  145. Xkill(<LIST>)*
  146. XSends a signal to a list of processes. The first element of the list
  147. Xmust be the signal to send (numeric, or its name as a string).
  148. X
  149. Xsetpgrp(<PID>,<PGRP>)
  150. XSets the process group for the <PID> (0 = current process).
  151. X
  152. Xsetpriority(<WHICH>,<WHO>,<PRIO>)
  153. XSets the current priority for a process, process group or a user.
  154. X
  155. Xsleep[(<EXPR>)*]
  156. XCauses the script to sleep for <EXPR> seconds, or forever if no
  157. X<EXPR>. Returns the number of seconds actually slept.
  158. X
  159. Xsyscall(<LIST>)*
  160. XCalls the system call specified in the first element of the list,
  161. Xpassing the rest of the list as arguments to the call.
  162. X
  163. Xsystem(<LIST>)*
  164. XDoes exactly the same thing as ``exec <LIST>'' except that a fork is
  165. Xdone first, and the parent process waits for the child process to
  166. Xcomplete.
  167. X
  168. Xtimes
  169. XReturns a 4-element array |($user, $system, $cuser, $csystem)|
  170. Xgiving the user and system times, in seconds, for this process and
  171. Xthe children of this process.
  172. X
  173. Xumask[(<EXPR>)*]
  174. XSets the umask for the process and returns the old one. If <EXPR> is
  175. Xomitted, returns current umask value.
  176. X
  177. Xwait
  178. XWaits for a child process to terminate and returns the pid of the
  179. Xdeceased process ($-1$ if none). The status is returned in |$?|.
  180. X
  181. Xwarn(<LIST>)*
  182. XPrints the message on |STDERR| like die(\dots), but doesn't exit.
  183. X\endtable
  184. X
  185. X\beginsection 18. Networking
  186. X
  187. X\table1.2in
  188. X
  189. Xaccept(<NEWSOCKET>,<GENERICSOCKET>)
  190. XAccepts a new socket.
  191. X
  192. Xbind(<SOCKET>,<NAME>)
  193. XBinds the <NAME> to the <SOCKET>.
  194. X
  195. Xconnect(<SOCKET>, <NAME>)
  196. XConnects the <NAME> to the <SOCKET>.
  197. X
  198. Xgetpeername(<SOCKET>)
  199. XReturns the socket address of the other end of the <SOCKET>.
  200. X
  201. Xgetsockname(<SOCKET>)
  202. XReturns the name of the socket.
  203. X
  204. Xgetsockopt(<SOCKET>,<LEVEL>,<OPTNAME>)
  205. XReturns the socket options.
  206. X
  207. Xlisten(<SOCKET>,<QUEUESIZE>)
  208. XStarts listening on the specified <SOCKET>.
  209. X
  210. Xrecv(<SOCKET>,<SCALAR>,<LENGTH>,<FLAGS>)
  211. XReceives a message on <SOCKET>.
  212. X
  213. Xsend(<SOCKET>,<MSG>,<FLAGS>[,<TO>])
  214. XSends a message on the <SOCKET>.
  215. X
  216. Xsetsockopt(<SOCKET>,<LEVEL>,<OPTNAME>,<OPTVAL>)
  217. XSets the requested socket option.
  218. X
  219. Xshutdown(<SOCKET>,<HOW>)
  220. XShuts down a <SOCKET>.
  221. X
  222. Xsocket(<SOCKET>,<DOMAIN>,<TYPE>,<PROTOCOL>)
  223. XCreates a <SOCKET> in <DOMAIN> with <TYPE> and <PROTOCOL>.
  224. X
  225. Xsocketpair(<SOCKET1>,<SOCKET2>,<DOMAIN>,<TYPE>,<PROTOCOL>)
  226. XAs socket, but creates a pair of bi-directional sockets.
  227. X\endtable
  228. X
  229. X\beginsection 19. Miscellaneous
  230. X
  231. X\table1.2in
  232. X
  233. Xdefined(<EXPR>)*
  234. XTests whether the lvalue <EXPR> has a real value.
  235. X
  236. Xdump [<LABEL>]
  237. XImmediate core dump. When reincarnated, starts at <LABEL>.
  238. X
  239. Xlocal(<LIST>)
  240. XDeclares the listed variables to be local to the enclosing block,
  241. Xsubroutine or eval.
  242. X
  243. Xpackage <NAME>
  244. XDesignates the remainder of the current block as a package, having
  245. Xa separate namespace.
  246. X
  247. X%%rjc%% Changed "not omitted" to "supplied"
  248. Xreset [(<EXPR>)*]
  249. XResets |??| searches so that they work again. If <EXPR> is supplied,
  250. Xit is interpreted as a list of single characters (hyphens allowed for
  251. Xranges). All variables and arrays beginning with one of those
  252. Xletters are reset to their pristine state.  Only affects the current
  253. Xpackage.
  254. X
  255. Xsub <NAME> $\{$ <EXPR>; \dots\ $\}$
  256. XDesignates <NAME> as a subroutine. Parameters are passed as array
  257. X|@_|. Returns the value of the last expression evaluated.
  258. X
  259. Xundef[(<LVALUE>)*]
  260. XUndefines the <LVALUE>. Always returns the undefined value.
  261. X
  262. Xwantarray
  263. XReturns true if the current context expects an array value.
  264. X\endtable
  265. X
  266. X\beginsection 20. Info from system files
  267. X
  268. X|/etc/passwd|.
  269. XInfo is |($name, $passwd, $uid, $gid, $quota, $comment, $gcos, $dir,
  270. X$shell)|.
  271. X\medskip
  272. X
  273. X\table2.4in
  274. X
  275. Xendpwent
  276. XEnds lookup processing.
  277. X
  278. Xgetpwent
  279. XGets next info.
  280. X
  281. Xgetpwnam(<NAME>)
  282. XGets info by name.
  283. X
  284. Xgetpwuid(<UID>)
  285. XGets info by uid.
  286. X
  287. Xsetpwent
  288. XResets lookup processing.
  289. X\endtable
  290. X
  291. X\text \medskip
  292. X|/etc/group|.
  293. XInfo is a 4-item array: |($name, $passwd, $gid, $members)|.
  294. X\medskip
  295. X\table2.4in
  296. X
  297. Xendgrent
  298. XEnds lookup processing.
  299. X
  300. Xgetgrgid(<GID>)
  301. XGets info by group id.
  302. X
  303. Xgetgrnam(<NAME>)
  304. XGets info by name.
  305. X
  306. Xgetgrent
  307. XGets next info.
  308. X
  309. Xsetgrent
  310. XResets lookup processing.
  311. X\endtable
  312. X
  313. X\text \medskip
  314. X|/etc/hosts|.
  315. XInfo is |($name, $aliases, $addrtype, $length, @addrs)|.
  316. X\medskip
  317. X
  318. X\table2.4in
  319. X
  320. Xendhostent
  321. XEnds lookup processing.
  322. X
  323. Xgethostbyname(<NAME>)
  324. XGets info by name.
  325. X
  326. Xgethostent
  327. XGets next info.
  328. X
  329. Xsethostent(<STAYOPEN>)
  330. XResets lookup processing.
  331. X\endtable
  332. X
  333. X\text\medskip
  334. X|/etc/networks|.
  335. XInfo is |($name, $aliases, $addrtype, $net)|.
  336. X\medskip
  337. X
  338. X\table2.4in
  339. X
  340. Xendnetent
  341. XEnds lookup processing.
  342. X
  343. Xgetnetbyaddr(<ADDR>,<TYPE>)
  344. XGets info by address and type.
  345. X
  346. Xgetnetbyname(<NAME>)
  347. XGets info by name.
  348. X
  349. Xgetnetent
  350. XGets next info.
  351. X
  352. Xsetnetent(<STAYOPEN>)
  353. XResets lookup processing.
  354. X\endtable
  355. X
  356. X\text\medskip
  357. X|/etc/services|.
  358. XInfo is |($name, $aliases, $port, $proto)|.
  359. X\medskip
  360. X
  361. X\table2.4in
  362. Xendservent
  363. XEnds lookup processing.
  364. X
  365. Xgetservbyname(<NAME>, <PROTO>)
  366. XGets info by name.
  367. X
  368. Xgetservbyport(<PORT>, <PROTO>)
  369. XGets info by port.
  370. X
  371. Xgetservent
  372. XGets next info.
  373. X
  374. Xsetservent(<STAYOPEN>)
  375. XResets lookup processing.
  376. X\endtable
  377. X
  378. X\text\medskip
  379. X|/etc/protocols|.
  380. XInfo is |($name, $aliases, $proto)|.
  381. X\medskip
  382. X
  383. X\table2.4in
  384. X
  385. Xendprotoent
  386. XEnds lookup processing.
  387. X
  388. Xgetprotobyname(<NAME>)
  389. XGets info by name.
  390. X
  391. Xgetprotobynumber(<NUMBER>)
  392. XGets info by number.
  393. X
  394. Xgetprotoent
  395. XGets next info.
  396. X
  397. Xsetprotoent(<STAYOPEN>)
  398. XResets lookup processing.
  399. X\endtable
  400. X
  401. X\beginsection 21. Regular expressions
  402. X
  403. X\text
  404. XStandard UNIX regular expressions, with the following additions:
  405. X\medskip
  406. X
  407. X\table1.2in
  408. X
  409. X|(| |)| \| |{| |}|
  410. Xdo not have to be escaped with a |\|.
  411. X
  412. X|+|
  413. Xmatches the preceding pattern element one or more times.
  414. X
  415. X|?|
  416. Xmatches zero or one times.
  417. X
  418. X%%rjc%% syntax elaborated
  419. X|{|$n$ [|,| [$m$]] |}|
  420. Xdenote the minimum ($n$)
  421. Xand maximum ($m$) match count.  If |,| is omitted, uses $m=n$.
  422. XIf $m$ is omitted but |,| is present, uses $m=\infty$.
  423. X
  424. X|\w|
  425. Xmatches alphanumeric, including ``|_|'', |\W| matches non-alphanumeric.
  426. X
  427. X|\b|
  428. Xmatches word boundaries, |\B| matches non-boundaries.
  429. X
  430. X|\s|
  431. Xmatches whitespace, |\S| matches non-whitespace.
  432. X
  433. X|\d|
  434. Xmatches numeric, |\D| matches non-numeric.
  435. X\endtable
  436. X
  437. X\text\medskip
  438. X|\n|, |\r|, |\f|, |\t| and |\|<NNN> have their usual meaning.
  439. X
  440. X|\w|, |\s| and |\d| may be used within character classes, |\b|
  441. Xdenotes backspace in this context.
  442. X
  443. X|\1| \dots\ |\9| refer to matched sub-expressions inside the match.
  444. X
  445. X|$1| \dots\ |$9| can be used to refer to matched sub-expressions outside the
  446. Xmatching.
  447. X\medskip
  448. X
  449. X\table1.2in
  450. X
  451. X|$+|
  452. Xreturns whatever the last bracket match matched.
  453. X
  454. X|$&|
  455. Xreturns the entire matched string.
  456. X
  457. X|$`|
  458. Xreturns everything before the matched string.
  459. X
  460. X|$'|
  461. Xreturns everything after the matched string.
  462. X\endtable
  463. X
  464. X\beginsection 22. Formats
  465. X
  466. X\text
  467. Xformat [<NAME>] = \hfil\break
  468. X<FORMLIST>        \hfil\break
  469. X|.|
  470. X
  471. X<FORMLIST> pictures the lines, and contains the arguments which will
  472. Xgive values to the fields in the lines. Picture fields are:
  473. X
  474. X\table1in
  475. X
  476. X|@<<<|\dots
  477. Xleft adjusted field, the ``|<|'' is repeated to denote the
  478. Xlength of the field;
  479. X
  480. X|@>>>|\dots
  481. Xright adjusted field;
  482. X
  483. X|@|\|\|\|\dots
  484. Xcentered field;
  485. X
  486. X|@*|
  487. Xa multi-line field.
  488. X\endtable
  489. X
  490. X\text\medskip
  491. X
  492. XUse ``|^|'' instead of ``|@|'' for multi-line block filling.
  493. X
  494. XUse ``|~|'' at the beginning of a line to suppress unwanted empty lines.
  495. X
  496. XUse ``|~~|'' at the beginning of a line to have this format line repeated
  497. Xuntil all fields are exhausted.
  498. X
  499. XSet |$-| to zero to force a page break.
  500. X
  501. X\beginsection 23. Special variables
  502. X
  503. X\text
  504. XThe following variables are global and should be localized in subroutines:
  505. X\medskip
  506. X
  507. X\table.25in
  508. X
  509. X|$_|
  510. XThe default input and pattern-searching space.
  511. X
  512. X|$.|
  513. XThe current input line number of the last filehandle that was read.
  514. X
  515. X|$/|
  516. XThe input record separator, newline by default.
  517. X
  518. X|$,|
  519. XThe output field separator for the print operator.
  520. X
  521. X|$"|
  522. XThe separator which joins elements of arrays interpolated in
  523. X strings.
  524. X
  525. X|$\|
  526. XThe output record separator for the print operator.
  527. X
  528. X|$#|
  529. XThe output format for printed numbers. Initial value is ``|%.20g|''.
  530. X
  531. X|$*|
  532. XSet to 1 to do multiline matching within a string, 0 to assume
  533. Xstrings contain a single line. Default is 0.
  534. X
  535. X|$?|
  536. XThe status returned by the last backtick (|`|\thinspace|`|) command,
  537. Xpipe close or system operator.
  538. X
  539. X|$]|
  540. XThe perl version string as displayed with ``|perl -v|''.
  541. X
  542. X|$[|
  543. XThe index of the first element in an array, and of the first character
  544. Xin a substring. Default is 0.
  545. X
  546. X|$;|
  547. XThe subscript separator for multi-dimensional array emulation.
  548. XDefault is |"\034"|.
  549. X
  550. X|$!|
  551. XIf used in a numeric context, yields the current value of errno. If
  552. Xused in a string context, yields the corresponding error string.
  553. X
  554. X|$@|
  555. XThe perl error message from the last eval or ``do <EXPR>'' command.
  556. X
  557. X|$:|
  558. XThe set of characters after which a string may be broken to fill
  559. Xcontinuation fields (starting with ``|^|'') in a format.
  560. X
  561. X|$0|
  562. XThe name of the file containing the perl script being executed.
  563. X
  564. X|$$|
  565. XThe process number of the perl running this script. Altered (in the
  566. Xchild process) by fork().
  567. X
  568. X|$<|
  569. XThe real uid of this process.
  570. X
  571. X|$>|
  572. XThe effective uid of this process.
  573. X
  574. X|$(|
  575. XThe real gid of this process.
  576. X
  577. X|$)|
  578. XThe effective gid of this process.
  579. X\endtable
  580. X
  581. X\text \medskip
  582. XThe following variables are context dependent and need not be localized:
  583. X\medskip
  584. X
  585. X\table.25in
  586. X
  587. X|$%|
  588. XThe current page number of the currently selected output channel.
  589. X
  590. X|$=|
  591. XThe page length of the current output channel. Default is 60 lines.
  592. X
  593. X|$-|
  594. XThe number of lines left on the page.
  595. X
  596. X|$~|
  597. XThe name of the current report format.
  598. X
  599. X|$^|
  600. XThe name of the current top-of-page format.
  601. X
  602. X|$|\|
  603. XIf set to nonzero, forces a flush after every write or print on the
  604. Xcurrently selected output channel. Default is 0.
  605. X\medskip
  606. X\hbox{The following variables are always local to the current block:}
  607. X\medskip
  608. X|$&|
  609. XThe string matched by the last pattern match.
  610. X
  611. X|$`|
  612. XThe string preceding what was matched by the last pattern match.
  613. X
  614. X|$'|
  615. XThe string following what was matched by the last pattern match.
  616. X
  617. X|$+|
  618. XThe last bracket matched by the last search pattern.
  619. X
  620. X|$1| \dots\ |$9|
  621. XContains the subpattern from the corresponding set of parentheses
  622. Xin the last pattern matched.
  623. X\endtable
  624. X
  625. X\beginsection 24. Special arrays
  626. X
  627. X\table.5in
  628. X
  629. X|@ARGV|
  630. XContains the command line arguments for the script (not
  631. Xincluding the command name). See |$0| for the command
  632. Xname.
  633. X
  634. X|@INC|
  635. XContains the list of places to look for perl scripts to be
  636. Xevaluated by the ``do <EXPR>'' command.
  637. X
  638. X|@_|
  639. XParameter array for subroutines. Also used by split if not in
  640. Xarray context.
  641. X
  642. X|%ENV|
  643. XContains the current environment.
  644. X
  645. X|%SIG|
  646. XUsed to set signal handlers for various signals.
  647. X\endtable
  648. X
  649. X\beginsection 25. The perl debugger (invoked with {\tt perl -d})
  650. X
  651. X\table1.5in
  652. X
  653. X|h|
  654. XPrints out a help message.
  655. X
  656. X|s|
  657. XSingle steps.
  658. X
  659. X|c|
  660. XContinues (until breakpoint or exit).
  661. X
  662. X\cstok{RET}
  663. XRepeats last ``|s|'' or ``|n|''.
  664. X
  665. X|n|
  666. XSingle steps around subroutine call.
  667. X
  668. X|l| [<RANGE>]
  669. Xlists a range of lines. <RANGE> may be a number, start$-$end,
  670. Xstart$+$amount, or a subroutine name. If omitted, continues last ``|l|''.
  671. X
  672. X|L|
  673. XLists lines that have breakpoints or actions.
  674. X
  675. X|t|
  676. XToggles trace mode.
  677. X
  678. X|b| [<LINE>]
  679. XSets breakpoint at (current) line.
  680. X
  681. X|b| <SUBNAME>
  682. XSets breakpoint at the subroutine.
  683. X
  684. X|S|
  685. XLists names of all subroutines.
  686. X
  687. X|d| <LINE>
  688. XDeletes breakpoint at the given line.
  689. X
  690. X|D|
  691. XDeletes all breakpoints.
  692. X
  693. X|A|
  694. XDeletes all line actions.
  695. X
  696. X|V| [<PACKAGE>]
  697. XLists all variables in a package. Default package is main.
  698. X
  699. X|a| <LINE> <COMMAND>
  700. XSets an action for line.
  701. X
  702. X|<| <COMMAND>
  703. XSets an action to be executed before every debugger prompt.
  704. X
  705. X|>| <COMMAND>
  706. XSets an action to be executed before every ``|s|'', ``|c|'' or ``|n|''
  707. Xcommand.
  708. X
  709. X|!| [ [|-|]<NUMBER>]
  710. XRedo a debugging command. Default is previous command.
  711. X
  712. X|H| [|-|<NUMBER>]
  713. XDisplays the last |-|number commands of more than one letter.
  714. X
  715. X|q|
  716. XQuits. You may also use your \cstok{EOF} character.
  717. X
  718. X<COMMAND>
  719. XExecutes command as a perl statement.
  720. X
  721. X|p| <EXPR>\*
  722. XPrints <EXPR>.
  723. X\endtable
  724. X
  725. X\end
  726. X
  727. SHAR_EOF
  728. echo "File perlref.tex is complete" &&
  729. $TOUCH -am 0402093490 perlref.tex &&
  730. chmod 0644 perlref.tex ||
  731. echo "restore of perlref.tex failed"
  732. set `wc -c perlref.tex`;Wc_c=$1
  733. if test "$Wc_c" != "37522"; then
  734.     echo original size 37522, current size $Wc_c
  735. fi
  736. rm -f shar3_seq_.tmp
  737. echo "You have unpacked the last part"
  738. exit 0
  739. --
  740. Johan Vromans                       jv@mh.nl via internet backbones
  741. Multihouse Automatisering bv               uucp: ..!{uunet,hp4nl}!mh.nl!jv
  742. Doesburgweg 7, 2803 PL Gouda, The Netherlands  phone/fax: +31 1820 62944/62500
  743. ------------------------ "Arms are made for hugging" -------------------------
  744.