Re: [Catalyst] Testing with 5.8 and 5.9 on one system

2012-09-19 Thread Tomas Doran

On 19 Sep 2012, at 11:07, Hugh Barnard wrote:

> Hi folks Thanks for both of these. What I've done so far, in case anyone else 
> ends up with something like this:
> 
> 1. Partial rehearsal on one of my own systems!
> 2. Used local::lib to get Catalyst in local_perl in my home directory
> though I think might be able to just use Makefile.pl with PREFIX?
> 3. [Happily] there's a module preload in the application which sets some 
> 'extra' @INC values
> so I've pushed my local Catalyst directory onto the 'front' of that…

You shouldn't really need or want to do either of step (2) or step (3) here.

Instead you should just set the environment variables that local::lib tells you 
before running Makefile.PL (unless I'm misunderstanding you).

Cheers
t0m



___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/


Re: [Catalyst] Testing with 5.8 and 5.9 on one system

2012-09-19 Thread Hugh Barnard
Hi folks Thanks for both of these. What I've done so far, in case anyone
else ends up with something like this:

1. Partial rehearsal on one of my own systems!
2. Used local::lib to get Catalyst in local_perl in my home directory
though I think might be able to just use Makefile.pl with PREFIX?
3. [Happily] there's a module preload in the application which sets some
'extra' @INC values
so I've pushed my local Catalyst directory onto the 'front' of that...

The application logging now reports that the local version is loading, so
this seems pretty viable. Of course the actual remote system may be a
different matter, we'll see...

Thanks again Hugh

On 19 September 2012 10:41, Tomas Doran  wrote:

> Either perlbrew or local::lib should work perfectly for what you want to
> do.
>
> Cheers
> t0m
>
> On 18 Sep 2012, at 10:35, Geovanny Junio :: eutsiv wrote:
>
> > Do you know perlbrew?
> >
> > Em 18/09/2012 05:52, "Hugh Barnard"  escreveu:
> > Hi folks
> >
> > I am currently working on [a clients] Catalyst application that has
> problems with 5.9 and works with 5.8. I'm doing this on their system so I'd
> prefer to be minimally invasive too.
> >
> > My current though is to install 5.9 in my home directory on their system
> using local::lib:
> earch.cpan.org/~apeiron/local-lib-1.008004/lib/local/lib.pmand
>  then switch between the two by modifying the use statements for the
> tests.
> >
> > However, I'd welcome any suggestions, experiences and/or tips when doing
> something like this. The ideal is [for me] two VMs or two systems but that
> isn't currently an option.
> >
> > Best regards Hugh Barnard
> >
> > --
> > http://www.hughbarnard.org
> > http://www.twitter.com/hughbarnard
> > http://www.big-wave-heuristics.com/
> >
> >
> > ___
> > List: Catalyst@lists.scsys.co.uk
> > Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> > Searchable archive:
> http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
> > Dev site: http://dev.catalyst.perl.org/
> >
> > ___
> > List: Catalyst@lists.scsys.co.uk
> > Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> > Searchable archive:
> http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
> > Dev site: http://dev.catalyst.perl.org/
>
>
> ___
> List: Catalyst@lists.scsys.co.uk
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive:
> http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
> Dev site: http://dev.catalyst.perl.org/
>



-- 
http://www.hughbarnard.org
http://www.twitter.com/hughbarnard
http://www.big-wave-heuristics.com/

___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/


Re: [Catalyst] Testing with 5.8 and 5.9 on one system

2012-09-19 Thread Tomas Doran
Either perlbrew or local::lib should work perfectly for what you want to do.

Cheers
t0m

On 18 Sep 2012, at 10:35, Geovanny Junio :: eutsiv wrote:

> Do you know perlbrew?
> 
> Em 18/09/2012 05:52, "Hugh Barnard"  escreveu:
> Hi folks
> 
> I am currently working on [a clients] Catalyst application that has problems 
> with 5.9 and works with 5.8. I'm doing this on their system so I'd prefer to 
> be minimally invasive too.
> 
> My current though is to install 5.9 in my home directory on their system 
> using local::lib: earch.cpan.org/~apeiron/local-lib-1.008004/lib/local/lib.pm 
> and then switch between the two by modifying the use statements for the tests.
> 
> However, I'd welcome any suggestions, experiences and/or tips when doing 
> something like this. The ideal is [for me] two VMs or two systems but that 
> isn't currently an option. 
> 
> Best regards Hugh Barnard
> 
> -- 
> http://www.hughbarnard.org
> http://www.twitter.com/hughbarnard
> http://www.big-wave-heuristics.com/
> 
> 
> ___
> List: Catalyst@lists.scsys.co.uk
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
> Dev site: http://dev.catalyst.perl.org/
> 
> ___
> List: Catalyst@lists.scsys.co.uk
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
> Dev site: http://dev.catalyst.perl.org/


___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/


Re: [Catalyst] Testing with 5.8 and 5.9 on one system

2012-09-18 Thread Hugh Barnard
On 18 September 2012 10:35, Geovanny Junio :: eutsiv wrote:

> Do you know perlbrew?
>
Hi Geovanny, I know a little about it but I'll take a closer look, thanks,
Hugh


> Em 18/09/2012 05:52, "Hugh Barnard"  escreveu:
>
>> Hi folks
>>
>> I am currently working on [a clients] Catalyst application that has
>> problems with 5.9 and works with 5.8. I'm doing this on their system so I'd
>> prefer to be minimally invasive too.
>>
>> My current though is to install 5.9 in my home directory on their system
>> using local::lib:
>> earch.cpan.org/~apeiron/local-lib-1.008004/lib/local/lib.pmand
>>  then switch between the two by modifying the use statements for the
>> tests.
>>
>> However, I'd welcome any suggestions, experiences and/or tips when doing
>> something like this. The ideal is [for me] two VMs or two systems but that
>> isn't currently an option.
>>
>> Best regards Hugh Barnard
>>
>> --
>> http://www.hughbarnard.org
>> http://www.twitter.com/hughbarnard
>> http://www.big-wave-heuristics.com/
>>  
>>
>> ___
>> List: Catalyst@lists.scsys.co.uk
>> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
>> Searchable archive:
>> http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
>> Dev site: http://dev.catalyst.perl.org/
>>
>>
> ___
> List: Catalyst@lists.scsys.co.uk
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive:
> http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
> Dev site: http://dev.catalyst.perl.org/
>
>


-- 
http://www.hughbarnard.org
http://www.twitter.com/hughbarnard
http://www.big-wave-heuristics.com/

___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/


Re: [Catalyst] Testing with 5.8 and 5.9 on one system

2012-09-18 Thread Geovanny Junio :: eutsiv
Do you know perlbrew?
Em 18/09/2012 05:52, "Hugh Barnard"  escreveu:

> Hi folks
>
> I am currently working on [a clients] Catalyst application that has
> problems with 5.9 and works with 5.8. I'm doing this on their system so I'd
> prefer to be minimally invasive too.
>
> My current though is to install 5.9 in my home directory on their system
> using local::lib:
> earch.cpan.org/~apeiron/local-lib-1.008004/lib/local/lib.pm and then
> switch between the two by modifying the use statements for the tests.
>
> However, I'd welcome any suggestions, experiences and/or tips when doing
> something like this. The ideal is [for me] two VMs or two systems but that
> isn't currently an option.
>
> Best regards Hugh Barnard
>
> --
> http://www.hughbarnard.org
> http://www.twitter.com/hughbarnard
> http://www.big-wave-heuristics.com/
>  
>
> ___
> List: Catalyst@lists.scsys.co.uk
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive:
> http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
> Dev site: http://dev.catalyst.perl.org/
>
>
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/