How do you guys always know what perldoc option to give to find info.. John knows them all backwards but Is there some kind of index or is it just experience and if it is experience then it is useless to those learning... ??????????????
Sometimes I spend ages and still can't find what I'm looking for..
I'm looking for regular expression, how do I know that it is perlre ????
Is there a perldoc --find 'regular expression' or something like that ?
Or do we do find / -type f -exec egrep -il 'regular expression' {} \;
Sorry, find2perl / -type f -exec egrep -il 'regular expression' ' {} \;
;-))
Jerry
On Friday, Sep 19, 2003, at 22:10 Europe/Brussels, John W. Krahn wrote:
Dumitru Orza wrote:
Hello all,
Hello,
is there any way to assign names of directories to a list ?
opendir DIR, '.' or die "Cannot open the current directory: $!"; my @dirs = grep -d, readdir DIR; closedir DIR;
Ideea is to check the existance of some directories and not create them again.
perldoc -f -d
John -- use Perl; program fulfillment
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]