A couple more notes.
If all you want is the string from the one selected you can use "get()" (instead of maintaining a separate @listBoxFiles):
my $curValue = $files_lb->get($fileIndex);
If you need to maintain secondary information like you display one thing in the list box, but you need to...
BTW if this was a simple duplicate reference the fastest way to find it might be to just pick the subroutine and search all the files for:
sub ThatFunction
After all this ThatFunction("param") (as in the use is not what you are looking for). The function name is 'new' you have a problem, but...
Follow up. Even the TestA.pm and Y/TestA.pm examples are probably wrong because Perl would probably complain that the file path Y/TestA is not the same as the package TestA.
So look to the case problem.
Actually I would think that you need to attack the problem.
I don't believe it is a problem of circular use statements. When you look at a properly written module the first thing in it is "package". What this does is give this package its own name space. So it does matter if A module has a...
Actually let me tell you why your post just listed the Perl file. The configuration of your server tell it what it should do with each file type, and the file types that it doesn't know about are just sent to the user. Since your server is not configured to run the Perl script this is what...
As you have seen POST doesn't mean go execute this program.
And you didn't really get the idea of CGI/Perl.
Here a some code from ActivePerl's documentation on the CGI module.
#!/usr/local/bin/perl -w
use CGI; # load CGI routines
$q = CGI->new...
Your actually in the wrong place to ask this question. The answer has very little to do with perl and everything to do with mxml (as in how does it tell the sever to run a program (any program)).
You need to seek out an mxml expert not a Perl expert.
You really need to use some print statement to help you see what is happening in cases like this.
Lets go through it, first plain old Perl.
foreach (@selected_files)
{
my $ftp->get(@selected_files);
}
foreach (@selected_files)
This statement goes through each item in the array one at a...
I don't have a Solaris shadow file available, but if I remember correctly they are identical in syntax to Linux's which I have to look at, and what you are trying to match really seems strange. Even to the point that it would match anything. I don't see anything that suggests that case...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.