krish: # I am a beginner in Perl and have a very trivial query. I have # some .expect # files in my directory structure which are spread all # throughout. I want to # convert these files (only expect files) to .expect.bak. # Please let me know # as to how this can be done using Perl script. Even pointers to shell # scripting will help.
This is the wrong group for this sort of question. perl6-internals is for the development of the upcoming release 6.0 of Perl; see www.parrotcode.org for more information. Some more appropriate forums for this sort of question: -E-mail lists: [EMAIL PROTECTED] -Newsgroups: comp.lang.perl.misc -IRC: DALnet #perl -Web: www.perlmonks.org www.perlguru.org (Note to p6i subscribers: send any suggested additions to this list to me privately--I'm looking to create a template for these sorts of messages.) As far as your query, I suggest you look at the following features in the Perl documentation (man pages, the 'perldoc' program, or at www.perldoc.org): -The 'eq' (string equality) and '.' (concatenation) operators (in perlop). -The opendir(), readdir(), closedir(), and rename() built-in functions (in perlfunc). HTH. --Brent Dax [EMAIL PROTECTED] Configure pumpking for Perl 6 "Nothing important happened today." --George III of England's diary entry for 4-Jul-1776