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

Re^6: Writing a better Modern::Perl

by ikegami (Pope)
on Oct 08, 2010 at 20:59 UTC ( #864278=note: print w/replies, xml ) Need Help??


in reply to Re^5: Writing a better Modern::Perl
in thread Writing a better Modern::Perl

Of course you won't necessarily get an error. If you would necessarily get an error, there would be no need to add features in the first place. Your expectations don't make only sense. features affects how code behaves. If you stop using it, it will behave differently.

$ perl -e' sub say(&@) { "..." } say { "..." };' $ perl -e'use 5.010; sub say(&@) { "..." } say { "..." };' syntax error at -e line 1, near "};" Execution of -e aborted due to compilation errors.
$ perl -e' print $x;' $ perl -e'use 5.012; print $x;' Global symbol "$x" requires explicit package name at -e line 1. Execution of -e aborted due to compilation errors.
$ perl -e' die "Validation error" if uc(chr(0xE9))=~/\xC9/;' $ perl -e'use 5.012; die "Validation error" if uc(chr(0xE9))=~/\xC9/;' Validation error at -e line 1.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://864278]
help
Chatterbox?
erix goes afk - catch y'all later
[Corion]: LanX: Broken links in what sense?
[Discipulus]: neurocent goes always up with the same curve of population raise
[marto]: believe in derp coin
[Corion]: Oh - I see ...
[LanX]: like http://cb60. datenzoo.de/:// perlmonks.org/ index.pl?node_id= 1215217
[Discipulus]: username links i bet
[Corion]: (also, let me recommend https://mini-cb60. datenzoo.de/ over that, as it has https :)
[LanX]: all links
[Corion]: I guess I should make the certificate valid for both hostnames

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (8)
As of 2018-05-25 15:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?