Does some monk out there have a better way of doing thismy $userid; my $password; while(<DATA>) { next if /^#/; ($userid, $password) = split /=/; } print "$userid:$password\n"; __DATA__ #user=passwd test=prrft5142
In reply to Better way to read "configuration" files by LameNerd
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |