Hello all,
1) I want to have a GUI application that will call Unix shell scripts,
2) that GUI application should be able to reside on windows ( if possible) and then call Unix shell script either directly or through a server residing on unix.
That is for example.
If a is windows gui (... (1 Reply)
I was chatting with my teacher on how this could be a great tool for admins who are making the switch from GUI to CLI administration. I'm wondering, does this kind of tool exist? (4 Replies)
I have a java command line program from a vendor without source code, but it's too much work to run on a PC window, therefore I'm think to create a GUI wrapper or web interface calling that java cmdline program. But I'm a newbie in java world
- How convert a java command line program into a web... (0 Replies)
Okay so i have a script i wrote in python. I want to turn this script into an INSTALLED COMMAND to run in terminal.
Right now i run it like this in terminal...
$ python myscriptname.py
or
$ ./myscriptname.py
but i want to be able to run it like this in terminal...
$ myscriptname
... (3 Replies)
Hi All,
Am working in a major IT company, due to security issues, being a fresher am not allowed to install or asking for a specific business reason to install it in my system.
The thing is i want to learn Linux, due to the same security issues we need Admin pass to install certain... (6 Replies)
Hi,
OS :- SUN
I am asked to invoke table menu via command line , after that i need to select option in the table menu like REPORT, STATUS ...
After login in to server , I am entering “yct”. It brings me a table with lot of option , I need to scroll down and then select “Report “ which... (3 Replies)
Hi Folks -
Quick question around the exec command again.
At the end of my script, I check for specific error codes that are returned from a process I execute within the shell script. Based on the error code, I send an email.
Do I need to turn off exec feature prior to send each email so... (5 Replies)
Hi. I'm a Solaris newbie.
I'm using Solaris SunOS Version 11.4.0.15.0 through Oracle VM VirtualBox Manager on Windows.
When I start the VM, I get to a command line I can login to.
I've tried using:
/usr/dt/bin/dtconfig -e
However, I receive error "No such file or directory".
The... (3 Replies)
Discussion started by: SRD
3 Replies
LEARN ABOUT DEBIAN
www::mechanize::formfiller::value::callback
WWW::Mechanize::FormFiller::Value::Callback(3pm) User Contributed Perl Documentation WWW::Mechanize::FormFiller::Value::Callback(3pm)NAME
WWW::Mechanize::FormFiller::Value::Callback - Call Perl code to fill out a HTML form field
SYNOPSIS
use WWW::Mechanize::FormFiller;
use WWW::Mechanize::FormFiller::Value::Callback;
my $f = WWW::Mechanize::FormFiller->new();
# Create a default value for the HTML field "login"
# This will put the current login name into the login field
sub find_login {
getlogin || getpwuid($<) || "Kilroy";
};
my $login = WWW::Mechanize::FormFiller::Value::Callback->new( login => &find_login );
$f->add_value( login => $login );
# Alternatively take the following shorthand, which adds the
# field to the list as well :
# "If there is no password, put a nice number there
my $password = $f->add_filler( password => Callback => sub { int rand(90) + 10 } );
DESCRIPTION
This class provides a way to write a value returned by Perl code into a HTML field.
new NAME, CODE
Creates a new value which will correspond to the HTML field "NAME". The "CODE" is a code reference that will return the value to be
written into the HTML field. The code reference will be called with two parameters, the object and the HTML::Form::Input object.
name [NEWNAME]
Gets and sets the name of the HTML field this value corresponds to.
value FIELD
Returns the value to put into the HTML field.
EXPORT
None by default.
COPYRIGHT AND LICENSE
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Copyright (C) 2002,2003 Max Maischein
AUTHOR
Max Maischein, <corion@cpan.org>
Please contact me if you find bugs or otherwise improve the module. More tests are also very welcome !
SEE ALSO
WWW::Mechanize, WWW::Mechanize::Shell, WWW::Mechanize::FormFiller, WWW::Mechanize::FormFiller::Value::Value,
WWW::Mechanize::FormFiller::Value::Default, WWW::Mechanize::FormFiller::Value::Random, WWW::Mechanize::FormFiller::Value::Interactive
perl v5.10.1 2009-04-24 WWW::Mechanize::FormFiller::Value::Callback(3pm)