in reply to Identifiying unique pattern

Hey kulls,

What is ur required output for the above example data ?

Regards,
S.Venni Rajan.
"A Flair For Excellence."
                -- BK Systems.

Replies are listed 'Best First'.
Re^2: Identifiying unique pattern
by kulls (Hermit) on Jan 06, 2006 at 08:37 UTC
    something like,
    my %size; for(@str) { $size{$1}=1 if($_ =~ /(gss)/); }
    i need to handle (but i didn't in my example) '.' and '_' in my pattern  'gss' in order to indentify unique patterns.
    For more details,
    i need  'gss' as a unique pattern, instead of  'gss.' , 'gss_'