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 John Tel 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 readey

  1. readey

    Strip off ^M

    Use chop, then chomp - that does the trick :-)
  2. readey

    Testing for a dir on Windows XP

    well my original script had the line :- foreach my $file (@files) { next if -d $file; etc, etc; } this did not seem to work ,however taking everyone's advice I changed the line to; -d $file && next; This seems to work!!!!
  3. readey

    Testing for a dir on Windows XP

    Hi, I'm using Activestae perl on a WinXP box. Can anyone tell me the best way to test if a file is a directory since -d does not seem to work. Thanks :-)
  4. readey

    troubles with Win32::OLE

    Hi peeps, I'm using Win32::OLE to open a load of excel files - I nees to read two cells, one with a date and the other with a time. My program seems to have trouble closing each instance of excel. I use $obj = Win32::OLE->new(Excel.Application, 'Quit'); and at the end I also use; $obj->close...
  5. readey

    regex on command line

    $bar =~ s/^(\w+)\.\w$/$1/ should do it. Your expression is expecting to sub 2 or 3 dots for nothing

Part and Inventory Search

Back
Top