-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Description
I would expect the following code to warn "fail", but it doesn't, is this expected behaviour?
use Try::Tiny;
my $success = try {
my $class = 'Some::Module::That::Does::Not::Exist';
eval "require $class";
}
catch {
warn "fail";
return undef;
};
however, $success is undef
Plattform
Strawberry Perl Windows
Metadata
Metadata
Assignees
Labels
No labels