Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Trimming Paths with regexes

by damian1301 (Curate)
on Aug 30, 2001 at 01:15 UTC ( [id://108905] : note . print w/replies, xml ) Need Help??


in reply to Trimming Paths with regexes

I personally would find it much more easier to just split the string and then work with it from there.

$_.=($=+(6<<1));print(chr(my$a=$_));$^H=$_+$_;$_=$^H; print chr($_-39); # Easy but its ok.