home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!olivea!spool.mu.edu!sdd.hp.com!apollo.hp.com!cupnews0.cup.hp.com!scd.hp.com!hplextra!hpcc05!hpscit!kc
- From: kc@hpscit.sc.hp.com (Kwok Cheung)
- Newsgroups: comp.lang.perl
- Subject: Question on Camel Book
- Message-ID: <48220001@hpscit.sc.hp.com>
- Date: 11 Sep 92 20:50:25 GMT
- Organization: Hewlett-Packard, Santa Clara, CA
- Lines: 22
-
-
- I am fairly new on perl and have use awk and sed for
- a long time. I have a question in regard to the camel book.
- On p.259 the nfinger program, can any one explain what is the
- meaning of the following line.
-
- exec 'finger', @fingerargs, @finger if @finger;
-
- The last part is the one I have problem in trying to understand
-
- @finger if @finger
-
- when I run it with the full line, it just return with
-
- Couldn't run finger:
-
- Even I specific the full path to finger '/usr/bin/finger"
- But when I delete the last 3 word
-
- exec 'finger', @fingerargs;
-
- The nfinger run, but I cannot pass on the logon to the program.
-