1Devel::AssertOS(3) User Contributed Perl Documentation Devel::AssertOS(3)
2
3
4
6 Devel::AssertOS - require that we are running on a particular OS
7
9 Devel::AssertOS is a utility module for Devel::CheckOS and
10 Devel::AssertOS::*. It is nothing but a magic "import()" that lets you
11 do this:
12
13 use Devel::AssertOS qw(Linux FreeBSD Cygwin);
14
15 which will die unless the platform the code is running on is Linux,
16 FreeBSD or Cygwin.
17
19 I welcome feedback about my code, including constructive criticism.
20 Bug reports should be made using <http://rt.cpan.org/> or by email.
21
22 You will need to include in your bug report the exact value of $^O,
23 what the OS is called (eg Windows Vista 64 bit Ultimate Home Edition),
24 and, if relevant, what "OS family" it should be in and who wrote it.
25
26 If you are feeling particularly generous you can encourage me in my
27 open source endeavours by buying me something from my wishlist:
28 <http://www.cantrell.org.uk/david/wishlist/>
29
31 $^O in perlvar
32
33 perlport
34
35 Devel::CheckOS
36
37 Devel::AssertOS::Extending
38
39 The use-devel-assertos script
40
42 David Cantrell <david@cantrell.org.uk>
43
44 Thanks to David Golden for suggesting that I add this utility module.
45
47 Copyright 2007 David Cantrell
48
49 This software is free-as-in-speech software, and may be used,
50 distributed, and modified under the terms of either the GNU General
51 Public Licence version 2 or the Artistic Licence. It's up to you which
52 one you use. The full text of the licences can be found in the files
53 GPL2.txt and ARTISTIC.txt, respectively.
54
56 This module is also free-as-in-mason software.
57
58
59
60perl v5.12.0 2008-10-27 Devel::AssertOS(3)