From: gnome-perl (bugzilla.gnome.org) <bug...@bu...> - 2006-05-10 15:15:20
|
Do not reply to this via email (we are currently unable to handle email responses and they get discarded). You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=3D341090 gnome-perl | Gtk2 | Ver: unspecified ------- Comment #19 from Sergei Steshenko 2006-05-10 15:15 UTC ------- After thinking about all this more: overall, it's bad that there is more than one CodeGen.pm. A clean and traditionally Perlish way to disambiguate CodeGen.pm would b= e to always use with its father package/module, i.e., if we want CodeGen.pm= from Glib, we should use it either as use Glib::CodeGen; or require "Glib/CodeGen.pm"; or require Glib::CodeGen; - and that the way it is used AFAIR. Likewise, CodeGen.pm from Gtk2 it should be loaded using use Gtk2::CodeGen; or=20 require 'Gtk2/CodeGen.pm'; or require Gtk2::CodeGen; Is it possible to create 'Gtk2' subdirectory under the build directory and put the stuff there ? I.e. instead of the proposed "require './CodeGen.pm'" or existing "require 'CodeGen.pm'" to (be able to) write require 'Gtk2/CodeGen.pm'; ? --=20 Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=3Demail ------- You are receiving this mail because: ------- You are the QA contact for the bug. You are the assignee for the bug. |