Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re^2: Why version strings? (uh, no)

by tye (Sage)
on Mar 29, 2011 at 05:33 UTC ( [id://896090]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use 5.010 'uses //';
    Perl v5.10.0 required (uses //) -- this is only v5.12.1, stopped.
    # No, this doesn't actually work.
    
  2. or download this
    BEGIN { die "// not implemented in Perl $]\n" if $] < 5.010 }
    
  3. or download this
    BEGIN { die "// not implemented in Perl $]\n" if ! eval "undef() // 1"
    + }
    
  4. or download this
    perl5.8 -e'my $x= undef() // 1;'
    Search pattern not terminated ...
    
  5. or download this
    use v5.14 "Your Perl is old. Please don't waste my time. Go away until
    + you upgrade.";
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2024-04-24 18:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found