Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Hi monks, I have just finished a converter with perl. But it can only convert one file in one go. Now I want to write a small wrapper programm which can call the converter programm and define the called file, e.g. if I write in command:
perl wrapper.pl .aThe converter will convert all the files with extension .a. And if I write:
perl wrapper.pl xxx.aThen it will only convert the xxx file. Could anyone give me an idea how to implement the wrapper, since I don't have any experiences on it... Thanks a lot!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: A small wrapper
by toolic (Bishop) on Oct 17, 2013 at 13:57 UTC | |
|
Re: A small wrapper
by wjw (Priest) on Oct 17, 2013 at 14:02 UTC | |
|
Re: A small wrapper
by Laurent_R (Canon) on Oct 17, 2013 at 16:51 UTC | |
by Anonymous Monk on Oct 17, 2013 at 19:45 UTC | |
by Laurent_R (Canon) on Oct 17, 2013 at 21:55 UTC |