From anotheranne at fables.co.za Sun Jan 23 05:32:16 2011 From: anotheranne at fables.co.za (Anne Wainwright) Date: Sun, 23 Jan 2011 15:32:16 +0200 Subject: [za-pm] question on 'use ' in principle In-Reply-To: References: <20101104193915.43f55fa4@pandora.fables.co.za> Message-ID: <20110123153216.4fd26dcd@pandora.fables.co.za> Hello, (Edoardo, how are you doing with Mojolicious. I had a quick look at the site today only, but I could find nothing on Dancer). Is there anyone out there working throught the Diment & Trout DEFINITIVE GUIDE TO CATALYST book? My query comes from there but is a query in principle. If I have a working .pl file (LolCatalyst/Lite/Translator.pm) and can succesfully run tests on my app to date thus : $ prove -lv t/ , then ... If I take a subroutine from the working .pl file and place it in another .pm file (LolCatalyst/Lite/Translator/LOLCAT.pm) in a lower level dedicated directory, and then add in to the initial .pl file a 'use' thus: use LolCatalyst::Lite::Translator::LOLCAT; should the tests still run. ie. should the use line refer the subroutine request to the original .pm file down to the new one if the sub is no longer in the original .pm file? we are having trouble here! thanks in advance Anne On Mon, 6 Dec 2010 16:48:22 +0100 Edoardo Sabadelli wrote: > Note: Beware! Default reply-to is to the list. > > > On Thu, Nov 4, 2010 at 6:39 PM, Anne Wainwright > wrote: > > Note: Beware! Default reply-to is to the list. > > > > > > Hello, Ewald, > > > > Welcome! > > > > I have not got far, but am slowly building ?web app using Catalyst > > which is the Perl answer to all other patent web production > > systems. I am looking for some quality time over the Xmas recess > > here to move forward a bit faster. > > I suggest to have a look also at the alternatives to Catalyst, like > Dancer and Mojolicious. > > For small applications they are very interesting: easier to use and > much more lightweight than Catalyst, from which they borrow a lot of > concepts. > > I'm currently trying out Mojolicious for the rewrite of my personal > site and I like it. > > Ciao! From anotheranne at fables.co.za Mon Jan 24 03:32:16 2011 From: anotheranne at fables.co.za (Anne Wainwright) Date: Mon, 24 Jan 2011 13:32:16 +0200 Subject: [za-pm] Padre IDE Message-ID: <20110124133216.6cf8599a@pandora.fables.co.za> Hi, I was looking at Perl IDEs. Not much around, but I found Padre on cpan. No 'star rating', no reviews, what gives? Do we all use vim and the perl debugger? Anne From spike at mweb.co.za Mon Jan 24 04:14:28 2011 From: spike at mweb.co.za (Spike) Date: Mon, 24 Jan 2011 14:14:28 +0200 Subject: [za-pm] Padre IDE In-Reply-To: <20110124133216.6cf8599a@pandora.fables.co.za> References: <20110124133216.6cf8599a@pandora.fables.co.za> Message-ID: <4D3D6D24.5040503@mweb.co.za> I have tried one or two IDE's but they all mean using a non vi interface and find the other features of vi are just too good to loose. So use vim and perltidy. Usual run perl -cw