in reply to split and assign

my $schema_username = ( split /=/, $line )[1];

or

my ($schema_username) = $line =~ /=(.*)/s;

By the way, the first arg of split is a regex. Don't fool yourself into thinking it matches literally by using quotes.

- ikegami