In other languages I\'ve used like Erlang and Python, if I am splitting a string and don\'t care about one of the fields, I can use an underscore placeholder. I tried this
You don't even need placeholders if you use Slices:
use warnings; use strict; my ($id) = (split /=/, 'foo=id123')[1]; print "$id\n"; __END__ id123