in reply to Re: Writing current working directory to $variable
in thread Writing current working directory to $variable

You mean
chomp (my $dir = `/bin/pwd`);
surely?

-- Randal L. Schwartz, Perl hacker