Re: Redirecting STDOUT

2007-04-02 Thread Alexander Apprich
Chris Rodriguez wrote: > > > */Bill Luebkert <[EMAIL PROTECTED]>/* wrote: > > Chris Rodriguez wrote: > > Hi everyone, > > I saw the following on another PERL list-serve: > > > > "If you are on windows, then see perlfaq8 if ActiveState perl for > > how to redir

Re: Redirecting STDOUT

2007-04-01 Thread Alexander Apprich
Hi *! Nelson R. Pardee wrote: > Chris, > > Do you absolutely need backticks? You can invoke a command/program and > capture stdin, stdout with OPEN2, and stderr with OPEN3. I haven't done it > in ActivePerl although I have in Unix. I do know they don't work well for > my purposes with another per

Re: How to generate file signatures?

2007-03-09 Thread Alexander Apprich
Hi Dennis, Dennis Daupert wrote: > Hello list, > > Now that management has moved us off Unix and onto windows > > We develop software packages, and use a perl script to generate > checksum signatures to validate our packages. > > On Solaris, we use cksum; on linux, md5sum. > > What do peop

Re: Win32 Environment Variable Read-only?

2006-02-03 Thread Alexander Apprich
L. Neil Johnson wrote: > Using AS Perl 5.8.7 under W98SE, the PATH environment variable is > displayed, then assigned a new value; but the new value doesn't propagate > back to the MS-DOS %PATH% variable. Are the %ENV values read-only? > > C:\Programs\PERL>SET > ... > PATH=C:\WINDOWS;C:\WI

Re: Help! I Compilie Perl Module but encounter a problem that the long filename include space......

2006-01-03 Thread Alexander Apprich
gao perlone wrote: > Yes,because the Perl I installed in that directory so maybe the shell > can't find it. > in fact,I have reinstall the perl and it works Ok! > > But I still want to know Why the shell or any other tools can't deal > with the long filename include space(Such as the edit tool:Edi

Re: Help! I Compilie Perl Module but encounter a problem that the long filename include space......

2006-01-02 Thread Alexander Apprich
Hi Gao, I might be wrong, but to me it seems your problem starts before nmake Makefile... gao perlone wrote: > I install the Perl in the directory :C:\develop tools\perl. > I compile a Perl Module as fellow: > > C:\Appconfig>perl Makefile.PL > Checking if your kit is complete... > Looks good >

Re: (no subject)

2005-08-02 Thread Alexander Apprich
Hi Jamie, Jaime Teng wrote: In WinXP, we can open Task Manager and specify application's priority. From within a perl script, is there a way for my script to force window to assign a higher/lower priority? If so, how? have a look at Win32::Process module. This provides you access to a pro

Re: Perl on Win32: any possibility to emule "read_password"

2005-05-25 Thread Alexander Apprich
/ ) /--< o // // Castle of Medieval Myth & Magic http://www.todbe.com/ -/-' /___/_<_http://dbecoll.tripod.com/ (My Perl/Lakers stuff) _______ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscr

Re: AW: Windows Tasks

2005-04-14 Thread Alexander Apprich
Joachim, [EMAIL PROTECTED] wrote: Hi all, please help my: I have in perl 5.6.1 635 stored hash with like this use MLDBM qw(DB_File); tie (my %ZeitDB, 'MLDBM', "PC\\Share\\ZeitDB"); If I open the hash in my new perl 5.8.6 811 with the same I have: MLDBM error: Second level tie failed, "" at ...

Re: Getting file access rights

2005-04-13 Thread Alexander Apprich
$Bill Luebkert wrote: Johannes Kilian wrote: Hi there, I want to determine, what's the reason of "File does not exist" response, using the -e operator (if (!(-e $filename)) {...} The reason might be (for example): * file is really not available * the user does not have sufficient rights to access t

Re: Getting file access rights

2005-04-12 Thread Alexander Apprich
Johannes, Johannes Kilian wrote: Hi there, I want to determine, what's the reason of "File does not exist" response, using the -e operator (if (!(-e $filename)) {...} The reason might be (for example): * file is really not available * the user does not have sufficient rights to access the file ("Ac

Re: How to list and delete files more than x days old..

2005-04-12 Thread Alexander Apprich
Chris Wagner wrote: Yeah, just use the Cygwin find command. It's different from Windows's find. Once u install Cygwin (cygwin.com) u can look at 'man find' or find --help to see the options u need. Example that lists files older than 30 days: find.exe ./ -mtime +30 -exec ls -la {}; At 02:24 PM

Re: Globbing

2005-04-11 Thread Alexander Apprich
Andrew, andrew Black wrote: In Unix, if you provide a list of wildcards on the command line, by the time you program sees the list of files. I have program that I call on Unix $myprog.pl *.html and the program is basically while ( <> ) { do something} Is there a way of achievin

Re: [OT] Spam to list

2005-04-05 Thread Alexander Apprich
$Bill Luebkert wrote: Chris Wagner wrote: All PHB's are in need of training. ;) Had to Google that one. ;) http://www.acronymfinder.com is your friend :-) Alex ___ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: h

Re: Read a user password from keyboard

2005-03-17 Thread Alexander Apprich
Dominic, [EMAIL PROTECTED] wrote: Alex, I use Tk (I use Komodo v3.1 to build the dialog with the dialog GUI builder). First time I do a dialog...I'm really not an expert on that... Thanks for your help! I'm not familiar w/ Perl/Tk but from perl/tk FAQ I found this 10.17.

Re: Read a user password from keyboard

2005-03-16 Thread Alexander Apprich
Dominic, [EMAIL PROTECTED] wrote: Alex, Great! Good work but I also need to do it for a graphical dialog. Any way (or tips) to do that?!? What type of graphical dialog did you create, something w/ Perl/Tk? Thanks! Alex ___ Perl-Win

Re: Read a user password from keyboard

2005-03-16 Thread Alexander Apprich
Dominic, [EMAIL PROTECTED] wrote: Bonjour, How can I read a user password in a dialog that I have done in Komodo v3.1?!? I don't want to see the password, in clear text, displayed on the screen as the user type it...maybe just display stars (*) for each characters... as you didn't say

Re: Win32::NetAdmin::LoggedOnUsers

2005-03-16 Thread Alexander Apprich
Alan, Alan Peck wrote: Hi, I am fairly new to Perl. I have became extremely fustrated with Win2K scripting capabilities, the very lack of basic features that one expects for scripting using Batch files. In search for a better scripting language I came across Perl, which I soon purchased The Came

Re: nmake error

2005-01-24 Thread Alexander Apprich
l Win32::API using ppm, rather than trying to build it yourself. While connected to the internet run: ppm install Win32-API Let us know if that's not a satisfactory solution. Cheers, Rob -- Alexander Apprichscience + computing ag IT-Services Hagellocher

Re: How to obtain filesize?

2004-11-03 Thread Alexander Apprich
Tony, Tony Cheung wrote: > I have a perl program about update file from pc to mysql,but I want to > limit filesize,how to obtain filesize and file type? > for the file size you can use File::stat use strict; use warnings; use File::stat; my $file = "C:\\temp\\size.txt"; if ( -e "$file" ) {

Re: Do's someone know who offers good perl-training in Germany?

2004-10-12 Thread Alexander Apprich
Hi Armin, [EMAIL PROTECTED] wrote: > Hi, > > I'm searching for advanced Perl-Training/Consulting on > and individual Project in Germany. My project covers > mainly OLE-Automation with MS-Office and MapInfo > and it is written object-oriented. As I write on it for > one year now, it is grown quite b

Re: error in Net::SFTP

2004-09-07 Thread Alexander Apprich
Jutu Subramanian, Srinivasan (Cognizant) wrote: Hi, I am getting the following error after installing and executing the Net::SFTP application in perl. Can you please clarify? Can't locate Net/SSH/Perl/Buffer.pm in @INC (@INC contains: C:\Program Files\ActiveState Komodo 2.5 C:/Perl/lib C:/Perl/

Problems connection to ODBC-DSN (was: Re: ssh and Term::ReadKey on Windows)

2004-08-26 Thread Alexander Apprich
Rohit, first of all, please do not hijack a thread. For other it's hard to follow and you probably won't get the help you need. Rohit Nagpal wrote: > Hi Alexander, > I have been using win32::ODBC , after downloading and installing ODBC.pm > from perl site. But when I test to connect to sql server f

ssh and Term::ReadKey on Windows

2004-08-26 Thread Alexander Apprich
Hi there, sorry if this this a lil off-topic. I connect to a Windoes XP Pro machine using ssh. After login I start a perl-script which starts a dial-in connection using a syscall with rasdial. In the perl script I use Term::ReadKey to get a part of the password combination of a pin and a SecureID T

Re: windows.h

2004-08-04 Thread Alexander Apprich
Phil, [EMAIL PROTECTED] wrote: *The \Perl\lib\CORE\win32.h file has _#include , but I can't find windows.h anywhere in the perl distribution directory. Anyone know where I can find it? * This header files comes with Visual Studio or MinGW IIRC, it is not part of Perl. ** *Thanks,* ** *Phil* Ho

Re: [Perl-unix-users] crontab

2004-06-09 Thread Alexander Apprich
Hi Ronald Mundell, R. (Ronald) wrote: Good Day All Does anyone knows off a module or way to modify the crontab programmatically A quick search for crontab via ppm3 shows Set-Crontab Config-Crontab Don't know how (well) they work. HTH Alex ___

Re: Formatting Error Messages

2004-05-18 Thread Alexander Apprich
Hi Ashish, ashish srivastava wrote: Hi, I am trying to connect to a database using the DBI module. If the connection fails the script quits with a message. I want to format this error message: Example : Script: #!/local/bin/perl use DBI; $ENV{ORACLE_HOME} = "/local/db/8.0.6"; my $dbh = DBI->con

Re: Perl Script to send mail with Attachment

2004-05-14 Thread Alexander Apprich
Hi Satish, Satish Kumar wrote: Hi ScriptKings, Im a newbie in Perl, Would like to know following Info: Can we create *Perl Scipt to send Mails with Attachments* Any Tips, Help, Code,Suggestions & Guidance are Welcome The module Mail::Sender is probaply what you are looking for... This

Environment variables in Array

2004-01-30 Thread Alexander Apprich
Hi *! I got an Array which contains my PATH-Environment. Now I want to go thru this Array using foreach and then process every single entry to test if the path is still valid. If I use foreach $is (<@tempPath>) { I'm missing the first 2 entries in my path which do not exist in the filesystem (ju

Re: command prompt problems.

2003-10-30 Thread Alexander Apprich
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs -- _creating IT solutions Alexander Apprichscience + computing ag IT-Services Hagellocher Weg 71-75 phone +49(0)7071 9457-291 D-72070 Tuebingen, Germany fax +49(0)7071 9457-