Re: Dot and Dubble Dot directory names

2005-08-26 Thread JupiterHost.Net
In a program such as the following - #!/usr/local/bin/perl -w # always always always use strict and warnings!!! use strict; use warnings; use File::Spec; $windir = "/home/users/tony"; my $windir = '/home/users/tony'; open

Dot and Dubble Dot directory names

2005-08-26 Thread Tony Frasketi
In a program such as the following - #!/usr/local/bin/perl -w $windir = "/home/users/tony"; opendir(NT, $windir) || die "no $windir?: $!"; while ($name = readdir(NT)) { # scalar context, one per loop print "$name\n"; # pr