> 
> Does anyone have a method to count the # of characters in present working 
> dir?
> 

Well if you are looking for the length of $PWD, then,

perldoc -f length
my $length = length $PWD;

If you are also looking at how to get the "current working directory", then,

perldoc Cwd

use Cwd;
my $length = length getcwd;

HTH,

http://danconia.org

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to