in reply to ensure ALL patterns in string

{ local $_ = "z r x r t y"; print "all\n" if /x/ and /y/ and /z/; }

Replies are listed 'Best First'.
Re^2: ensure ALL patterns in string
by Anonymous Monk on Jan 23, 2016 at 10:52 UTC
    Thank you Laurent.