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

    Nested Variables

    I have a file which contains two columns. Column 1 is the pattern to match, column 2 contains the replacement pattern. So: B_(Stopp)_(\d{4})(\d{2})\d{2} B$1_Y$2_M$3 i want to do substitution using the interpolated varabiles in my code. I can get the pattern to match just fine, but when i...
  2. BStopp

    Problems with 64bit app

    First some background: Server type: unknown OS: Sun Solaris 8 OS Support: sparcv9 & sparc I converted this application from 32bit to 64bit. From what i can tell it compiles & links in 64 bit. (All the flags necessary for 64bit are being passed to compiler, ie: -xarch=v9 for CC/f77 & -64 for...
  3. BStopp

    XtPointer

    Ok, been frying my brain for a while now, so gonna ask for help. Been asked to update this application from 32-bit to 64-bit. It uses something called Widgets and XtPointers. Now, i have no idea what they are and don't really care. The problem i have is when i try to compile the file i get the...
  4. BStopp

    jsp:useBean question

    When using <jsp:useBean> tag the first step the application server does is search the scope you specify for the appropriate bean. What exactly does it search in the scope? I mean if i specify: <jsp:useBean id="myBean" scope="request" class="myPackage.myBeanClass"> Does it search the...
  5. BStopp

    How to change Button value

    In IE if you use javascript to change the 'value' attribute of a <button> it works fine, even displays the new value on the button as it should. However this doesn't work in any other browser but IE.. Can anyone tell me how to get it to work, such as: Is there a different attribute i need to...
  6. BStopp

    Pattern matching

    Is there a simple way to pattern match for only those characters found on a standard US keyboard? Or must i type out each specific key (aside from the \w\s ones obviously). I tried to use \p{IsASCII} but got back a very weird error message. Which, at this time i can not put into this post. If...
  7. BStopp

    File Handle Settings

    According to everything I can find on the subject, if i were to open a file in mode +< I should be able to read the file, write to the file, and clobber existing (this i take to me overwrite current position of file). Does this actually work? If so, is there a specific way you must reference...
  8. BStopp

    Question on FileHandles

    Is it possible to create an array of file handles?.. like so: @files = ("file1", "file2" ,"file3"); @fhs = new FileHandle; for( $i = 0; $i <= @files; $i++) { open($fhs[$i], "<$files[$i]"); } This complies correctly.. and even runs. But when we try to go through each file and pattern...
  9. BStopp

    Problem with perl sprintf() funciton

    THis one is for all you Computer Science majors. Part of a script i'm writing loops through fields of an array that are known to be numeric and rounds them to the nearest tenth using the sprintf() function. The problem is, some of the items are rounded correctly, others are not. Here's an...
  10. BStopp

    sprintf Question

    According to my books.. if you put a number in your format it makes the result that many characters as a minimum. When dealing with floating point numbers, does the decimal count as one of those characters? Example: $number = sprintf("%05.1f", 0) This results in 000.0 Technically it's 5...
  11. BStopp

    How do the system() and backtick work?

    After a few days working with what the system is doing here's what i came up with and my problem. I execute a perl command via unix ".forward" file for incoming email. Piping the email contents to the script. When the script executes it runs in a shell as the UID who is reciving the emails...
  12. BStopp

    Perl mdtm FTP command

    Hi everyone, I'm writing a script that will log into an FTP server, retrieve a list of files, then get modified time on that perticular file. For some reason, all my script does is return an empty variable. Here's what I have: $ftp = Net::FTP->new($SERVER) $ftp->login(); $ftp->binary(); @files...

Part and Inventory Search

Back
Top