Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

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

by Haarg (Curate)
on Jun 18, 2021 at 04:10 UTC ( #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? | Other CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2021-10-27 10:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (91 votes). Check out past polls.

    Notices?