develooper Front page | perl.perl5.porters | Postings from June 2009

feature.pm: can't introspect

Thread Next
From:
Andy Armstrong
Date:
June 25, 2009 06:13
Subject:
feature.pm: can't introspect
Message ID:
8BD1EB2D-26BB-4FCB-A671-4F3D6BA44B24@hexten.net
It'd be nice to be able to say

   use feature;

   if ( feature->available('foo') ) {
     # blah
   }

or

   if ( feature->available(':5.8.9') ) {
     # blah
   }

Does anyone object to a patch to that effect?

-- 
Andy Armstrong, Hexten


Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About