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 strongm 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: Krel
  • Order by date
  1. Krel

    Editing the path?

    Excellent - thanks very much.
  2. Krel

    windows xp

    As long as you're not having any problems, I would say no. Windows XP is more reliable, but for me, the difference was negligible because Win98 was already pretty stable. However, XP does have some extra features, so it depends what your situation is.
  3. Krel

    Editing the path?

    I want to change the PATH variable for Windows. In 98, I would edit the autoexec.bat file, but I can't seem to find that file in XP. How can I edit the path variable (I know I can do it at a command prompt, but I want it to be permanent). I also tried msconfig, but couldn't figure out what to...
  4. Krel

    problem using: print "Location: "

    Make sure that you haven't sent a content-type header before you send the location header. The location header must absolutely be the FIRST output you send to the browser, or it won't work.
  5. Krel

    Problem with old TurtleBeach Montego...

    I recently upgraded my computer to Windows XP, as well as the processor, motherboard, RAM, and whatnot. However, I did not upgrade my sound card. On TurtleBeach's site, they say that the Montego is not really compatible with XP. The thing is, the sound works just great. However, the sound card...
  6. Krel

    Hard lockups under XP

    I installed Motherboard Monitor 5, and the there is a temperature readout I'm concerned about - Sensor 2, which is just named Asus 2. Any way to figure out what this is? Anyway, the temperature readout during normal Windows is about 57 degrees celsius, which seems fairly hot to me. Could this...
  7. Krel

    Hard lockups under XP

    I have an Asus A7V266-C motherboard and a 1900+ CPU, along with 512 MB of RAM, a 400 watt PSU, a Turtle Beach Montego sound card and a Geforce 4 MX440 video card. I'm getting some hard lockups. They are VERY occasional in Windows XP, but when I try to play Warcraft 3, it locks up almost...
  8. Krel

    hard error to find!

    Get a text editor that is better than notepad. Even average text editors show line numbers.
  9. Krel

    printing html

    You mean you want to just display a previously written HTML page? If so, do this: print &quot;Location:http://yourURLhere.com&quot;; If you want that script to generate HTML, the easiest way to print a large block is to use the &quot;here&quot; syntax. print <<END_HTML; All of your HTML...
  10. Krel

    Object Oriented Perl - Help Getting Started

    That was a great post, Coderifous. It helped me a lot as well in understanding perl's OOP. However, I still don't understand the point of doing that; it seems needlessly complicated. What benefits are there to writing the above instead of the (perhaps newbie-ish) procedural code that I would...
  11. Krel

    simple regex

    You can use & to show a literal ampersand. That said, I don't know what the problem is... The following should work... $body =~ s!<p>&ampnbsp</p>!!ig;
  12. Krel

    how to insert character to perl string

    $email = 'somename@host.com'; $email =~ s/@/\\@/g; print $email; # prints somename\@host.com
  13. Krel

    Good global variable scheme?

    Whoops, in my above post, I dind't mean to include $STP in @EXPORT_OK. Not sure what I was thinking.
  14. Krel

    Good global variable scheme?

    Use the Exporter module. Here's a sample: package Constants; use Exporter; $Pi = 3.14; $Avagadros = 6.02e23; push @EXPORT, $Pi, $Avagadros; # These variables I want to export automatically $R = 8.31; $STP = 22.4; push @EXPORT_OK, $R, $STP; # This variable is exported only on request, when you...
  15. Krel

    Home Made Modules Volontary Abort Compilation ?

    I think they're planning to add that feature in perl6, but I just did a quick perl -e and it didn't work.
  16. Krel

    What fan to get for my graphics card?

    I have an (old!) nvidia TNT that is causing me problems. Whenever I play a 3D game that would use the card, it overheats. I suspect it is overheating because all of my 3D games freeze up in the same way - the screen just freezes, and my computer doesn't accept any keyboard input at all. I am...
  17. Krel

    require function errors

    Does the required file open files using relative directories? Maybe the required code is considered part of the main script and thus is looking for the file in the wrong directory, and dying.
  18. Krel

    Complete Beginner....

    Best of all is to get Apache so you can test it locally. It saves you from having to upload your file(s) every time. Just save it, and *poof* it's updated. :)
  19. Krel

    Using $SIG{__DIE__} and exec

    I thought about that, but I would probably run into the same problems trying to start mysqld.exe and run the script as I'm having now. Basically, is there any way that perl can execute a program without expecting a waiting for any kind of return value?
  20. Krel

    Using $SIG{__DIE__} and exec

    Oh yeah, and I tried using backticks in a void context and that timed out as well. The script does NOT time out if I don't use system, exec or backticks, so I'm certain those are the problem. All three methods do start the program correctly, though.

Part and Inventory Search

Back
Top