Skip Menu |

This queue is for tickets about the Test-RunValgrind CPAN distribution.

Report information
The Basics
Id: 119986
Status: rejected
Priority: 0/
Queue: Test-RunValgrind

People
Owner: Nobody in particular
Requestors: bkb [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Suggest not making argv compulsory
At the moment the program seems to require argv to be set to something. However, not every C program requires command line options, so I suggest turning this off.
On Wed Jan 25 21:48:42 2017, BKB wrote: Show quoted text
> At the moment the program seems to require argv to be set to > something. However, not every C program requires command line options, > so I suggest turning this off.
Hi BKB! sorry for the late reply. Given that doing <<argv => [],>> is not too hard (and is a common case when writing tests) and that having an implicit "argv" may be too errorprone and writing a wrapper function to do it is not hard - I am rejecting this request. This is one case where I agree with https://en.wikipedia.org/wiki/Zen_of_Python that "explicit is better than implicit" (and I am aware that this is Perl 5 / CPAN ).
On Tue Nov 21 14:44:16 2017, SHLOMIF wrote: Show quoted text
> On Wed Jan 25 21:48:42 2017, BKB wrote:
> > At the moment the program seems to require argv to be set to > > something. However, not every C program requires command line > > options, > > so I suggest turning this off.
> > Hi BKB! > > sorry for the late reply. > > Given that doing <<argv => [],>> is not too hard (and is a common > case when writing tests) and that having an implicit "argv" may be too > errorprone and writing a wrapper function to do it is not hard - I am > rejecting this request. > > This is one case where I agree with > https://en.wikipedia.org/wiki/Zen_of_Python that "explicit is better > than implicit" (and I am aware that this is Perl 5 / CPAN ).