Hello all,
I had a perl script running on an old perl version, but last weekend the server migrated to solaris 2.8 with perl version v5.8.0 built for sun4-solaris.
The script begins as following:
#!/usr/bin/perl -w
use strict;
use FindBin;
use lib $FindBin::Bin;
use XML::Parser;
The error...
I am looking for some time now for some method to measure perl scripts (and modules) for their quality.
Since quality is not simply expressed in a single number you will need a set of metrics like:
- cyclomatic complexity
- fan in/fan out (number of functions referenced and number of functions...
Hello all,
I have 2 questions concerning ties.
I use Config::Inifiles and tie a hash to an ini-file.
Is the hash filled with the data from the file at the tie or at usage of the hash?
With discussion with others I get the idea that the data is filled at usage, which leads to my next...
Hi dudes,
I am using an our in a package but somehow something is wrong if I use the package. I receive the following message:
Bareword "our" not allowed while "strict subs" in use at Trace.pm line 32.
Global symbol "$max_trace_level" requires explicit package name at Trace.pm line 32.
Note...
Within the thread "need -> HELP" I saw something I have not seen before:
#!/usr/bin/perl -w
use strict;
use warnings;
My question is: What is the added value to the use warnings here since the -w option already delivers warnings?
I am interested in it since I try to get my code...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.