You're viewing a comment by Bvr and its responses.

April 28, 2011, 08:31

Looks like smartmatch does not work as shown in #97. It seems to require arrayref instead of list (tested on 5.12):

perl -ne 'print if $. ~~ [13, 19, 67]'

The int is unnecessary, works well without it.

Comment Responses

Reply To This Comment

(why do I need your e-mail?)

(Your twitter name, if you have one. (I'm @pkrumins, btw.))

Type the word "unix_256": (just to make sure you're a human)

Please preview the comment before submitting to make sure it's OK.