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 TouchToneTommy 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: Porshe
  • Content: Threads
  • Order by date
  1. Porshe

    help with odbc-SQL server connection

    Hi, I set up a connection for an SQL server on win2000 using ODBC. I keep getting an error message that says "Unrecognized column name encountered: UNKNOWN" -its connected to a local server -uses SQL Server authentication- login ID and password --uses ANSI quoted identifiers -use...
  2. Porshe

    ODBC- SQL Server connection

    i'm going to be setting up a ODBC connection to a Microsoft SQL Server on a win nt machine. It is a local server -the database and ODBC are on the same machine. is there anything that I may need to know to make this successful? is it fairly simple? Thanks,
  3. Porshe

    skip blanks, colons, and /

    hi, i'm trying to sort but i need to skip any spaces, colons and / in the line. any help? thanks!
  4. Porshe

    pass arg which is a file

    Hi everyone! If I have file1.pl that creates a variable $report= $date.pl where $date= local, how can I open file2.pl and pass it the file name which is stored in $report? Thanks, Porshe
  5. Porshe

    2 results in 2 files print to 1

    Hi. I have file.pl that generates data to a result file- data.pl. In the middle of the process, it stops and system opens another file for output. How can I get all the output from 2 different scripts to write to 1 output file (data.pl)? #This is my result file that is opened in file.pl open OF...
  6. Porshe

    ? on subs

    Hi! I have a main program that has a big foreach ($ip) loop. In this loop it calls many subroutines. When it goes into a subroutine, how can I get it to go back to the start of the foreach loop? I've tried next and return, but I don't want it to exit out of the main program. sub ShowError {...
  7. Porshe

    How to Import Value

    Hello! How can I import a value (say $out=123) from find.pl to last.pl? Thanks, Porshe
  8. Porshe

    open file for output????

    Hi! I have a script called find.pl that has a variable $source= 132.45.76.89; ($source changes with each foreach loop that I have). I have another script called last.pl that needs to take $source from find.pl, do some stuff with it and give find.pl the results. I'm thinking that I can open...
  9. Porshe

    Socket modules

    Hi! I have a quick question. I'm trying to download the IO:Socket module but it seems that there's only the IO:Socket::SSL module that took over the IO"Socket::INET module. Then you have to download another module NET::SSLEAY then you have to download an open SSL file. Does anyone know of a...
  10. Porshe

    detect a letter

    Hi everyone! I have a line that looks like this: report: source-a, name-d, time-a I need to detect whether it's an -a or -d for ascending or descending. So this is my pseudocode: #$field1 is source-a if ($field1 contains -a) then sort ascending else sort descending if it's not clear, I...
  11. Porshe

    sorting on hashes

    Hi all, I have this as my data which is comma delimited: name, address, age, zip, county If I need to sort my age as my first field to look like this: age, name, address, zip, county how could I do it? thanks, porshe
  12. Porshe

    Sorting on Keys

    HI everyone... I have a data file with about 9 fields in it. How can I make one field a key then get all the information about that record (the other 8 fields) in that record? I have to do a sort on one field then get all the other information from the remaining fields. Thanks, Porshe
  13. Porshe

    HTML in perl script

    Hi everyone! I need to format a perl report with html. Do I need to use a module and if so, which one? Is it start_html or something like that? Thanks!
  14. Porshe

    Help with file names

    Hello... I have a perl script that will generate results to another file. The time is generated and printed in the file. But I also want the time to be the name of the file. This is because I will have many files and need to know quickly which file I need by the time it was generated. Thanks...
  15. Porshe

    How to call subroutines from a data file?

    I have a very long script. I broke each function up with subroutines. I have another file that's going to call only the subroutine that's needed and pass it the data file. How can I do it as the first line in the data file? I also read in the data into an array then close the file. Will I have...
  16. Porshe

    time and date of file

    I need to get a legible date and time of a file. I need the atime (read) and mtime(modification) time of my file, t_results.html. I tried this: my ($readtime, $modtime) = (stat($t_results))[8,9]; #print "$readtime \n"; #print "$modtime \n"; But I get this: 991849314...

Part and Inventory Search

Back
Top