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: veteq
  • Content: Threads
  • Order by date
  1. 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.
  2. 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...
  3. 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] . ":" ...
  4. 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...
  5. 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
  6. 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...
  7. 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...
  8. veteq

    creating shell menus using perl

    I just started to program in Perl, One of the first program that I will be working on will need to display a menu on a telnet session, what is the best way to do this in perl e.g 1) option abc 2) option def 3) ..... enter your selection: up to 10...

Part and Inventory Search

Back
Top