home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.perl
- Path: sparky!uunet!cs.utexas.edu!sdd.hp.com!ux1.cso.uiuc.edu!news.cso.uiuc.edu!ux2.cso.uiuc.edu!ejk
- From: ejk@ux2.cso.uiuc.edu (Ed Kubaitis - CCSO)
- Subject: Re: 4.035 bug or feature...why does this run?
- References: <1992Aug27.171036.28995@odin.corp.sgi.com>
- Message-ID: <BtnMC5.51s@news.cso.uiuc.edu>
- Sender: usenet@news.cso.uiuc.edu (Net Noise owner)
- Organization: University of Illinois - Urbana
- Date: Thu, 27 Aug 1992 18:07:15 GMT
- Lines: 27
-
- stantz@sierra.corp.sgi.com (Mark Stantz) writes:
- |...
- |foreach $item (@s2) {
- | push(@u, $item) unless (grep(($_ eq $item), @s1)) # Huh?
- |}
- |...
- | Why does this program run when there is no ';' at the end of
- |the line indicated with the comment? Apparently it works fine under 4.035,
- |but doesn't run under 4.019 or earlier versions. I would have expected the
- |'doesn't run' behavior in 4.035 as well.
- |
- | What's the story behind this?
-
- Feature. From "perl 4.0 patch #20":
-
- ENHANCEMENTS
- -->Subject: relaxed requirement for semicolon at the end of a block
- Subject: scalar keys %array now counts keys for you
- Subject: added ... as variant on ..
- Subject: get*by* routines now return something useful in a scalar context
- Subject: form feed for formats is now specifiable via $^L
- Subject: PERLLIB now supports multiple directories
- Subject: paragraph mode now skips extra newlines automatically
-
- ----------------------------------
- Ed Kubaitis (ejk@ux2.cso.uiuc.edu)
- Computing & Communications Services Office - University of Illinois, Urbana
-