The bigger question is not "how can I do this?" or "why can't I do this in Perl if I can do it in Ruby?" -- the question is, "why do I need to do it?" Answer that first.
Jeff japhy Pinyan,
P.L., P.M., P.O.D, X.S.:
Perl,
regex,
and perlhacker How can we ever be the sold short or the cheated, we who for every service have long ago been overpaid? ~~ Meister Eckhart