should be simple, but I just cannot get it working:
domain\userid
(or)
domain/userid
from $ENV{'REMOTE_USER'}
I've tried using both undef, $userid = split('/', $ENV{'REMOTE_USER'};
(and) $username =~ /(cyc(\|\/)(.*?)/;
- 'cyc' is the domain string btw.
I get either nothing back from $1, $2 etc, or various errors relating to the regex upsetting the split.