App-XUL
view release on metacpan or search on metacpan
lib/App/XUL.pm view on Meta::CPAN
and have a certain structure and demand certain files to exist.
This is the structure of a XUL application wrapped inside a Mac application
as created by App::XUL (files are blue, directories are black):
=begin html
<pre>
MyApp.app/
Contents/
<span style="color:blue;font-weight:bold">Info.plist</span>
Frameworks/
XUL.framework/
<i>The XUL Mac framework</i>
MacOS
<span style="color:blue;font-weight:bold">start.pl</span> (Perl-Script)
Resources
<span style="color:blue;font-weight:bold">application.ini</span>
<span style="color:blue;font-weight:bold">MyApp.icns</span>
chrome/
<span style="color:blue;font-weight:bold">chrome.manifest</span>
content/
<span style="color:blue;font-weight:bold">AppXUL.js</span>
<span style="color:blue;font-weight:bold">myapp.xul</span>
defaults/
preferences/
<span style="color:blue;font-weight:bold">prefs.js</span>
perl/
server/
<span style="color:blue;font-weight:bold">server.pl</span>
modules/
<i>All Perl modules the server depends on</i>
extensions/
updates/
0/
</pre>
=end html
The various files have specific functions. When the MyApp.app is
lib/App/XUL/XML.pm view on Meta::CPAN
our $AUTOLOAD;
# this is 1 if the module is loaded from within a running server!
our $RunInsideServer = 0;
# regular expression that matches a HTML5 tagname
my $HTMLTagRegex =
'^('.
join('|',
qw(a abbr acronym address applet area article aside audio
b base basefont bdo big blockquote body br button
canvas caption center cite code col colgroup command
datalist dd del details dfn dir div dl dt
em embed fieldset figcaption figure font footer form frame frameset
h1 h2 h3 h4 h5 h6 head header hgroup hr html
i iframe img input ins
keygen kbd
label legend li link
map mark menu meta meter
nav noframes noscript
object ol optgroup option output
p param pre progress
q
rp rt ruby
( run in 0.589 second using v1.01-cache-2.11-cpan-ceb78f64989 )