Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. aspnetx

    Reading Directories and Files

    Ok.... I was able to put together this script to list the directory names.. #!/usr/bin/perl -w use File::Find; use strict; # defenitions my (@good_dirs) = ( "/prod/retrans" ); my $ltotal = 0; #Find Directories and Subroutine File::Find::find({wanted => \&wanted}, @good_dirs); print...
  2. aspnetx

    Reading Directories and Files

    Thanks for your help......
  3. aspnetx

    Reading Directories and Files

    Here is the Perl script I used to get a list of the contents in a directory.... I'm not a Perl programmer... I'm just starting out with Perl.... #! /usr/bin/perl -wT opendir(DIRHANDLE, "/prod/retrans/epix") or die "couldn't open /prod/retrans/epix : $!"; while ( defined ($filename =...
  4. aspnetx

    Reading Directories and Files

    I'm trying to create a Perl program to read a directory and the files in them. The directory structure looks like this.... cd /devt/prod/retrans/epix change to directory contents of this directory has directories in it dyearmonthday... drwxrwxr-x 2 settlec settle 40960 Feb 17 21:25...

Part and Inventory Search

Back
Top