This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use utf8; | |
use strict; | |
use feature ":5.10"; | |
use Text::MicroTemplate; | |
use IO::All; | |
main: { | |
my $html_fn = 'chohyo.html'; | |
my $pdf_fn = 'chohyo.pdf'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use Wx; | |
Wx::MessageBox('hello wxperl'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import wx | |
app = wx.App() # wx._core.PyNoAppError: The wx.App object must be created first! | |
wx.MessageBox('hello wxpython', 'title') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'wx' | |
class MyApp < Wx::App | |
private | |
def on_init | |
Wx::message_box('Hello World!') | |
return false | |
end | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package Janken::Wx::App { | |
use strict; | |
use Wx; | |
use base "Wx::App"; | |
sub OnInit { | |
my $self = shift; | |
my $frame = Janken::Wx::Frame->new; | |
$frame->Fit; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> | |
<wxFormBuilder_Project> | |
<FileVersion major="1" minor="11" /> | |
<object class="Project" expanded="1"> | |
<property name="class_decoration"></property> | |
<property name="code_generation">XRC</property> | |
<property name="disconnect_events">1</property> | |
<property name="disconnect_mode">source_name</property> | |
<property name="disconnect_php_events">0</property> | |
<property name="disconnect_python_events">0</property> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> | |
<resource xmlns="http://www.wxwindows.org/wxxrc" version="2.3.0.1"> | |
<object class="wxFrame" name="MainFrame"> | |
<style>wxDEFAULT_FRAME_STYLE|wxTAB_TRAVERSAL</style> | |
<size>500,300</size> | |
<title>じゃんけん</title> | |
<centered>1</centered> | |
<aui_managed>0</aui_managed> | |
<object class="wxPanel" name="m_panel1"> | |
<style>wxTAB_TRAVERSAL</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use Filter::Crypto::CryptFile qw(:DEFAULT $ErrStr); | |
crypt_file("janken.pl", "janken2.pl") or die "crypt_file() failed: $ErrStr\n"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use strict; | |
use feature ":5.10"; | |
use ExtUtils::Installed; | |
use File::Spec; | |
use Portable; | |
use Win32::Unicode; | |
my $TO_DIR = 'C:\Janken'; | |
my $FROM_DIR = Portable->default->dist_root; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package Janken::Wx::App { | |
use strict; | |
use Wx; | |
use base "Wx::App"; | |
sub OnInit { | |
my $self = shift; | |
my $frame = Janken::Wx::Frame->new; | |
$frame->Fit; |
OlderNewer