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

    Using $cgi->param('myname') as a string

    Hey guys, I seem to not fully understand what is returned by using $cgi->param('myName'); I'm trying to do add on a bit to the myName argument. It looks like this: use CGI; my $cgi = new CGI; $myNewName = $cgi->param('newName'); $myNewName = "stuff".$newName; then it would be called...
  2. inspleak

    Print not printing every time..

    Hey guys, quick question.. I'm trying to make a little progress indicator like [23/1000] or something like that. What I figured I could do is go through the loop and at the end of the loop: print "\r [$myPart/$myTotal]"; However it only seems to print the very last one. So I tried: print...
  3. inspleak

    Making 5.1.1 not match 58180

    Hey guys.. one more quick question and I promise I will leave you alone for a bit :) Essentially all I want to do is match the string "5.1.1". However I have noticed that PERL treats the '.' as a special character and '\.' doesn't seem to change it. The following code gets a match for "5.1.1"...
  4. inspleak

    New to RegEx

    Hey guys. I've got a couple of questions, I found this someplace while looking for ways to find email addresses in a file: /(\S+\@\S+\.\S+)/ If I understand this correctly it finds any non-whitespace word (\S) then expects an "@" then matches any non-whitespace word, then a "." then any...
  5. inspleak

    Step through Array of Arrays with unknown Size

    Hey guys... here is the situation: @list1 = ("one", "two", "three"); @list2 = ("myList2"); @fooList = ([@list2], [@list1]); Basically what I want to do is walk down each array in @fooList. For instance I want to read data from @list2, element at a time, then @list1, but I want to be able to add...

Part and Inventory Search

Back
Top