Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. prgWithPerl

    PerlTK getting selected item from List box

    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...
  2. prgWithPerl

    Track down 'Subroutine SomeSubName redefined...' warning

    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...
  3. prgWithPerl

    Track down 'Subroutine SomeSubName redefined...' warning

    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.
  4. prgWithPerl

    Track down 'Subroutine SomeSubName redefined...' warning

    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...
  5. prgWithPerl

    linking to perl in xampp apache cgi

    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...
  6. prgWithPerl

    linking to perl in xampp apache cgi

    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...
  7. prgWithPerl

    execute perl script from mxml page?

    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.
  8. prgWithPerl

    PerlTK getting selected item from List box

    Opps copy and paste error: my $ftp->get($listBoxFiles[$fileIndex]); should be $ftp->get($listBoxFiles[$fileIndex]);
  9. prgWithPerl

    PerlTK getting selected item from List box

    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...
  10. prgWithPerl

    How to retain alphabetic case?

    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...

Part and Inventory Search

Back
Top