in reply to Re: Mactching arrays and reg. exp.
in thread Mactching arrays and reg. exp.

Or (more succinctly)

my @output; foreach (@array) { push @output, $_ unless /HEAD/ .. /TAIL/; }
--
<http://www.dave.org.uk>

European Perl Conference - Sept 22/24 2000, ICA, London
<http://www.yapc.org/Europe/>

Replies are listed 'Best First'.
RE: RE: Re: Matching arrays and reg. exp.
by Anonymous Monk on Aug 03, 2000 at 20:18 UTC
    Thank you guys, but I am trying to match the arrays here. If I want define 7 then it should recognize array 7 of another file and print some thing like
    define 7 thankx(#came from another file)
    . I couldn't find anywhere.
    Thankx.