in reply to split at pipe character
D:\work\perl\Net\ldap>perl -w use strict; my $id = 'lcl|CHLMU1894'; my @code = split(/\|/,$id); print $code[1]; ^Z CHLMU1894 [download]
Best regards, perl -le "s==*F=e=>y~\*martinF~stronat~=>s~[^\w]~~g=>chop,print"