Skip Menu |

This queue is for tickets about the Daemon-Generic CPAN distribution.

Report information
The Basics
Id: 84439
Status: resolved
Priority: 0/
Queue: Daemon-Generic

Owner: Nobody in particular
Requestors: clintonmead [...]

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

Subject: Inconsistent use of $0 and $self->{gd_progname}
Date: Fri, 5 Apr 2013 16:01:16 +1100
To: bug-Daemon-Generic [...]
From: Clinton Mead <clintonmead [...]>
Download (untitled) / with headers
text/plain 421b
Lines 125 to 142 sometimes inconsistently use $0 sometimes and $self->{gd_progname} sometimes for reporting status. For example: print "$0 running - pid $oldpid\n"; Uses $0, whereas: print "\u$self->{gd_progname} is already running (pid $oldpid)\n"; Uses $self->{gd_progname}. I suggest $self->{gd_progname} be used everywhere so that output is independent of the command used to run "programx status" for example.
Fixed in the next (not yet released) version.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to