On Wed, Feb 28, 2007 at 05:21:38PM +0100, demerphq wrote: > On 2/28/07, dreamwvr <dreamwvr@dreamwvr.com> wrote: > >PERL is great. PERL is good. However a _builtin_ switch statement nice. > > You mean like the one in perl 5.9.x soon to be 5.10? > > And please, on this list at least dont call it PERL. We get all > freaked out and want to start strangling puppies and stuff when people > do that... But surely it's OK to SHOUT about how great PERL is? :-) ./perl -Ilib -le 'use feature "switch"; given (shift) { when (/Rules/i) { print "Coming soon"} }' rUlEs Coming soon [in a 5.9.x near you. Now we just need to help Rafael get it shipped] Nicholas ClarkThread Previous | Thread Next