jesuashok has asked for the wisdom of the Perl Monks concerning the following question:
Hi all,
what is the regular expression I can apply there in INPUT_FILE_DESCRIPTION. Because We do not want to disturb the base module which are being used. At worst case if we have no idea of doing in INPUT_FILE_DESCRIPTION then we have to introduce a new key as FILE_NAME_DOES_NOT_START_WITH and we need to write a code in base module to process this new key as well.
Apologies If I have confused you all more with my problem description.
i m possible
Above is the standard hash that we are using in our projects. There is a base module written to process this standard hash. Functionality is, If it sees the key INPUT_FILE_DESCRIPTION then base module does process only the files which start with "Remote". Now I want to process all the files which does not start with "Remote".%rules = ( INPUT_FILE_DESCRIPTION => "^Remote.*" );
what is the regular expression I can apply there in INPUT_FILE_DESCRIPTION. Because We do not want to disturb the base module which are being used. At worst case if we have no idea of doing in INPUT_FILE_DESCRIPTION then we have to introduce a new key as FILE_NAME_DOES_NOT_START_WITH and we need to write a code in base module to process this new key as well.
Apologies If I have confused you all more with my problem description.
i m possible
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Regular expression question strikes again
by Corion (Patriarch) on Sep 05, 2007 at 07:21 UTC | |
Re: Regular expression question strikes again
by sgt (Deacon) on Sep 05, 2007 at 09:47 UTC | |
Re: Regular expression question strikes again
by Anonymous Monk on Sep 05, 2007 at 10:03 UTC | |
by blazar (Canon) on Sep 05, 2007 at 16:20 UTC | |
by sgt (Deacon) on Sep 06, 2007 at 10:42 UTC | |
Re: Regular expression question strikes again
by oha (Friar) on Sep 05, 2007 at 09:25 UTC |
Back to
Seekers of Perl Wisdom