G'day sijaanh,
Welcome to the Monastry.
[Please note: Writing sloppy, "couldn't care less" posts, like you have above, will simply be ignored by many, and possibly downvoted. You would've been presented with a "Preview" screen and yet you chose to post what we see above. See "How do I post a question effectively?" for a better way to handle this.]
I get the impression from your post that you don't fully understand either "use VERSION" or "require VERSION". I don't have the vintage versions of Perl that you've mention; however, the following should provide useful examples (note that perle provides lots of feedback if problems are encountered).
$ alias perle alias perle='perl -Mstrict -Mwarnings -Mautodie=:all -MCarp::Always -E +' $ perlbrew list * perl-5.34.0 perl-5.33.5 perl-5.32.0 perl-5.30.0 $ perle 'use 5.034; no warnings "experimental::try"; use feature "try" +; try { 1 == 2 } catch($e) { }' $ perlbrew switch perl-5.32.0 $ perle 'use 5.034; no warnings "experimental::try"; use feature "try" +; try { 1 == 2 } catch($e) { }' Perl v5.34.0 required--this is only v5.32.0, stopped at -e line 1. main::BEGIN() called at -e line 1 eval {...} called at -e line 1 BEGIN failed--compilation aborted at -e line 1.
Ask further (and better) questions if you need more help with any of this.
— Ken
In reply to Re: use 5.005 with perl v5.16.3
by kcott
in thread use 5.005 with perl v5.16.3
by sijaanh
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |