On Wed, 28 Aug 2002, Javeed SAR wrote: > Hi, > > I am reading dirextory using ls. > How to match for .dsp and .vbp file extensions > > Is this right? > > if ($file1 =~ m/\.vbp$/)
Why run an external command, chomp and do a pattern match. Why not <*.{dsp,vbp}> -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]