[Bioperl-l] using %packages in Makefile.PL
Nathan S. Haigh
n.haigh at sheffield.ac.uk
Wed Sep 27 11:31:03 UTC 2006
Sendu Bala wrote:
> Torsten Seemann wrote:
>
>>>> my %prereq;
>>>> while (my ($key, $value) = each %packages) {
>>>> my ($version) = split("/", $value);
>>>> $prereq{$key} = $version;
>>>> }
>>>>
>>>> ...
>>>> PREREQ_PM => \%prereq;
>>>>
>>>>
>>> I tied this, and it didn't seem to work - maybe it will now with a
>>> refreshed head :o)
>>>
>> Try:
>> my ($version) = split m{/}, $value;
>>
>> I'm not sure what split() does with a string as a pattern (except when it is
>> just a space) ?
>>
Eak, sorry, I think I was confusing the situation - I meant I'd tried
something like that late last night and couldn't get it to work - I was
very tired! Just commited Makefile.PL changes to CVS.
I'll update the wiki page about creating the PPM4 PPD's as soon as I
have time.
Nath
More information about the Bioperl-l
mailing list