http://qs321.pair.com?node_id=180496


in reply to capturing names

It looks like you wanted to comment out the last part of line 2 with #. So you could try removing the comment before you parse the line:
$line2 =~ s/#.*$//;
this should give you:
$hold1 = cn_commonsw_libs.bld; $hold2 = ""; # empty
--
.dave.