/^([\w ]+?)\s+:.(\d+)/ or /^([\w ]+?)\s+:.'(.*)'/ or /^([\w ]+?)\s+:.>(.*)</ or /^([\w ]+?)(.*?)/ # no value or next; # I'm assuming this is in a loop somewher +e $$ref_entry{$1} = $2 || 'default value here'; print "TEST $1 ==> $2\n";
.02
cLive ;-)
In reply to Re: Faced with Null/blank/empty value
by cLive ;-)
in thread Faced with Null/blank/empty value
by bh_perl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |