Skip Menu |

This queue is for tickets about the Perlbal CPAN distribution.

Report information
The Basics
Id: 79326
Status: new
Priority: 0/
Queue: Perlbal

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

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



Subject: Allow ENABLE without service name
A perlbal configuration file typically looks like this: CREATE SERVICE service_name SET ... = ... ... ENABLE service_name Problem is that service_name has to be specified twice. If one just copy/pastes this block to create another service, then it's quite easy to just change the service name in CREATE SERVICE and forgot the second one in the ENABLE line. And if the original service still exists, then there's even no error, but the new service is not enabled. It would be nice if one could write instead CREATE SERVICE service_name SET ... = ... ... ENABLE ENABLE without a service name would just enable the current active service. This is similar like SET is used: it can be used without a service name (use the current one) or with. (If this is accepted, then I can try to create a patch) Regards, Slaven