cons-discuss
[Top][All Lists]
Advanced

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

Perl function in a Command method


From: Zachary Deretsky
Subject: Perl function in a Command method
Date: Tue, 21 Nov 2000 17:44:20 -0800

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 %> ;
   );


Thanks, Zach.



reply via email to

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