Skip to content

Commit

Permalink
Use $PDL::VERSION to get PDL version
Browse files Browse the repository at this point in the history
  • Loading branch information
zmughal committed Dec 25, 2022
1 parent e0ef13a commit 0af1797
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions bin/prima-repl
Expand Up @@ -84,11 +84,9 @@ $|++;
# Final items #
###############

eval 'require PDL::Version' if not defined $PDL::Version::VERSION;

# Print the opening message:
print "Welcome to the Prima REPL, version $version.\n";
print "Using PDL version $PDL::Version::VERSION\n" if ($loaded_PDL);
print "Using PDL version $PDL::VERSION\n" if ($loaded_PDL);
print "Using PDL::Graphics::Prima\n" if ($loaded_Prima_Graphics);
print "\n";
print join("\n", "If you don't know what you're doing, you can get help"
Expand Down

0 comments on commit 0af1797

Please sign in to comment.