11-20-2010
This program opens file named "./testfile2" for writing.
five times it writes: "Output 1 \n" to this file. Note that it doesn't append to it because of this: ">" it wipes all data and then writes to it. if you want to append to it use: ">>".
The last three lines are trivial.
This User Gave Thanks to majid.merkava For This Post:
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
can i do this? i am learning this on my own..and from the book..simple unix i am not sure if the syntax would work
if
statement
then
statement
do or for or while
statement
done
else
statement
fi....
I dont know how else to explain that...I hope I... (2 Replies)
Discussion started by: jonas27
2 Replies
2. Shell Programming and Scripting
hi everyone,
i am learning CGI using Perl, but i am having problem to compile and run the scripts.
the thing is that, when i want to compile my scripts i have to get connected to the internet and have to upload the scripts to a server and then only i can compile and run my scripts.
so, can... (2 Replies)
Discussion started by: shifan
2 Replies
3. Shell Programming and Scripting
Does anyone know where I might be able to download the exercises from the learning perl 3rd edition book. Any URL's would be valuable! Thanks:confused: (1 Reply)
Discussion started by: bilal_aa
1 Replies
4. UNIX for Dummies Questions & Answers
Hi,
It is very urgent.
Pls guide me in learning Perl Module and the Packages.
Eventhough i tried in the google, I didnt get upto my expectations.
Pls guide me how to create , build Module and the package.
Many Thanks. (3 Replies)
Discussion started by: Yamini Thoppen
3 Replies
5. Shell Programming and Scripting
Can anyone suggest a good pearl book?:) (2 Replies)
Discussion started by: nygenka
2 Replies
6. UNIX for Dummies Questions & Answers
Hi,
i have started to learn unix (on and off for the past few months) and am wishing to move into that area in the administration field of it.
I have been working in the help desk area (desktop support - windows based) for about 2.5 years and moved into a team leading role for 1 year in which i... (1 Reply)
Discussion started by: donnieDarko
1 Replies
7. Shell Programming and Scripting
Seems like it's written out pretty well for a beginner to learn, any thoughts or recommendations for other books? I'd post the link but I can't do that yet.
The book is called "Beginning Perl" by Simon Cozens (2 Replies)
Discussion started by: budfoxcat
2 Replies
8. Shell Programming and Scripting
Good afternoon,
I am not trying to start a debate. Please don't take it that way. I'm not trying to make this a Perl versus Bash scripts thing.
I have been writing shell scripts for several years. I am not 100%, but I seem to get the job done. I would like to start focusing on spending... (11 Replies)
Discussion started by: brianjb
11 Replies
9. UNIX for Dummies Questions & Answers
Hello All,
I am actually learning PERL and more interested to learn CGI script too. Can any suggest a forum or weblink which is more helpful for a dummy CGI developer.
Thanks (6 Replies)
Discussion started by: posix
6 Replies
LEARN ABOUT DEBIAN
gtk2::listitem
Gtk2::ListItem(3pm) User Contributed Perl Documentation Gtk2::ListItem(3pm)
NAME
Gtk2::ListItem - wrapper for GtkListItem
DESCRIPTION
Gtk2::ListItem is the widget used for each item in a Gtk2::List. Gtk2::List and Gtk2::ListItem are deprecated; use Gtk2::TreeView and a
Gtk2::ListStore instead.
Gtk2::ListItem is included in Gtk2-Perl only because Gtk2::Combo contains a Gtk2::List, and Gtk2::Combo's replacement, Gtk2::ComboBox,
didn't appear in gtk+ until 2.4.0.
HIERARCHY
Glib::Object
+----Glib::InitiallyUnowned
+----Gtk2::Object
+----Gtk2::Widget
+----Gtk2::Container
+----Gtk2::Bin
+----Gtk2::Item
+----Gtk2::ListItem
INTERFACES
Glib::Object::_Unregistered::AtkImplementorIface
Gtk2::Buildable
METHODS
widget = Gtk2::ListItem->new ($label=undef)
o $label (string)
widget = Gtk2::ListItem->new_with_label ($label=undef)
o $label (string)
$list_item->deselect
$list_item->select
SIGNALS
select-all (Gtk2::ListItem)
unselect-all (Gtk2::ListItem)
toggle-focus-row (Gtk2::ListItem)
undo-selection (Gtk2::ListItem)
start-selection (Gtk2::ListItem)
end-selection (Gtk2::ListItem)
toggle-add-mode (Gtk2::ListItem)
extend-selection (Gtk2::ListItem, Gtk2::ScrollType, float, boolean)
scroll-vertical (Gtk2::ListItem, Gtk2::ScrollType, float)
scroll-horizontal (Gtk2::ListItem, Gtk2::ScrollType, float)
ENUMS AND FLAGS
enum Gtk2::ScrollType
o 'none' / 'GTK_SCROLL_NONE'
o 'jump' / 'GTK_SCROLL_JUMP'
o 'step-backward' / 'GTK_SCROLL_STEP_BACKWARD'
o 'step-forward' / 'GTK_SCROLL_STEP_FORWARD'
o 'page-backward' / 'GTK_SCROLL_PAGE_BACKWARD'
o 'page-forward' / 'GTK_SCROLL_PAGE_FORWARD'
o 'step-up' / 'GTK_SCROLL_STEP_UP'
o 'step-down' / 'GTK_SCROLL_STEP_DOWN'
o 'page-up' / 'GTK_SCROLL_PAGE_UP'
o 'page-down' / 'GTK_SCROLL_PAGE_DOWN'
o 'step-left' / 'GTK_SCROLL_STEP_LEFT'
o 'step-right' / 'GTK_SCROLL_STEP_RIGHT'
o 'page-left' / 'GTK_SCROLL_PAGE_LEFT'
o 'page-right' / 'GTK_SCROLL_PAGE_RIGHT'
o 'start' / 'GTK_SCROLL_START'
o 'end' / 'GTK_SCROLL_END'
SEE ALSO
Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget, Gtk2::Container, Gtk2::Bin, Gtk2::Item
COPYRIGHT
Copyright (C) 2003-2011 by the gtk2-perl team.
This software is licensed under the LGPL. See Gtk2 for a full notice.
perl v5.14.2 2012-05-27 Gtk2::ListItem(3pm)