Hi all, Anyone know how to do a wildcard file::copy? E.g. I want to copy a file with a certain name but different extensions.
I have tried concatenating ".*" to the end of a filename (without an extension obviously) but it fails. This is what I had in mind...it's just a scribble and not exactly the way the code will go. $string2 = "$string[1]".".*"; copy("$string2","$destination") || warn "could not copy files: $!"; Thanx Ben __________________________________ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>