Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^7: Perl try { } catch(e) { }

by Haarg (Priest)
on Jun 18, 2021 at 04:10 UTC ( [id://11133983]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    Global symbol "$e" requires explicit package name (did you forget to d
    +eclare "my $e"?) at bad-syntax.pl line 10.
    syntax error at bad-syntax.pl line 10, near ") {"
    Execution of bad-syntax.pl aborted due to compilation errors.
    
  2. or download this
    use strict;
    use warnings;
    ...
    __END__
    $ perl bad-exception.pl
    broken catch: hi at bad-exception.pl line 21.
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11133983]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (5)
As of 2024-04-25 10:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found