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 Shaun E 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: *

  • Users: eve25
  • Content: Threads
  • Order by date
  1. eve25

    making part of my program die

    Hi there, I have this master script calling a few subroutines that are organized in different modules. For now I am using 'use' to get those subroutines loaded in my master script. something like (really simplified): #### #master.pl #### use Mod1 qw(sub1); use Mod2 qw(sub2); ... foreach my...
  2. eve25

    Newbie, easier way to grab file into array...sorting descending order

    Hi folks, I am a Python newbie and using it for scientific computation...due to its supposed efficiency I am trying to use Numarray (after trying scipy and seeing how week was the documantation for that) I didn't manage to find a function grabbing a matrix from a file into a 2d array..except...
  3. eve25

    calling XS sub in parallel

    Hi guys, I have a program using an XS package (to use a C librarie with a driver), this package has 3 subroutines to: - load the library - run the C code on the specified file - close the library I am calling this package from another perl script and I need to load and close the library once...
  4. eve25

    manipulating huge files

    Hi guys! I have to make an application for which the running time is really important, and to summarize I have 2 text files (one really huge: 80MB and the other of 1.6 MB). Those 2 files contain information for more than 1500 locations, and I have to produce 1 file per location with both of...
  5. eve25

    DBI/Apache access

    Hi Guys, I'm hitting a problem I can't solve... I got CGI scripts working fine in Perl with Windows as long as I don't have any DB access. Then I am using the DBI and DBD:OCVB (smth like that, a general one supposed to work with any databases) modules, I have configured the ODBC source...
  6. eve25

    filehandle for a log file with many packages

    Hi guys, I would need a log file for my program but this one is composed with 5 different packages...and 1 program making the link to all the packages. A filehandle is proper to a package and I know how to pass it from one prog/package to another one with aliases and using local... I can to that...
  7. eve25

    my/our/var/local...use strict?

    Hi guys, Here is my problem : I need a global variable and to use strict at the same time (the program is quite big and I need to debug easily..) If I get everything: local: I can get global variables but not use strict my: declaration in one block /can use strict our: declaration in one block...
  8. eve25

    file access time vs. storage memory

    Hi folks, I have to process about 10 files and to make the data from these files (let's say input file) available in another format (let's say output file). So basically I take the data, manipulate it and print it in another file. Each input file contains about 60 records, each one containing...
  9. eve25

    go backward one line in a file

    Hi folks, I there anyway in a file to go to the previous line easily? I made a fct looking for one line ans returning all the text before that line, but after I want to start again from this line and if a call $line=<FILE> it gives me the following one.. I know that seek is a possibility but it...
  10. eve25

    filename matching caracters without pattern

    Hi folks, I have to dowload files like the one with a .dat extension and having &quot;qu&quot; in their name (just an example) I would have liked to write in my code someting like $ftp->get(*qu*.dat); I think I barely tried everything between *,.,/ I finally write a code using regular...
  11. eve25

    copy, move, dowload with perl

    Hi all, I am currently translating code from Matlab to Perl and both language are new for me. I have to copy, move, download files, send mails for a great part of the program. The code in matlab uses UNIX command to do that and for the moment I have done it this way too, like my $copy=`cp...
  12. eve25

    list of processus with perl

    Hi folks! I am just starting using Perl and I am wondering how I could get the list of the processus running at one time (present) on the computer. (to detect the ftp one). also, is it possible to have a bash shell script in a perl script (which could be another way to obtain this list)? Thanks...

Part and Inventory Search

Back
Top