Flip direction of Cascading Style Sheet (CSS), Perl module