in reply to Pulling white space off before/after string?

Checkout perlfaq4, you may also want to have a look at perlre and perlretut

The size of the strings may change the way you do it, because capturing a 10Gb string just to remove spaces from the start and end may not be the best approach.

Also, what have you tried so far?

@_=qw; ask f00li5h to appear and remain for a moment of pretend better than a lifetime;;s;;@_[map hex,split'',B204316D8C2A4516DE];;y/05/os/&print;
Much Later removed typos