home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!charon.amdahl.com!pacbell.com!decwrl!sdd.hp.com!elroy.jpl.nasa.gov!usc!news!netlabs!lwall
- From: lwall@netlabs.com (Larry Wall)
- Newsgroups: comp.lang.perl
- Subject: Re: equal treatment for "bare words?"
- Message-ID: <1992Nov6.021256.1698@netlabs.com>
- Date: 6 Nov 92 02:12:56 GMT
- References: <8608@blue.cis.pitt.edu.UUCP> <8709@blue.cis.pitt.edu.UUCP>
- Sender: news@netlabs.com
- Distribution: na
- Organization: NetLabs, Inc.
- Lines: 24
- Nntp-Posting-Host: scalpel.netlabs.com
-
- In article <8709@blue.cis.pitt.edu.UUCP> rm55@cislabs.pitt.edu (Rudolph T Maceyko) writes:
- : I should point out that this inconsistency exists for all of the following
- : cases:
- :
- : die/warn BAREWORD;
- : die/warn BAREWORD, "\n";
- : die/warn(BAREWORD);
- : die/warn(BAREWORD, "\n");
- :
- : (all of the above act as if no argument had been passed to die or warn)
-
- It works right in Perl 5:
-
- $ perl
- warn HOWDY;
- __END__
- HOWDY at - line 1.
- $ perl
- kill HUP, $$;
- __END__
- Hangup
- $
-
- Larry
-