11-06-2012
In Notepad++, keep the perl programs' tab in focus and press F5. The run dialog of Notepad++ will open. Enter perl $(FULL_CURRENT_PATH) and click on "Run".
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello people,
I am want to run a server on remote machine through perl scripting using telnet api. Now when I try to do so, the server gets started perfectly, but as soon as I close the telnet connection in the script, the server started on the remote machine suddenly goes down. I also... (0 Replies)
Discussion started by: chandrak
0 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I wish to execute a simple perl script to pass unix commands on a HPUX platform, retrieve the result and filter through the text to determine outcomes x,y and z. I am developing the code on my windows system.
I initially wrote the code to issue UNIX commands line by line, however i soon... (1 Reply)
Discussion started by: mmetcalfe
1 Replies
3. Shell Programming and Scripting
I have a very basic perl script that attempts to find if a process is running. If the process is not running then the script is supposed to start the process. If I execute the script from command line it works fine as expected. However if the script is executed via cronjob, the script cannot find... (1 Reply)
Discussion started by: ypant
1 Replies
4. Shell Programming and Scripting
Hi there
if i run this from the BASH command line, i get a good result
# FS="my-box23/account"
# zfs list -t filesystem -H | cut -f1 |egrep "^ZPpool1/$FS$"
ZP0pool1/my-box23/account
which is great, however if I try to run in a perl script populating an array with the result/s, i get... (4 Replies)
Discussion started by: rethink
4 Replies
5. Shell Programming and Scripting
While executing perl scriptit gives some compling issue, please help out
$inputFilename="c:\allways.pl";
open (FILEH,$inputFilename) or die "Could not open log file";
Error : Could not open log file at c:\allways.pl line 4
learner in Perl (1 Reply)
Discussion started by: allways4u21
1 Replies
6. Shell Programming and Scripting
Does not work.
#!/usr/bin/perl
$etcdir = 'ls -l /etc';
print $etcdir;
#END
------------result--------
#perl -w abc123.pl
ls -l /etc
#
This method works.
#!/usr/bin/perl
$etcdir = system("ls -l /etc");
print $etcdir;
#END (2 Replies)
Discussion started by: dplinux
2 Replies
7. UNIX for Dummies Questions & Answers
Hi All,
I want to show my output for the script to notepad.Anybody know what is the command to do this...
Thanks.. (7 Replies)
Discussion started by: mastercar
7 Replies
8. UNIX for Advanced & Expert Users
Dear fellow unixoids!
I need a little help (just a link would be fine) how can I investigate what specific perl script is eating 100% of cpu of my ubuntu server:
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND ... (2 Replies)
Discussion started by: ulrith
2 Replies
9. Shell Programming and Scripting
Hi, I have one small question - what is the best way to run one perl script from another?
Thanks in advance. (1 Reply)
Discussion started by: xqwzts
1 Replies
10. Windows & DOS: Issues & Discussions
I'm using Notepad++ to edit my BASH scripts and using CYGWIN to run them from Windows7.
In Notepad++ there is a 'Run' capability. How do I get this to run my scripts directly without having to enter the script name from the Cygwin command line? (3 Replies)
Discussion started by: millsy5
3 Replies
LEARN ABOUT SUSE
gtk2::filechooserbutton
Gtk2::FileChooserButton(3) User Contributed Perl Documentation Gtk2::FileChooserButton(3)
NAME
Gtk2::FileChooserButton
HIERARCHY
Glib::Object
+----Glib::InitiallyUnowned
+----Gtk2::Object
+----Gtk2::Widget
+----Gtk2::Container
+----Gtk2::Box
+----Gtk2::HBox
+----Gtk2::FileChooserButton
INTERFACES
Glib::Object::_Unregistered::AtkImplementorIface
Gtk2::Buildable
Gtk2::Orientable
Gtk2::FileChooser
METHODS
widget = Gtk2::FileChooserButton->new ($title, $action)
o $title (string)
o $action (Gtk2::FileChooserAction)
widget = Gtk2::FileChooserButton->new_with_backend ($title, $action, $backend)
o $title (string)
o $action (Gtk2::FileChooserAction)
o $backend (string)
widget = Gtk2::FileChooserButton->new_with_dialog ($dialog)
o $dialog (Gtk2::Widget)
boolean = $button->get_focus_on_click
Since: gtk+ 2.10
$button->set_focus_on_click ($focus_on_click)
o $focus_on_click (boolean)
Since: gtk+ 2.10
string = $button->get_title
$button->set_title ($title)
o $title (string)
integer = $button->get_width_chars
$button->set_width_chars ($n_chars)
o $n_chars (integer)
PROPERTIES
'dialog' (Gtk2::FileChooser : writable / construct-only / private)
The file chooser dialog to use.
'focus-on-click' (boolean : readable / writable / private)
Whether the button grabs focus when it is clicked with the mouse
'title' (string : readable / writable / private)
The title of the file chooser dialog.
'width-chars' (integer : readable / writable / private)
The desired width of the button widget, in characters.
SIGNALS
file-set (Gtk2::FileChooserButton)
ENUMS AND FLAGS
enum Gtk2::FileChooserAction
o 'open' / 'GTK_FILE_CHOOSER_ACTION_OPEN'
o 'save' / 'GTK_FILE_CHOOSER_ACTION_SAVE'
o 'select-folder' / 'GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER'
o 'create-folder' / 'GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER'
SEE ALSO
Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget, Gtk2::Container, Gtk2::Box, Gtk2::HBox
COPYRIGHT
Copyright (C) 2003-2008 by the gtk2-perl team.
This software is licensed under the LGPL. See Gtk2 for a full notice.
perl v5.12.1 2010-07-05 Gtk2::FileChooserButton(3)