in reply to Re: How to output the words that you want that came thru an html file?
in thread How to output the words that you want that came thru an html file?

When you assign a list to a scalar, you get the number of elements.

No, grep in scalar context, returns the number of matches

A list in scalar context returns the right most element

$ perl -le " print scalar qw/ ro sham bo / " bo

More on this in If you believe in Lists in Scalar Context, Clap your Hands

  • Comment on Re^2: How to output the words that you want that came thru an html file?
  • Download Code