![]() |
|
Just another Perl shrine | |
PerlMonks |
comment on |
( #3333=superdoc: print w/replies, xml ) | Need Help?? |
Well, I'll give this problem a go even though it has been beaten to death already. It's a bit long, but it works all the same.
The output of this is: C:\configs>perl test.pl 003 is not matched and has a count of 1 004 is not matched and has a count of 1 Of course, this code is nothing more than a modified "seen" loop. Not too fancy. One thing I should point out is that if you use foreach (<*.mrg>), it'll do the same thing as your glob (because it is the same thing as far as I know). It's just shorter. Hope that sparks a few ideas.
Theodore Charles III Network Administrator Los Angeles Senior High email->secon_kun@hotmail.com perl -e "map{print++$_}split//,Mdbnr;" In reply to Re: Finding un-paired files in a directory
by Necos
|
|