in reply to Regexp context with ||
In that vein you can do this:
$q = new CGI; my $val = $q->param('val') || 'default'; # but this does not work as you might expect my @vals = $q->param('val') || ('default');
cheers
tachyon
s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print
|
|---|