PageRenderTime 30ms CodeModel.GetById 18ms RepoModel.GetById 0ms app.codeStats 0ms

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