in reply to Re^2: perl suppressing warnings when executing java class
in thread perl suppressing warnings when executing java class

print `foo` means pretty much the same thing as system("foo"); it's just less efficient (because it reads all of foo's output into a scalar before printing it out).

package Cow { use Moo; has name => (is => 'lazy', default => sub { 'Mooington' }) } say Cow->new->name