At 01:34 PM 5/21/01 -0700, Steven Wensel wrote:
>Hello.
>
>I'd like to use a perl script to do my nightly software builds. I have all
>the steps laid out, but don't know how to start an interactive session in
>perl. I'd like to check out all the latest code in the branch, compile it,
>install, and run unit tests. I figure if I could use a method like the
>"spawn" concept in Expect, I could have the script interact. Also, I found
>many sites that have Perl scripts, but they all seem to be for websites. Is
>there a site for system administration tasks in Perl, or software build
>tools? I'd like to find some examples to base my script on.
>
>Thank you for any help that you may provide.
http://search.cpan.org/search?dist=Expect
You didn't say what build system you're using; there may even be a module
for interacting with it already. Check out http://search.cpan.org/
--
Peter Scott
Pacific Systems Design Technologies
http://www.perldebugged.com