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

    pattern matching for floating numbers

    How do I find numbers in a line and multiply it by 1000, the numbers could be floating eg: create_clock -name "CLKBLK" -period 64.000 -waveform {0 32} I want to change this to create_clock -name "CLKBLK" -period 64000 -waveform {0 32000} Is there in perl to do a pattern match for a number. I...
  2. hbkid

    Reading and writing simultaneously to a file

    I'm trying to read and write to a file at the same time. I used open ( FILE, +<$file_name) to make $file_name both readable and writeable. I basically want to replace x y z in the file with x a y z When I tried doing this with an algorithm that works like this if $line = /x/ print FILE a...

Part and Inventory Search

Back
Top