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 Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by Segfault7375

  1. Segfault7375

    A feature on this Forum

    If I may be so bold, there's a small error in that line.. $text_var =~ s/ http:\/\/(.*?)\s+/<a href=\&quot;http:\/\/$1\&quot;>http:\/\/$1</a>/g; should be: $text_var =~ s/ http:\/\/(.*?)\s+/<a href=\&quot;http:\/\/$1\&quot;>http:\/\/$1<\/a>/g; Please note the backslash inside the </a> tag at...
  2. Segfault7375

    Batch files and long file names

    Try this: xcopy &quot;c:\documents and settings\user\mydocuments\*.*&quot; f:\user\mydocuments /e Just put any path with spaces in it in quotes :) Segfault
  3. Segfault7375

    Import Data into New Excel Spreadsheets??

    Yes, you can use VBA to pull information from an Access datbase to an Excel spreadsheet. As this is the Windows 2000 forum, you will probably want to ask this in the Microsoft Office forum (http://www.tek-tips.com/gthreadminder.cfm/lev2/3/lev3/18/pid/68) and you will most likely get a pretty...
  4. Segfault7375

    How can I tell what CPAN modules are installed?

    The easiest way I have found to do this is just write a quickie script to test for individual modules. Just do #!/usr/local/bin/perl -w use CGI; run that and if CGI is not installed you will get an error. I am not sure if there is a command to dump a list of all modules.
  5. Segfault7375

    Console output

    Thanks! You guys rock :)
  6. Segfault7375

    Spot The Error In This Little Javascript

    Try it like this: if(stat == 1) { eval(&quot;document.all.&quot; + item_name + &quot;.style.backgroundColor = #999999&quot;); window.status = item_name; } else { eval(&quot;document.all.&quot; + item_name + &quot;.style.backgroundColor&quot; = #993333&quot;); window.status = ''; }...
  7. Segfault7375

    Size of a hash

    There's no &quot;size&quot; function that I am aware of, but this should work: $i=0; while (($key,$value) = each %YOURHASH) { $i++; } Hope that helps, Segfault
  8. Segfault7375

    Spot The Error In This Little Javascript

    I don't know about Javascript, but in C/C++ switch is a reserved word. Try changing all instances of that variable to say &quot;switch1&quot; or something like that. Hope that helps, Segfault
  9. Segfault7375

    Console output

    Is there a way to update the text on a given line in the console in Perl? Basically so that I could have a percentage complete indicator, but the text staying on one line. If you have ever seen fsck run on Linux as it runs and the percentage complete is counted, that is exactly what I am...
  10. Segfault7375

    Checkbox Question

    Thanks goBoating :) You get a star :)
  11. Segfault7375

    Checkbox Question

    Hi all, I am working on a database &quot;to-do&quot; list. Basically what I have in mind is that it will list each item with a checkbox next to it, then you check the boxes off as you complete things, and click a button to update all of the checked items at once. What I can't figure out is...
  12. Segfault7375

    I've been experiencing more than my

    Hi all, For me, turning off Ultra DMA for the boot drive in the BIOS solved the INACCESSIBLE_BOOT_DEVICE error for me. I've never gotten any of the other errors before, but I hope this helps. Segfault7375
  13. Segfault7375

    Block comment in Perl

    Thanks! That should work well enough for my simple scripts.
  14. Segfault7375

    Block comment in Perl

    Is there a way to do block comments in Perl? Like the following snippet in C: /* Whole lots of comments go here */
  15. Segfault7375

    upload manager, browse function

    Just use <input type=&quot;file&quot; name=&quot;remotefile&quot; size=&quot;50&quot;> in your HTML :)

Part and Inventory Search

Back
Top