home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.perl
- Path: sparky!uunet!s5!is1.is.morgan.com!is0.is.morgan.com!robt
- From: robt@is.morgan.com (Rob Torop)
- Subject: Re: usersub problems when invoked within a subroutine
- In-Reply-To: sylvia@Tandem.com's message of 11 Sep 92 20:10:54 GMT
- Message-ID: <ROBT.92Sep13144520@idt101.is.morgan.com>
- Sender: news@is.morgan.com
- Nntp-Posting-Host: idt101
- Organization: Morgan Stanley & Company
- References: <1992Sep11.201054.1512@tandem.com>
- Date: Sun, 13 Sep 1992 19:45:20 GMT
- Lines: 27
-
- In article <1992Sep11.201054.1512@tandem.com> sylvia@Tandem.com (Sylvia Tom) writes:
-
- Thanks for posting the notes on how to hook in usubs.
- I've compiled ex1.c on a sun workstation and found
- the following problem. If I call opie from within
- a subroutine and the subroutine returns a list,
- the resulting information returned is lost. If,
- I put parenthesis around $new in the call to opie,
- eg ($new) = &opie($num), the script runs as
- expected. Do you know why this is behaving this way?
-
- Thanks,
- sylvia
- sylvia@tandem.com
-
-
- [ ... Program omitted ... ]
-
- This works ok with pathlevel > 19. I'm running 4.35 now, and this problem
- does not occur. I recompiled with 19 and got the problem described above.
-
- --
- -- Rob Torop
-
- +---------------------------------------------------------------------+
- | The views expressed here are neither mine nor those of my employer. |
- +---------------------------------------------------------------------+
-