Hi,
I want to strip a variable of all characters including a token, i.e.
aaa_bbb_ccc_ddd would become bbb_ccc_ddd.  As you can see I want to get rid of
aaa_. Does anyone know how to acomplish this in Perl?

I've tried:
$tmp = "aaa_bbb_ccc_ddd"
$tmp =~ /^\w+_/
$tmp = $';

but that results in $tmp eq "ddd" instead of "bbb_ccc_ddd".

/Johan

--
Johan Groth (xghjn)         ! Tel. mobil: 0703 - 24 25 27
Cell Network                !   Kontoret:  054 - 14 25 27
[EMAIL PROTECTED] !     Bofors: 0586 - 820 14
[EMAIL PROTECTED]

Reply via email to