Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Include a package based on OS.

by tobyink (Canon)
on Jan 20, 2014 at 05:37 UTC ( #1071271=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    if ($^O eq 'Linux') {
       require DBI;
    }
    
  2. or download this
    use if ($^O eq 'Linux'), 'DBI';
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (7)
As of 2023-12-10 23:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your preferred 'use VERSION' for new CPAN modules in 2023?











    Results (41 votes). Check out past polls.

    Notices?