Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: Action executed during configure

2 views
Skip to first unread message

David Golden

unread,
Jan 26, 2011, 5:21:58 PM1/26/11
to al...@alfarrabio.di.uminho.pt, module...@perl.org
2011/1/26 Alberto Simões <al...@alfarrabio.di.uminho.pt>:
> Hello
>
> Is there any action that I can subclass in mybuilder that is run during
> "perl Build.PL" ?

Not really. You can subclass "new" or any of the methods that it
calls, of course.

What are you trying to accomplish?

-- David

Alberto Simões

unread,
Jan 26, 2011, 5:25:20 PM1/26/11
to module...@perl.org

I need to detect some libraries paths, and was wondering if I could make
the code cleaner, moving it to MyBuider.

By the way, is there any standard way to "exit" or "die" from Build.PL
if a dependency (not a CPAN one, of course) is not met?

Thank you
ambs
--
Alberto Simões

Alberto Simões

unread,
Jan 26, 2011, 5:29:05 PM1/26/11
to David Golden, module...@perl.org

On 26/01/2011 22:27, David Golden wrote:
> 2011/1/26 Alberto Simões<al...@alfarrabio.di.uminho.pt>:

>> By the way, is there any standard way to "exit" or "die" from Build.PL if a
>> dependency (not a CPAN one, of course) is not met?
>

> Generally, just "exit 0 unless condition_satisfied". C.f. Devel::CheckLib

Thank you :)
--
Alberto Simões

Alberto Simões

unread,
Jan 26, 2011, 5:13:32 PM1/26/11
to module...@perl.org
Hello

Is there any action that I can subclass in mybuilder that is run during
"perl Build.PL" ?

TY
ambs
--
Alberto Sim�es

David Golden

unread,
Jan 26, 2011, 5:27:31 PM1/26/11
to al...@alfarrabio.di.uminho.pt, module...@perl.org
2011/1/26 Alberto Simões <al...@alfarrabio.di.uminho.pt>:

> By the way, is there any standard way to "exit" or "die" from Build.PL if a
> dependency (not a CPAN one, of course) is not met?

Generally, just "exit 0 unless condition_satisfied". C.f. Devel::CheckLib

-- David

0 new messages