AnyEvent-FTP
view release on metacpan or search on metacpan
share/ppt/ls.pl view on Meta::CPAN
my %DirEntries = (); # hash of dir entries and stat attributes
my $Getgrgid = ""; # getgrgid() for this platform
my $Getpwuid = ""; # getpwuid() for this platform
my @Dirs = (); # directories in ARGV
my @Files = (); # non-directories in ARGV
my $First = 1; # first directory entry on command line
my $Maxlen = 1; # longest string we've seen
my $Now = time; # time we were invoked
my %Options = (); # option/flag arguments
my $SixMonths = # long listing time if < 6 months, else year
60*60*24*(365/2);
my $VERSION = '0.70'; # because we're V7-compatible :)
my $WinSize = "\0" x 8; # window size buffer
my $TIOCGWINSZ = # get window size via ioctl()
0x40087468; # should be require sys/ioctl.pl,
# but that won't exist on all platforms
my $WinCols = 0; # window columns of output
my $WinRows = 0; # window rows of output
my $Xpixel = 0; # window start X
my $Ypixel = 0; # window start Y
( run in 1.522 second using v1.01-cache-2.11-cpan-7add2cbd662 )