Mageia Bugzilla – Attachment 2842 Details for
Bug 7533
monitoring in draknetcenter
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
draknetcenter.txt
draknetcenter.txt (text/plain), 7.04 KB, created by
Jens Maucher
on 2012-09-20 16:51:37 CEST
(
hide
)
Description:
draknetcenter.txt
Filename:
MIME Type:
Creator:
Jens Maucher
Created:
2012-09-20 16:51:37 CEST
Size:
7.04 KB
patch
obsolete
>Ambiguous call resolved as CORE::exit(), qualify as such or use & at > /usr/lib/libDrakX/standalone.pm line 200 (#1) > (W ambiguous) A subroutine you have declared has the same name as a Perl > keyword, and you have used the name without qualification for calling > one or the other. Perl decided to call the builtin because the > subroutine is not imported. > > To force interpretation as a subroutine call, either put an ampersand > before the subroutine name, or qualify the name with its package. > Alternatively, you can import the subroutine (or pretend that it's > imported with the use subs pragma). > > To silently interpret it as the Perl operator, use the CORE:: prefix > on the operator (e.g. CORE::log($x)) or declare the subroutine > to be an object method (see "Subroutine Attributes" in perlsub or > attributes). > >\1 better written as $1 at /usr/lib/libDrakX/standalone.pm line 206 (#2) > (W syntax) Outside of patterns, backreferences live on as variables. > The use of backslashes is grandfathered on the right-hand side of a > substitution, but stylistically it's better to use the variable form > because other Perl programmers will expect it, and it works better if > there are more than 9 backreferences. > >Ambiguous call resolved as CORE::exit(), qualify as such or use & at > /usr/lib/libDrakX/standalone.pm line 216 (#1) > >Statement unlikely to be reached at /usr/lib/libDrakX/standalone.pm line 220 (#3) > (W exec) You did an exec() with some statement after it other than a > die(). This is almost always an error, because exec() never returns > unless there was a failure. You probably wanted to use system() > instead, which does return. To suppress this warning, put the exec() in > a block by itself. > > (Maybe you meant system() when you said exec()?) >Scalar value @params[0] better written as $params[0] at > /usr/lib/libDrakX/network/network.pm line 418 (#4) > (W syntax) You've used an array slice (indicated by @) to select a > single element of an array. Generally it's better to ask for a scalar > value (indicated by $). The difference is that $foo[&bar] always > behaves like a scalar, both when assigning to it and when evaluating its > argument, while @foo[&bar] behaves like a list when you assign to it, > and provides a list context to its subscript, which can do weird things > if you're expecting only one subscript. > > On the other hand, if you were actually hoping to treat the array > element as a list, you need to look into how references work, because > Perl will not magically convert between scalars and lists for you. See > perlref. > >Scalar value @params[2] better written as $params[2] at > /usr/lib/libDrakX/network/network.pm line 420 (#4) >Scalar value @params[3] better written as $params[3] at > /usr/lib/libDrakX/network/network.pm line 421 (#4) >Subroutine network::netcenter::gtkadd redefined at /usr/lib/libDrakX/network/netcenter.pm line 10 >Subroutine detect_devices::formatError redefined at /usr/lib/libDrakX/detect_devices.pm line 12 >Subroutine detect_devices::output redefined at /usr/lib/libDrakX/detect_devices.pm line 12 >Subroutine detect_devices::linkf redefined at /usr/lib/libDrakX/detect_devices.pm line 12 >Subroutine detect_devices::symlinkf redefined at /usr/lib/libDrakX/detect_devices.pm line 12 >Subroutine detect_devices::renamef redefined at /usr/lib/libDrakX/detect_devices.pm line 12 >Subroutine detect_devices::mkdir_p redefined at /usr/lib/libDrakX/detect_devices.pm line 12 >Subroutine detect_devices::rm_rf redefined at /usr/lib/libDrakX/detect_devices.pm line 12 >Subroutine detect_devices::cp_af redefined at /usr/lib/libDrakX/detect_devices.pm line 12 >Subroutine detect_devices::touch redefined at /usr/lib/libDrakX/detect_devices.pm line 12 >Subroutine detect_devices::substInFile redefined at /usr/lib/libDrakX/detect_devices.pm line 12 >Subroutine detect_devices::setVarsInSh redefined at /usr/lib/libDrakX/detect_devices.pm line 12 >Subroutine detect_devices::setExportedVarsInSh redefined at /usr/lib/libDrakX/detect_devices.pm line 12 >Subroutine detect_devices::setExportedVarsInCsh redefined at /usr/lib/libDrakX/detect_devices.pm line 12 >Subroutine detect_devices::update_gnomekderc redefined at /usr/lib/libDrakX/detect_devices.pm line 12 >Subroutine network::connection_manager::gtkadd redefined at /usr/lib/libDrakX/network/connection_manager.pm line 10 > >Use of uninitialized value $ppid in numeric ne (!=) at > /usr/lib/libDrakX/common.pm line 341 (#5) > (W uninitialized) An undefined value was used as if it were already > defined. It was interpreted as a "" or a 0, but maybe it was a mistake. > To suppress this warning assign a defined value to your variables. > > To help you figure out what was undefined, perl will try to tell you the > name of the variable (if any) that was undefined. In some cases it cannot > do this, so it also tells you what operation you used the undefined value > in. Note, however, that perl optimizes your program and the operation > displayed in the warning may not necessarily appear literally in your > program. For example, "that $foo" is usually optimized into "that " > . $foo, and the warning will refer to the concatenation (.) operator, > even though there is no . in your program. > >Use of uninitialized value $pid in numeric ne (!=) at > /usr/lib/libDrakX/common.pm line 341 (#5) >Use of uninitialized value $n in string eq at /usr/lib/libDrakX/common.pm line > 341 (#5) >Subroutine interactive::gtk::gtkadd redefined at /usr/lib/libDrakX/interactive/gtk.pm line 12 >Use of uninitialized value $device in pattern match (m//) at > /usr/lib/libDrakX/network/network.pm line 744 (#5) >Use of uninitialized value $e in string eq at > /usr/lib/perl5/vendor_perl/5.14.1/MDK/Common/DataStructure.pm line 131 (#5) >Use of uninitialized value $o_plural in string ne at > /usr/lib/libDrakX/common.pm line 57 (#5) >Use of uninitialized value $real_windowwidth in subtraction (-) at > /usr/lib/libDrakX/mygtk2.pm line 1220 (#5) >Use of uninitialized value in subtraction (-) at /usr/lib/libDrakX/mygtk2.pm > line 1220 (#5) >Use of uninitialized value $stepswidth in addition (+) at > /usr/lib/libDrakX/mygtk2.pm line 1220 (#5) >Use of uninitialized value $real_windowheight in subtraction (-) at > /usr/lib/libDrakX/mygtk2.pm line 1220 (#5) >Use of uninitialized value $name in pattern match (m//) at > /usr/lib/libDrakX/ugtk2.pm line 605 (#5) >Use of uninitialized value $name in concatenation (.) or string at > /usr/lib/libDrakX/ugtk2.pm line 610 (#5) > >Subroutine services::basename redefined at /usr/lib/perl5/5.14.2/Exporter.pm > line 67 (#6) > (W redefine) You redefined a subroutine. To suppress this warning, say > > { > no warnings 'redefine'; > eval "sub name { ... }"; > } > >Subroutine services::dirname redefined at /usr/lib/perl5/5.14.2/Exporter.pm > line 67 (#6) >Use of uninitialized value in sprintf at /usr/lib/libDrakX/detect_devices.pm > line 656 (#5) >Use of uninitialized value in exists at /usr/lib/libDrakX/network/connection.pm > line 131 (#5) >Use of uninitialized value in subroutine entry at /usr/lib/libDrakX/c.pm line > 11 (#5)
Ambiguous call resolved as CORE::exit(), qualify as such or use & at /usr/lib/libDrakX/standalone.pm line 200 (#1) (W ambiguous) A subroutine you have declared has the same name as a Perl keyword, and you have used the name without qualification for calling one or the other. Perl decided to call the builtin because the subroutine is not imported. To force interpretation as a subroutine call, either put an ampersand before the subroutine name, or qualify the name with its package. Alternatively, you can import the subroutine (or pretend that it's imported with the use subs pragma). To silently interpret it as the Perl operator, use the CORE:: prefix on the operator (e.g. CORE::log($x)) or declare the subroutine to be an object method (see "Subroutine Attributes" in perlsub or attributes). \1 better written as $1 at /usr/lib/libDrakX/standalone.pm line 206 (#2) (W syntax) Outside of patterns, backreferences live on as variables. The use of backslashes is grandfathered on the right-hand side of a substitution, but stylistically it's better to use the variable form because other Perl programmers will expect it, and it works better if there are more than 9 backreferences. Ambiguous call resolved as CORE::exit(), qualify as such or use & at /usr/lib/libDrakX/standalone.pm line 216 (#1) Statement unlikely to be reached at /usr/lib/libDrakX/standalone.pm line 220 (#3) (W exec) You did an exec() with some statement after it other than a die(). This is almost always an error, because exec() never returns unless there was a failure. You probably wanted to use system() instead, which does return. To suppress this warning, put the exec() in a block by itself. (Maybe you meant system() when you said exec()?) Scalar value @params[0] better written as $params[0] at /usr/lib/libDrakX/network/network.pm line 418 (#4) (W syntax) You've used an array slice (indicated by @) to select a single element of an array. Generally it's better to ask for a scalar value (indicated by $). The difference is that $foo[&bar] always behaves like a scalar, both when assigning to it and when evaluating its argument, while @foo[&bar] behaves like a list when you assign to it, and provides a list context to its subscript, which can do weird things if you're expecting only one subscript. On the other hand, if you were actually hoping to treat the array element as a list, you need to look into how references work, because Perl will not magically convert between scalars and lists for you. See perlref. Scalar value @params[2] better written as $params[2] at /usr/lib/libDrakX/network/network.pm line 420 (#4) Scalar value @params[3] better written as $params[3] at /usr/lib/libDrakX/network/network.pm line 421 (#4) Subroutine network::netcenter::gtkadd redefined at /usr/lib/libDrakX/network/netcenter.pm line 10 Subroutine detect_devices::formatError redefined at /usr/lib/libDrakX/detect_devices.pm line 12 Subroutine detect_devices::output redefined at /usr/lib/libDrakX/detect_devices.pm line 12 Subroutine detect_devices::linkf redefined at /usr/lib/libDrakX/detect_devices.pm line 12 Subroutine detect_devices::symlinkf redefined at /usr/lib/libDrakX/detect_devices.pm line 12 Subroutine detect_devices::renamef redefined at /usr/lib/libDrakX/detect_devices.pm line 12 Subroutine detect_devices::mkdir_p redefined at /usr/lib/libDrakX/detect_devices.pm line 12 Subroutine detect_devices::rm_rf redefined at /usr/lib/libDrakX/detect_devices.pm line 12 Subroutine detect_devices::cp_af redefined at /usr/lib/libDrakX/detect_devices.pm line 12 Subroutine detect_devices::touch redefined at /usr/lib/libDrakX/detect_devices.pm line 12 Subroutine detect_devices::substInFile redefined at /usr/lib/libDrakX/detect_devices.pm line 12 Subroutine detect_devices::setVarsInSh redefined at /usr/lib/libDrakX/detect_devices.pm line 12 Subroutine detect_devices::setExportedVarsInSh redefined at /usr/lib/libDrakX/detect_devices.pm line 12 Subroutine detect_devices::setExportedVarsInCsh redefined at /usr/lib/libDrakX/detect_devices.pm line 12 Subroutine detect_devices::update_gnomekderc redefined at /usr/lib/libDrakX/detect_devices.pm line 12 Subroutine network::connection_manager::gtkadd redefined at /usr/lib/libDrakX/network/connection_manager.pm line 10 Use of uninitialized value $ppid in numeric ne (!=) at /usr/lib/libDrakX/common.pm line 341 (#5) (W uninitialized) An undefined value was used as if it were already defined. It was interpreted as a "" or a 0, but maybe it was a mistake. To suppress this warning assign a defined value to your variables. To help you figure out what was undefined, perl will try to tell you the name of the variable (if any) that was undefined. In some cases it cannot do this, so it also tells you what operation you used the undefined value in. Note, however, that perl optimizes your program and the operation displayed in the warning may not necessarily appear literally in your program. For example, "that $foo" is usually optimized into "that " . $foo, and the warning will refer to the concatenation (.) operator, even though there is no . in your program. Use of uninitialized value $pid in numeric ne (!=) at /usr/lib/libDrakX/common.pm line 341 (#5) Use of uninitialized value $n in string eq at /usr/lib/libDrakX/common.pm line 341 (#5) Subroutine interactive::gtk::gtkadd redefined at /usr/lib/libDrakX/interactive/gtk.pm line 12 Use of uninitialized value $device in pattern match (m//) at /usr/lib/libDrakX/network/network.pm line 744 (#5) Use of uninitialized value $e in string eq at /usr/lib/perl5/vendor_perl/5.14.1/MDK/Common/DataStructure.pm line 131 (#5) Use of uninitialized value $o_plural in string ne at /usr/lib/libDrakX/common.pm line 57 (#5) Use of uninitialized value $real_windowwidth in subtraction (-) at /usr/lib/libDrakX/mygtk2.pm line 1220 (#5) Use of uninitialized value in subtraction (-) at /usr/lib/libDrakX/mygtk2.pm line 1220 (#5) Use of uninitialized value $stepswidth in addition (+) at /usr/lib/libDrakX/mygtk2.pm line 1220 (#5) Use of uninitialized value $real_windowheight in subtraction (-) at /usr/lib/libDrakX/mygtk2.pm line 1220 (#5) Use of uninitialized value $name in pattern match (m//) at /usr/lib/libDrakX/ugtk2.pm line 605 (#5) Use of uninitialized value $name in concatenation (.) or string at /usr/lib/libDrakX/ugtk2.pm line 610 (#5) Subroutine services::basename redefined at /usr/lib/perl5/5.14.2/Exporter.pm line 67 (#6) (W redefine) You redefined a subroutine. To suppress this warning, say { no warnings 'redefine'; eval "sub name { ... }"; } Subroutine services::dirname redefined at /usr/lib/perl5/5.14.2/Exporter.pm line 67 (#6) Use of uninitialized value in sprintf at /usr/lib/libDrakX/detect_devices.pm line 656 (#5) Use of uninitialized value in exists at /usr/lib/libDrakX/network/connection.pm line 131 (#5) Use of uninitialized value in subroutine entry at /usr/lib/libDrakX/c.pm line 11 (#5)
View Attachment As Raw
Actions:
View
Attachments on
bug 7533
: 2842