String Reading

2001-07-05 Thread Saxena, Saurabh
Hi I have one configuration file which has a variable as ACCOUNT = 0 # Put 0 for Acct.A,1 for AcctB and 2 for AcctC # Multiple values can be mentioned as 0,1 or 0,1,2 How should i read this file so that i can get the information as Let in conf file it is mentione

Re: progress Bar

2001-07-05 Thread Jorge Goncalvez
I have seen the widget demo for using TK::progressBar but it doesn't help me very munch because I don't know how to make my progress bar go up with my process tftp. I tried my process tftp, it takes 1.6s to get a file of 62090 Ko,and 1.6 s for a file of 1K but unfortunely this times are not pr

RE: help using ~s/(\w+)/\L$1/g ; ~s/(\w+)/\u$1/g ;

2001-07-05 Thread Arthur Cohen
: but this also change the letters which are after a special : caracter i.e. if : the $name variable has: : computación : it ends so: : ComputacióN : when I only want to get : Computación : Check out perldoc perllocale or http://www.perldoc.com/perl5.6/pod/perllocale.html . Tha

Re: help using ~s/(\w+)/\L$1/g ; ~s/(\w+)/\u$1/g ;

2001-07-05 Thread Kuhnibert
hi, 'use local' resp. check out the perllocale manpage (perldoc perlocale) (...) Thanks to LC_CTYPE, depending on your locale setting, characters like 'æ', 'ð', 'ß', and 'ø' may be understood as \w characters. The LC_CTYPE locale also provides the map used in transliterating characters between l

help using ~s/(\w+)/\L$1/g ; ~s/(\w+)/\u$1/g ;

2001-07-05 Thread [EMAIL PROTECTED]
Hello. I have a problem, i'm using this $name=~s/^\s+// ; $name=~s/\s+$// ; $name=~s/(\w+)/\L$1/g ; $name=~s/(\w+)/\u$1/g ; but this also change the letters which are after a special caracter i.e. if the $name variable has: computación it ends so: ComputacióN when I only want to get Com

Re:Progress bar

2001-07-05 Thread Jorge Goncalvez
Hi, i must implement a progress bar in my Perl Tk script to show the progression of a tftp processus, how can I do this? ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users

NTFS time/date stamps and "bytes free"

2001-07-05 Thread Lawrence F. Durfee
I would like to know how to get the exact file time/date stamps for NTFS files. Also, for both FAT and NTFS, I need to get "bytes free" information for the volume (e.g., C: drive,...). Unlike FAT, NTFS stores time/date stamps with a resolution up to 100nS. If I use the standard PERL library rout

RE: OLE Resource

2001-07-05 Thread Charbeneau, Chuck
Typo - Should have been: "WIN32 Perl Scripting: The Administrator's Handbook". Sorry. Chuck. ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users

RE: OLE Resource

2001-07-05 Thread Charbeneau, Chuck
> From: Wells, Doug [mailto:[EMAIL PROTECTED]] > Subject: OLE Resource > What are some good books/resources for learning more about > Perl/OLE scripting? Also, Dave Roth's books have been an INCREDIBLE resource for me. Look for "WIN32 Perl Programming: The Standard Extensions" and "WIN32 Scr

RE: Win32::Driveinfo

2001-07-05 Thread Rogers, John
HUH? dont you need to install Win32-Driveinfo ? http://velocity.activestate.com/code/cpan/w/wi/Win32-DriveInfo.html also from ppm JohnR > -Original Message- > From: Jorge Goncalvez [mailto:[EMAIL PROTECTED]] > Sent: Thursday, 5 July 2001 9:11 > To: [EMAIL PROTECTED] > Su

Re:Win32::Driveinfo

2001-07-05 Thread Jorge Goncalvez
- Begin Forwarded Message - Date: Thu, 5 Jul 2001 12:20:07 +0200 (MEST) From: Jorge Goncalvez Subject: Re:Win32::Driveinfo To: [EMAIL PROTECTED] Mime-Version: 1.0 Content-MD5: GSzMW4OJBv9zgrqByHDmdA== Hi, I try to use Win32::DriveInfo and I installed Win32-Api via ppm

RE: Win98 & NT Re: localtime - $isdst - Daylight Savings Problem

2001-07-05 Thread Lawrence F. Durfee
The TZ environment variable fixed the problem: set TZ="EST5EDT" I had other problems that TZ caused ("UNIX like" DOS date.exe responds incorrectly), but I think I fixed that as well. Thanks to everyone that responded... I have th

Re: Is a directory?

2001-07-05 Thread Peter Rindfuss
> Hi, > > Anyone can tell how to use the function "Win32::File::GetAttribute" to > know if a file is a directory or not. > > use Win32::File ; Win32::File::GetAttributes ( $file, $attr ) ; if ( $attr & (Win32::File::DIRECTORY) ) { ... } Cheers, Peter Rindfuss __

Is a directory?

2001-07-05 Thread PLANCON Sylvain
Hi, Anyone can tell how to use the function "Win32::File::GetAttribute" to know if a file is a directory or not. Thanks, Sylvain -- PLANCON Sylvain NAGORA Consultants 667, avenue Aristide Bergès 38330 MONTBONNOT Tel : +33 (0)4 76 52 99 10 Fax : +33 (0)4 76 5

Re: Re:dynamic menu

2001-07-05 Thread Kuhnibert
http://search.cpan.org/search?mode=module&query=driveinfo HTH, till - Original Message - From: "Jorge Goncalvez" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, July 05, 2001 10:51 AM Subject: Re:dynamic menu > > - Begin Forwarded Message - > > Date:

Re:dynamic menu

2001-07-05 Thread Jorge Goncalvez
- Begin Forwarded Message - Date: Thu, 5 Jul 2001 10:48:51 +0200 (MEST) From: Jorge Goncalvez Subject: Re:dynamic menu To: [EMAIL PROTECTED] Mime-Version: 1.0 Content-MD5: ffOGhJiVN5PvngDvnOzPcw== Hi, I would like to do a dynamic menu in Perl Tk ie I would like to displ