in reply to Faced with Null/blank/empty value
/^([\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 ;-)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Faced with Null/blank/empty value
by jsprat (Curate) on Jul 22, 2003 at 08:58 UTC | |
by cLive ;-) (Prior) on Jul 22, 2003 at 09:07 UTC | |
by jsprat (Curate) on Jul 22, 2003 at 09:45 UTC |