Lukket

Perl TK bug fixing

NOTE: had to change the array atsign to 'atsign' to post a code sample.

I have alot to get done in the way of bug fixing and new features, but this is my first time at rentacoder so I'll start small. Here are three bugs in my perl//tk app:

New file added to directory does not appear in drop-down list: BrowseEntry displays a list of directory files (this works). Adding a new file to the dir does not get a new entry in the list. I though -listcmd did this. The only way to get the new item in the list is to close and reopen the app.

getFileList;

$begetfiles = $lf_library -> BrowseEntry(

-state => 'readonly',

-autolistwidth => 1,

-autolimitheight => 1,

-variable => \$script,

-listcmd => \&getFileList)

-> pack(-side => 'right', -padx => 10, -pady => 10);

foreach ('atsign'perlfiles) { $begetfiles -> insert('end', "$_"); }

sub getFileList {

chdir 'library';

'atsign'perlfiles = glob ('*.pl') or warn \$1;

}

Entry fields do not get focus: -takefocus => 1, is not working

$newnameentry = $savepanel -> Entry(

-textvariable => \$newscriptname,

-validate => 'key',

-takefocus => 1,

-validatecommand => sub { $_[1] =~ /\w/i },

-invalidcommand => sub { $mw -> bell })

-> pack();

$newnameentry -> delete(0, 'end'); # Clear the field after use.

App opens near upper left of screen: I'd like to have control over this. I've tried things like $mw -> offset(-x => 200, -y => 200);

## Deliverables

1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.

2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables):

a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment.

b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request.

3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).

## Platform

windows

Evner: Ingeniørarbejde, MySQL, Perl, PHP, Software Arkitektur, Software Testning

Se mere: perl get, perl coder for hire, clear array c, c clear array, php bug fixing, mw, fixing, fixing bug, Bug fixing in PHP, small php script variable, php list directory files, insert variable, sample perl, php list file directory, perl sample, perl change file, php post array, perl request, perl code sample, legal pack

Om arbejdsgiveren:
( 24 bedømmelser ) United States

Projekt ID: #3312022

1 freelancer byder i gennemsnit $43 på dette job

gworroll

See private message.

$42.5 USD in 2 dage
(41 bedømmelser)
3.7