Hello, 

         Here is some info about opening and closing files.   

You can open a file by using the following syntax:
open(DOG,"/home/scotty/data/dogs") || die "Couldn't open DOG.\n";

To Close a file use:
close(DOG);

For File Globbing try:
while($x = </home/scotty/bin/*>) {
open(FILE,"$x") || die "Couldn't open $x for reading.\n";
....
}

Hope that helps a little. There are tons of tutorials online to give you some 
good info about all of this.. 

Reply via email to