Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use of uninitialized value in concatenation (.) or string RPerl/Compiler.pm line 1503 #104

Open
hakonhagland opened this issue Aug 15, 2019 · 0 comments

Comments

@hakonhagland
Copy link

Hello! I have this simple module:

# [[[ HEADER ]]]
use RPerl;
package MyModule;
use strict;
use warnings;
our $VERSION = 0.001_000;

# [[[ CRITICS ]]]
## no critic qw(ProhibitUselessNoCritic ProhibitMagicNumbers RequireCheckedSyscalls)  # USER DEFAULT 1: allow numeric values & print operator

# [[[ SUBROUTINES ]]]

sub foo {
    { my void $RETURN_TYPE };
    print "MyModule: foo()\n";
    return;
}

1;

If I compile this, I get a warning:

$ rperl MyModule.pm 
Use of uninitialized value in concatenation (.) or string at /home/hakon/perlbrew/perls/5.30.0-reloc/lib/site_perl/5.30.0/RPerl/Compiler.pm line 1503, <$FILE_HANDLE> line 9.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant