in reply to Counter Intuitive Code
Another alternative would be to tell Perl to DWIM, by putting her into position to use her own brains instead of bothering you to micromanage -- the position is "can't tell string from number? very well, here's no numbers for you but just a string, and don't come back until you figure it out yourself": eval join'|', @ARGV
(it was a joke, btw)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Counter Intuitive Code
by RonW (Parson) on Mar 31, 2019 at 17:31 UTC |