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

  • Users: veteq
  • Order by date
  1. veteq

    How to load the return of system into a variable?

    sorry but that didn't work, all it returned is the content of the '' not the number of lines. am I missing something? thanks
  2. veteq

    How to load the return of system into a variable?

    thank you for the quick reply. I tried the search but I was searching for the wrong command. thank you
  3. veteq

    How to load the return of system into a variable?

    Is there a way to load the return of system into a variable? e.g. sysreturn = system("ls -l |wc -l") thank you.
  4. veteq

    Reporting tool formating

    I am not using the print command, I am using the report format = tool like this format DetailReport1 = @<<<<<<<<<<<<<<<<<<< @<<<<<<< @<<<<<<<<< @<<<<<< @<<<<<<< @<<< $rpt_pick_idid, $rpt_wskuskuskuid, $rpt_from_load, $rpt_from_locname, $rpt_planned_destinationname, $rpt_qty I...
  5. veteq

    Reporting tool formating

    Is it possible to omit fields when they are repeated? e.g. --------------------------------------------------------- name lastname debit credit Peter Smith $12.00 $14.11 $11.11 $05.11 John Doe $07.22 $07.11 Bill Doewn $01.22...
  6. veteq

    problem fromating fields

    it worked, thank you.
  7. veteq

    problem fromating fields

    I am not sure where to start on this one I wrote a PM file that looks after logging of all activity taking place with the main application. code --------------------------------------------------------- $finalTime= (localtime(time))[2] . ":" . (localtime(time))[1] . ":" ...
  8. veteq

    finding out the number of splits

    Thank you very much for all your help, I can always get the answers that I am looking for here thank you.
  9. veteq

    finding out the number of splits

    I am using the split function to load an array, some of the records will split in 2 others only once if it splits in 2 I need to only keep the 2 record but if it splits once, I keep the 1st record. The problem that I ran into is when the second element [1] in the array is empty, I get an...
  10. veteq

    matching the string

    that worked great, thank you for your quick reponses Veteq
  11. veteq

    matching the string

    I need some help with this "string match" ( $ans_quantity !~ /^[0-9]{3}d/) what I am trying to do is for the user to enter a min of 1 numeric digit and not more that 3 numeric digits (not allowing alpha numeric characters) thank you... Veteq
  12. veteq

    Open command and linux path problem

    that worked, thank you Micheal for all your help....appreciated Veteq
  13. veteq

    Open command and linux path problem

    Sorry, I didn't post the correct line of code.... open (FILEOUT, ">> $WD_LOGDIR/progfile.log") or die "not foun..."; the $WD_LOGDIR is a shell specified location and varies from machine to machine...I need to get the linux value into perl and use that value in the open file path.....
  14. veteq

    Open command and linux path problem

    Thank you Michael, I will try that.... Veteq
  15. veteq

    Open command and linux path problem

    I am kinda confused on this one...(I am new to perl) in linux I use a variable to hold the location of the log files $WD_LOGDIR = /var/log/WS when I try to incorporate this variable to the open command, it creates a file in the "current location" that included the path name. open (FILEOUT...
  16. veteq

    need help breaking down data

    worked great thank you
  17. veteq

    need help breaking down data

    thank you Paul, I will try it tomorrow Veteq
  18. veteq

    need help breaking down data

    Sorry about that, I am connecting to an Oracle db and retrieving the data through a Select stmt This is how the code is looking but I am looking for a better way to do it my $sth = $dbh->prepare('select OPID, PASSWD, EMPNUM from EMPINFO')...
  19. veteq

    need help breaking down data

    while (@data = $sth->fetchrow_array()) { $usrloadid = $data[0]; $usrwsku = $data[1]; $usrlocation = $data[2]; @keeper[$kounter]=$usrloadid; $kounter +=1; }; I managed to load the data to an array this way but there must be a...
  20. veteq

    need help breaking down data

    I am retrieving data from a remote database.... Code:____________________________________________________ while (@data = $sth->fetchrow_array()) { print "@data[0]\t\t@data[1]\t\t@data[2]\n"; } _________________________________________________________ this is the code and it works...

Part and Inventory Search

Back
Top