[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: update_file: support --force
From: |
Akim Demaille |
Subject: |
Re: update_file: support --force |
Date: |
Mon, 24 Jan 2005 17:56:06 +0100 |
User-agent: |
Gnus/5.1007 (Gnus v5.10.7) Emacs/21.3 (gnu/linux) |
>>> "Alexandre" == Alexandre Duret-Lutz <address@hidden> writes:
> IIRC the other module use
> =item C<update_file ($from, $to, [$force = 0])>
> to describe conditional arguments.
OK.
>> + $force = 0
>> + unless defined $force;
> This should not be needed: !$force is true when $force is undefined.
Hm, I wasn't sure there are no severe -W that makes uses of undef
stricter.
>> +Return the contents of c<$file_name>.
> While you are at it: C<
Sure!