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

  • Users: sport
  • Order by date
  1. sport

    Weird regex behavior....

    Well I was sorta right and sorta wrong. Sorry 'bout that. A little more food for the fire "." can match anything except (usually) a newline or null (Mastering Regular Expressions). So I guess I'm real crunchy and tasty with mustard.
  2. sport

    script intended for multiple systems....

    Use the shebang line on Win32 if you are doing something like #! /usr/local/bin/perl -w The Win32 version picks up the "command line" options that are present.
  3. sport

    Weird regex behavior....

    Well the "^" is the beginning anchor and "$" is the ending anchor, so m/^$/ will match only a null string - nothing between the beginning and the ending markers. And a "*" will match 0 (zero) or more occurrences of any character. So m/^*$/ is indeed any string...
  4. sport

    Need Help With Win32::DriveInfo

    I donwloaded the module and installed it. It worked fine. What version of perl are you using? I put the pm file in \perl\site\lib\win32. #!perl -w use strict; use Win32::DriveInfo; my $type = Win32::DriveInfo::DriveType('a'); print "drive type is: $type\n"; output is drive type...

Part and Inventory Search

Back
Top