PageRenderTime 8ms CodeModel.GetById 1ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 1ms

/src/ports/binaries.html

http://github.com/perlorg/cpanorg
HTML | 96 lines | 81 code | 15 blank | 0 comment | 0 complexity | 6c0160138dc7012ec55d6cee4c32e528 MD5 | raw file
 1[%
 2  page.import({
 3    title   => "Perl binaries",
 4    section => 'ports',
 5    stub    => '../',
 6  });
 7
 8  # Active State's main download URL
 9  SET activestate_url = 'http://www.activestate.com/activeperl/downloads';
10
11  PROCESS ports/oses/list.html;
12
13%]
14
15[% BLOCK version_view %]
16    <table class="os_version">
17        <tr class="table_header"><th>OS Name / version</th><th>Default Perl version</th></tr>
18        [% FOREACH version = os_versions.versions %]
19            <tr class="[% "latest" IF loop.first %][% " even" IF loop.even %]">
20                <td>[% IF version.os_name && version.os_version %]
21                    [% version.os_name %] ([% version.os_version %])
22                    [% ELSIF version.os_name %]
23                    [% version.os_name %]
24                    [% ELSE %]
25                    [% version.os_version %]
26                    [% END %]
27
28                    [% IF loop.first && version.os_release%]
29                    <span><br />Released [% version.os_release %]</span>[% END %]
30
31                    </td>
32                <td>[% version.perl_version %]</td>
33            </tr>
34        [% END %]
35    </table>
36[% END %]
37
38[% BLOCK binary_view %]
39<div class="os_binary">
40    <h4>[% "Other " UNLESS os_config.not_included_in_os_packages %]Binaries:</h4>
41    <ul>
42        [% FOREACH source = binary_source %]
43        <li><a href="[% source.url %]">[% source.name %]</a>
44            [% IF source.notes %] - [% source.notes %][% END %]</li>
45        [% END %]
46    </ul>
47</div>
48[% END %]
49
50
51
52<h1 id="top">Perl Binaries</h1>
53
54<ul>
55    <li>Perl supports over <strong><a href=
56    "http://perldoc.perl.org/perlport.html#PLATFORMS">100
57    platforms</a></strong>, many of which ship with a version of Perl by
58    default.
59    </li>
60    <li>You can build your own version of Perl from the <a href="/src/">
61        source</a>.
62    </li>
63    <li>If you do not see your preferred OS in the list below please see our
64    <a href="archive-2011-03-26.html">archive page</a>.
65    </li>
66</ul>
67
68<p>
69  <ul>
70    [% FOREACH os = os_list.sort %]
71        [% PROCESS "ports/oses/${os}.tt_data" %]
72        <li><a href="#[% os %]">[% os_config.name %]</a></li>
73    [% END %]
74  </ul>
75</p>
76<hr />
77
78
79[% FOREACH os = os_list.sort %]
80<div class="os_holder">
81    [% PROCESS "ports/oses/${os}.tt_data" %]
82    <h2 id="[% os %]"><a href="[% IF os_config.url %][% os_config.url %][%END%]">[% os_config.name %]</a></h2>
83    [% PROCESS show_os %]
84    [% IF os_config.kernel %]
85    <p><a href="#[% os_config.kernel %]">See also [% os_config.kernel | ucfirst %]</a></p>
86    [% END %]
87    <p style="font-size: 50%"><em>Last updated:</em> [% os_config.information_last_verified || 'unknown' %]</p>
88</div>
89[% END %]
90
91<br><br><br><br>
92<p>
93  Do you have additions, updates, or corrections?  If so, please submit a pull request to
94  <a href="https://github.com/perlorg/cpanorg/tree/master/src/ports/oses">our
95  github repository.</a>.
96</p>