Is there any way to squeeze the following into one line? (assume using
CGI.pm and that my $q = new CGI;):
$device = $q->param( "device_name" );
$device = $ARGV[0] if ! $device;
$device = "default_device" if ! $device;
i.e., first see if we're being used with a CGI form, i
--- Tyson Sommer <[EMAIL PROTECTED]> wrote:
> Is there any way to squeeze the following into one line? (assume
> using
> CGI.pm and that my $q = new CGI;):
>
> $device = $q->param( "device_name" );
> $device = $ARGV[0] if ! $device;
> $device = "default_device" if ! $device;
m