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

eval/die not working in Perl 5.5.3 for BeOS #2115

Closed
p5pRT opened this issue Jun 20, 2000 · 1 comment
Closed

eval/die not working in Perl 5.5.3 for BeOS #2115

p5pRT opened this issue Jun 20, 2000 · 1 comment
Labels

Comments

@p5pRT
Copy link

@p5pRT p5pRT commented Jun 20, 2000

Migrated from rt.perl.org#3406 (status was 'resolved')

Searchable as RT3406$

@p5pRT
Copy link
Author

@p5pRT p5pRT commented Jun 20, 2000

From djberg96@hotmail.com

OS​: BeOS 5.01 Pro
Version​: 5.5.3 (aka 5.005_03) - latest version for BeOS
Problem​: eval/die does not appear to be working properly
Test case​:


$a = 0;
$b = 5;
eval{
  print "Result is​: " . $b/$a;
};
if($@​){
print "Oops! Can't divide by zero";
}

$@​ is not being evaluated as true. Tried similar case with 'die' instead.
Same problem.

Reported by​: Daniel J. Berger
Date​: 20-Jun-2000

@p5pRT p5pRT closed this Nov 28, 2003
@p5pRT p5pRT added the type-install label Oct 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant