File: trivial.pl

package info (click to toggle)
libwx-perl 1%3A0.9909-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 3,912 kB
  • sloc: cpp: 9,728; perl: 8,182; ansic: 626; makefile: 41
file content (21 lines) | stat: -rwxr-xr-x 718 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/perl -w
#############################################################################
## Name:        samples/trivial/trivial.pl
## Purpose:     Trivial wxPerl sample
## Author:      Mattia Barbon
## Modified by:
## Created:     24/09/2006
## RCS-ID:      $Id: trivial.pl 2057 2007-06-18 23:03:00Z mbarbon $
## Copyright:   (c) 2006 Mattia Barbon
## Licence:     This program is free software; you can redistribute it and/or
##              modify it under the same terms as Perl itself
#############################################################################

use strict;

use Wx;

my $app = Wx::SimpleApp->new;
my $frame = Wx::Frame->new( undef, -1, "Trivial Sample" );
$frame->Show;
$app->MainLoop;