In article <[EMAIL PROTECTED]>, Tassilo Von Parseval wrote:
[...]
> Still, you could also put
> 
>     mb = "~/perl/quotw/qotw13/mb"
> 
> and expand the tilde. 'perldoc -q tilde' comes up with a regex-solution.
> Using glob (which is also mentioned) is more straightforward, however:
> 
>     my $mv = glob('~/perl/qotw/qotw13/mb');
> 
> will do the right thing.

Thanks, this worked like a charm (using the tilde, which I think is 
preferable):

$result = glob($1) if (/^$setting\s*=\s*"?([^"]*)"?\s*$/);

-- 
Kevin Pfeiffer
International University Bremen

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to