home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.perl
- Path: sparky!uunet!charon.amdahl.com!pacbell.com!mips!sdd.hp.com!decwrl!csus.edu!sfsuvax1.sfsu.edu!eburk
- From: eburk@sfsuvax1.sfsu.edu (Eli Burk)
- Subject: system & exec questions
- Message-ID: <1992Aug20.234826.28608@csus.edu>
- Originator: eburk@sfsuvax1.sfsu.edu
- Sender: news@csus.edu
- Organization: San Francisco State University
- Date: Thu, 20 Aug 1992 23:48:26 GMT
- Lines: 14
-
- I am having some difficulty understanding how to use perl
- system & exec functions. As an example if I have @list
- and I want to send this out to my system (unix) what is
- the best wa? As an example I want to use unix "pr"
- the following is from memory - but it shows the basic idea...
- csh script fragment (cal 9 1992; cal 10 1992) | pr -t -2
- How do I acomplish the same thing in perl? If I pass the
- "cal"s to @list how can I then pipe @list to "pr"?
-
- --
- ..out in the street, with your cheap fur on, or maybe your plastic raincoat
- and your plastic shoes, they look good too, standing in the snow you're young-
- er than you look, {fall in love with me} 2X, how i wish you would...[Iggy Pop]
- eburk@futon.sfsu.edu -or- eburk@sutro.sfsu.edu -or- eburk@sfsuvax1.sfsu.edu
-