Re: Layout problems when getting widgets from glade file



Peter E Dennis <peter edwin dennis gmail com> writes:

    print "Homogeneous is: " . $table->get_homogeneous ? "on\n": "off\n";

That'll be operator precedence I suppose :-)  "." higher than "?"

(Personally I often put parens around ?: because though I know it's low
precedence I can never remember how exactly low ...)



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