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

./script test(directory name) enter i had done tht
  • Comment on Re^4: selcting all files in a given directory except......

Replies are listed 'Best First'.
Re^5: selcting all files in a given directory except......
by cdarke (Prior) on Dec 06, 2007 at 10:09 UTC
    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.