cons-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Perl function in a Command method


From: Steven Knight
Subject: Re: Perl function in a Command method
Date: Wed, 22 Nov 2000 12:52:54 -0600 (CST)

On Tue, 21 Nov 2000, Zachary Deretsky wrote:
> Is there a way to call a perl subroutine defined in the same Conscript file
> from a command method?
> 
> Something like:
> 
> sub  get_pythons($$$) {
> #$$$ are perl prototypes
> # some code; 
> };
> 
> Command $CONS 'all_pyfiles.txt', qw(pyfiles_gandalf.txt pyfiles_tpc.txt), 
> qq(
>    perl get_pythons %1 %2 %> ;
>    );

Not in what's currently released.  The latest version checked in at
subversions.gnu.org supports this, using "[perl]" as the prefix.

        --SK




reply via email to

[Prev in Thread] Current Thread [Next in Thread]