As required by the GNU Free Documentation License, a Transparent copy of the text contained in the image follows:
Consequencies will never be the same.
#!/usr/bin/perl -wusestrict;useGtk2'-init';# Create main window:my$mw=Gtk2::Window->new('toplevel');# Create main positioning table:my$t=Gtk2::Table->new(1,2,0);$mw->add($t);# 'Hello world!' label:my$label=Gtk2::Label->new('Hello world!');$t->attach_defaults($label,0,1,0,1);$label->show;# Button to quit:my$button=Gtk2::Button->new('Quit');$t->attach_defaults($button,0,1,1,2);$button->signal_connect('clicked'=>sub{exit});$button->show;# Main loop:$mw->show_all;Gtk2->main;0;
End Sub
Licensing
This screenshot either does not contain copyright-eligible parts or visuals of copyrighted software, or the author has released it under a free license (which should be indicated beneath this notice), and as such follows the licensing guidelines for screenshots of Wikimedia Commons. You may use it freely according to its particular license.
Free software license:gvim and the Xfce window manager is free software, the trivial self-made program is published under the following license:
I, the copyright holder of this work, hereby publish it under the following license:
to share – to copy, distribute and transmit the work
to remix – to adapt the work
Under the following conditions:
attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
Note: if the screenshot shows any work that is not a direct result of the program code itself, such as a text or graphics that are not part of the program, the license for that work must be indicated separately.
I, the copyright holder of this work, hereby publish it under the following licenses:
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled GNU Free Documentation License.http://www.gnu.org/copyleft/fdl.htmlGFDLGNU Free Documentation Licensetruetrue
to share – to copy, distribute and transmit the work
to remix – to adapt the work
Under the following conditions:
attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
This licensing tag was added to this file as part of the GFDL licensing update.http://creativecommons.org/licenses/by-sa/3.0/CC BY-SA 3.0Creative Commons Attribution-Share Alike 3.0truetrue
You may select the license of your choice.
Captions
Add a one-line explanation of what this file represents
Пример программы, выводящей «Hello world», написанной на Perl и отображаемой с помощью GTK+ 2.
{{Information |Description=An example Hello world program, written in Perl and displayed with GTk2 |Source=self-made |Date=May 06, 2007 |Author= User:Isilanes }}