* Alexandre Jousset <[EMAIL PROTECTED]> [2006-08-28 18:15]:
> For the moment I have a (too) complicated sub spacify and I would 
> like to simplify it to a regexp.

It doesn’t have to be complicated, even without a regexp.

    scalar reverse join ' ', unpack '(A3)*', reverse $num;

Regards,
-- 
#Aristotle
*AUTOLOAD=*_;sub _{s/(.*)::(.*)/print$2,(",$\/"," ")[defined wantarray]/e;$1};
&Just->another->Perl->hacker;

Reply via email to