in reply to Re^2: selcting all files in a given directory except......
in thread selcting all files in a given directory except......

Did you enter dir name and press Enter key?

  • Comment on Re^3: selcting all files in a given directory except......

Replies are listed 'Best First'.
Re^4: selcting all files in a given directory except......
by asdfghjkl (Initiate) on Dec 06, 2007 at 10:00 UTC
    ./script test(directory name) enter i had done tht
      This might seem pedantic, but it appears that you are entering the directory name as a parameter on the command-line. This is placed into array @ARGV (hence the comment above).

      You program is reading from the standard-input stream (which is the keyboard by default), without a prompt.
A reply falls below the community's threshold of quality. You may see it by logging in.