Re: perl Gtk2 install and makemaker install

2013-10-29 Thread Shlomi Fish
Hi El'ad/Dale, On Tue, 29 Oct 2013 17:29:24 -0700 "D.Edmons" wrote: > Hi, > > I'm trying to get Gtk2 installed. I'm upgrading my local directory to > the current stable perl and now need Gtk2 so that I may learn perlgtk2. > > I get the following error when I run `perl Makefile.PL': > ---

perl Gtk2 install and makemaker install

2013-10-29 Thread D.Edmons
Hi, I'm trying to get Gtk2 installed. I'm upgrading my local directory to the current stable perl and now need Gtk2 so that I may learn perlgtk2. I get the following error when I run `perl Makefile.PL': Can't locate ExtUtils/Depends.pm in @INC (you ma

Re: Testing a standalone script

2013-10-29 Thread Manfred Lotz
On Tue, 29 Oct 2013 12:01:52 -0700 John SJ Anderson wrote: > On Tue, Oct 29, 2013 at 11:02 AM, Manfred Lotz > wrote: > > This is exactly what I don't want to do. IMHO, for testing modules > > or applications this is the way to go. However, for a standalone > > script I'd like to have my test dat

Re: Testing a standalone script

2013-10-29 Thread John SJ Anderson
On Tue, Oct 29, 2013 at 11:02 AM, Manfred Lotz wrote: > This is exactly what I don't want to do. IMHO, for testing modules or > applications this is the way to go. However, for a standalone script > I'd like to have my test data inside the script itself. Well, you could add some input values and

Re: Testing a standalone script

2013-10-29 Thread Manfred Lotz
On Tue, 29 Oct 2013 12:36:58 -0400 Shawn H Corey wrote: > On Tue, 29 Oct 2013 17:10:51 +0100 > Manfred Lotz wrote: > > > Hi there, > > I have some relatively small standalone perl scripts where I would > > like to include tests. > > > > Which is the recommended way to test standalone scripts?

Re: Testing a standalone script

2013-10-29 Thread Shawn H Corey
On Tue, 29 Oct 2013 17:10:51 +0100 Manfred Lotz wrote: > Hi there, > I have some relatively small standalone perl scripts where I would > like to include tests. > > Which is the recommended way to test standalone scripts? > > Put the tests in a directory call "t" under the source. And see `ma

Testing a standalone script

2013-10-29 Thread Manfred Lotz
Hi there, I have some relatively small standalone perl scripts where I would like to include tests. Which is the recommended way to test standalone scripts? -- Manfred -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://lea

IPC::Cmd pipe array

2013-10-29 Thread shawn wilson
This is cross posted from perlmonks (http://perlmonks.org/?node_id=1060079). The end goal is to echo an array of iptables save data into iptables-restore. I am getting output via IPC::Cmd but not via the redirect (which is fine) however, the pipe also doesn't seem to be working. Any ideas? #!/usr/