[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Libguestfs] [PATCH] Split $os->{version} into $os->{major_version} and $os->{minor_version}



On Tue, Jul 21, 2009 at 11:48:20AM +0100, Matthew Booth wrote:
> -	    $r->{osversion} = "$1";
> +	    $r->{os_major_version} = "$1";
> +	    $r->{os_minor_version} = "$2" if(defined($2));

I don't know why the original $1 was quoted, but AFAIK
these don't need to be quoted in Perl.

ACK.

Rich.

-- 
Richard Jones, Emerging Technologies, Red Hat  http://et.redhat.com/~rjones
Read my programming blog: http://rwmj.wordpress.com
Fedora now supports 75 OCaml packages (the OPEN alternative to F#)
http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]