I have two questions:

1. How to list files in a directory in perl ? e.g. in UNIX, use "ls *.txt" command.

2. For a variable = "       this is a test files              ". How to substitute space at beginning and end of variable, so that the variable become = "this is a test files"

thanks !



Do You Yahoo!?
Get your free @yahoo.com.hk address at Yahoo! Mail.

Reply via email to