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 Mike Lewis 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: *

  1. WingedKnight

    How to Get Perl to Automatically Look in Specific Directories for Scripts?

    By itself, that does not actually work, and... perl SomeScript.pl ...will still fail, but I learned from somewhere elsewhere that this does work in combination with the -S switch: perl -S SomeScript.pl :)
  2. WingedKnight

    How to Get Perl to Automatically Look in Specific Directories for Scripts?

    I have ActiveState Perl installed on a Windows machine. Now, suppose I have scripts, including one called "SomeScript.pl", in this directory: "C:\Example\Foo\Bar\" How do I configure Perl to automatically look in that directory for scripts when it is passed a script path? For example, from...
  3. WingedKnight

    Strange Taint Introduction with LWP

    I have a large, complicated, multifile (too long to post the full thing here) Perl application which uses LWP. Recently, to deal with a new input source website which automatically HTTP-compressed its responses, I had to modify the script to change a line from using ($objResponse is an...
  4. WingedKnight

    Why Isn't the CSS for a LI in a UL Overriding the CSS for the UL?

    Thank you (and starred) for the detailed explanation!
  5. WingedKnight

    Why Isn't the CSS for a LI in a UL Overriding the CSS for the UL?

    To clarify, if you test the following out in the major browsers: ul { font-size: 24pt; text-decoration: underline; } ul li { font-size: 12pt; text-decoration: none; } <ul>Foo <li>Bar</li> </ul> you'll find that "Foo" is rendered at 24 pt and "Bar" is rendered at 12 pt, but strangely...
  6. WingedKnight

    Why Isn't the CSS for a LI in a UL Overriding the CSS for the UL?

    I'm trying to apply formatting to a list header which should not apply to the list items. I have this CSS: ul { text-decoration: underline; } ul li { text-decoration: none; } and this HTML: <ul>Should be underlined <li>Should not be underlined</li> </ul> How do I fix the CSS so that the...
  7. WingedKnight

    U in Uname Command

    Wow, okay, that's so obvious I now feel silly asking the question. %-) I got confused because I work mostly with Linux boxes. Thanks for the quick reply.
  8. WingedKnight

    U in Uname Command

    Just something I've been puzzled by for a long time: What does the "u" in the "uname" command stand for? The "obvious" answer is "user", but that makes no sense given that the command returns information about the operating system rather than the user.
  9. WingedKnight

    Adding Leading Zeroes With a Single Substitution Without /e Option

    rharsh's solution unfortunately doesn't work either, as like the "/e" option it involves the evaluation of arbitrary code (it gets kicked with the error message "Eval-group not allowed at runtime").
  10. WingedKnight

    Adding Leading Zeroes With a Single Substitution Without /e Option

    That's clever, Annihilannic, and I thank you for your efforts, but unfortunately, it doesn't solve my problem. This isn't just a theoretical question. There is a program which has an interface that allows the user to set a single regex substitution in the middle of a much larger, more complex...
  11. WingedKnight

    Adding Leading Zeroes With a Single Substitution Without /e Option

    Suppose you have an integer $n and you want to add enough leading zeroes to that integer to make it a certain width in characters (for the examples below, let's say a width of 5.) I'm well aware that this can be done with such ways as $n = sprintf("%05d", $n); $n = substr(0 x 5 . "$n", -5)...

Part and Inventory Search

Back
Top