Skip Menu |

This queue is for tickets about the Module-Load CPAN distribution.

Report information
The Basics
Id: 57255
Status: resolved
Worked: 15 min
Priority: 0/
Queue: Module-Load

People
Owner: BINGOS [...] cpan.org
Requestors: salmonix [...] gmail.com
Cc:
AdminCc:

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



Subject: Modification
Date: Thu, 6 May 2010 11:23:00 +0200
To: bug-module-load [...] rt.cpan.org
From: László Forró <salmonix [...] gmail.com>
Dear Jos, would it be possible to insert a line after line 33 as: 33: } 34: return 1; # return true on success << ? Module::Load would return true on success and thus it would make possible testing like this: if ( ! eval { load($module) } ) { # do sg., eg. complain that module is not available. } Yours, Laslo Forro
On Thu May 06 05:23:13 2010, salmonix@gmail.com wrote: Show quoted text
> Dear Jos, > would it be possible to insert a line after line 33 as: > > 33: } > 34: return 1; # return true on success << > > ? > > Module::Load would return true on success and thus it would make possible > testing like this: > > if ( ! eval { load($module) } ) { > # do sg., eg. complain that module is not available. > } > > > Yours, Laslo Forro
Hi, Sorry it has been a while. I'm tempted to reject this as Module::Load::Conditional already exists. Cheers.
Subject: Re: [rt.cpan.org #57255] Modification
Date: Thu, 24 Jun 2010 10:38:18 +0200
To: bug-Module-Load [...] rt.cpan.org
From: László Forró <salmonix [...] gmail.com>
OK. Thank you! Bests Laslo On Wed, Jun 23, 2010 at 9:27 PM, BINGOS via RT <bug-Module-Load@rt.cpan.org>wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=57255 > > > On Thu May 06 05:23:13 2010, salmonix@gmail.com wrote:
> > Dear Jos, > > would it be possible to insert a line after line 33 as: > > > > 33: } > > 34: return 1; # return true on success << > > > > ? > > > > Module::Load would return true on success and thus it would make possible > > testing like this: > > > > if ( ! eval { load($module) } ) { > > # do sg., eg. complain that module is not available. > > } > > > > > > Yours, Laslo Forro
> > > Hi, > > Sorry it has been a while. > > I'm tempted to reject this as Module::Load::Conditional already exists. > > Cheers. >
On Wed Jun 23 15:27:13 2010, BINGOS wrote: Show quoted text
> On Thu May 06 05:23:13 2010, salmonix@gmail.com wrote:
> > Dear Jos, > > would it be possible to insert a line after line 33 as: > > > > 33: } > > 34: return 1; # return true on success << > > > > ? > > > > Module::Load would return true on success and thus it would make
possible Show quoted text
> > testing like this: > > > > if ( ! eval { load($module) } ) { > > # do sg., eg. complain that module is not available. > > } > > > > > > Yours, Laslo Forro
> > > Hi, > > Sorry it has been a while. > > I'm tempted to reject this as Module::Load::Conditional already exists. >
Could you mark the ticket as rejected (I don't have perms) so it doesn't show up in the open queue?
Marking as resolved.