On Thu, May 02, 2013 at 10:51:34AM -0500, Greg London wrote: > Anyone use Expect.pm? > > I'm looking to use it at work, but I seem to be running into some > resistance from IT about installing it (and its bundle) on all > the machines. I was told I can install anything I want locally > within the project source code repository, but that installing > something on every machine is going to get resistance.
IT's job is to help other people get their job done. If they just plain refuse, then they're not doing their job and you should get your manglement and theirs to have a fight. On the other hand, it's entirely reasonable for them to want you to justify getting them to do something, to help with packaging to make your code and its pre-reqs easy for them to manage, and so on. > So, the question is, is it even possible to intall Expect.pm > and its associated bundle in a source code repository and > have that code run on different machines? > > I would assume that modules like > Expect.pm, IO::Stty, IO::Tty, IO::Pty > seem low level enough that they would > be a bit machine specific? IO::Tty and IO::Pty aren't pure-perl, according to CPANdeps. Expect and IO::Stty are. Provided that there are compilers available on your target machines, you could include a post-install build script in your repo which will build the XS components for you and put them in your application's directory - although it would be a good idea to tell the IT people what you're doing, lest their Tripwires go "twang". -- David Cantrell | http://www.cantrell.org.uk/david All principles of gravity are negated by fear -- Cartoon Law V _______________________________________________ Boston-pm mailing list [email protected] http://mail.pm.org/mailman/listinfo/boston-pm

