Re: Why does this work?
From: Bart Lateur (bart.lateur_at_pandora.be)
Date: 12/29/04
- Next message: ARGENTINA: "Using perl how do you write a script to copy a remote file into your own site"
- Previous message: Michael Mendelsohn: "Re: Is zero even or odd?"
- In reply to: Joe Smith: "Re: Why does this work?"
- Next in thread: Gunnar Hjalmarsson: "Re: Why does this work?"
- Reply: Gunnar Hjalmarsson: "Re: Why does this work?"
- Reply: Abigail: "Re: Why does this work?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 29 Dec 2004 13:04:51 GMT
Joe Smith wrote:
>Brian McCauley wrote:
>> I would consider the behaviour described in this thread to be a
>> (non-serious) bug in Perl
>It is not a bug. It is a feature that was deliberately added to
>the language and is documented.
You're missing the point.
use strict; print -force
prints:
-force
both in 5.6.1 as in 5.8.3. For some reason, strict seems to be too
relaxed here. Maybe that is by design too, to allow for emulation of
named parameters more easily.
-- Bart.
- Next message: ARGENTINA: "Using perl how do you write a script to copy a remote file into your own site"
- Previous message: Michael Mendelsohn: "Re: Is zero even or odd?"
- In reply to: Joe Smith: "Re: Why does this work?"
- Next in thread: Gunnar Hjalmarsson: "Re: Why does this work?"
- Reply: Gunnar Hjalmarsson: "Re: Why does this work?"
- Reply: Abigail: "Re: Why does this work?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|