Re: Cronjob and System command in Perl Script

2009-10-21 Thread Kenneth Ölwing
cleartool: Error: Element name not found: /view/view_PACE6R05/vobs/vbos_verif/devices/PACE6R05/M3/SYS1/module/module.h. Here the element is there in clearcase(/view/view_PACE6R05/vobs/vbos_verif/devices/PACE6R05/M3/SYS1/module/module.h), bcz I checked manually and I can

Re: Cronjob and System command in Perl Script

2009-10-20 Thread Kenneth Ölwing
I forgot to mentione one thing there. If the script is source check in, then I am facing the problem. Is the element executable? As root, vob owner or element owner do, 'cleartool protect -chmod +x element'. ken1 ___ Perl-Win32-Users mailing

Re: I need perlctrl example pls

2009-09-15 Thread Kenneth Ölwing
Does anyone know how to use PerlCtrl? ie, converting perl scripts into dll files? Just curious, but have you read the documentation available with your PDK install? Seems like a fairly decent set including a tutorial that should get you started. I'm sure you could have some more pointed

Re: CPAN install directory usage

2009-07-02 Thread Kenneth Ölwing
*So, is there a Windows build of the Tk package that has been installed there (since you seem to be using both Unix and Windows)? And are you using a Perl that handles a lib tree with separation by platform for the binaries - AFAIK, ActivePerl doesn't, for example. * 1) Could please let

Re: CPAN install directory usage

2009-07-01 Thread Kenneth Ölwing
The Tk package is installed in the vob release of perl. Please check the following path: /vobs/vob_verif/tools/Perl/lib/Tk.pm You're using ClearCase, and this is a Unix path, and further, it is a path only relevant after a 'cleartool setview' has been done. Neither the path nor setview

Re: Beginner Problems working with spaced filenames and directories on win

2008-09-24 Thread Kenneth Ölwing
Hmm, sorry if I steal your thunder :-), but have you looked at File::Find? And the ton of extras for variations, like File::Find::Object, ::Wanted, ::Closures, ::Rule, ::Parallel, ::Node etc etc etc...I would be surprised if you didn't find (no pun intended ;-) something useful in that bunch.

Re: Example of using use File::Remote to copy files from one Windows machine to another

2008-04-01 Thread Kenneth Ölwing
I need to copy files from a remote Windows machine to the Windows machine were the Perl script is executing. As always, reading the docs is useful. The notes section (at least on the 1.17 version on CPAN) says 'File::Remote only works on Unix'. Also, in the next paragraph it says 'The main

Re: Happy 20th Birthday, Perl!

2007-12-19 Thread Kenneth Ölwing
Har den äran, Perl! ken1 Foo JH wrote: Sheng Ri Kuai Le Perl! Howard Maher wrote: I don't know about you all, but I think that we all should take a moment to celebrate Perl's 20th birthday today... It just seems so not long ago, December 18th, 1987... a tiny little one was born of

Re: Reading separate lines of mac file on windows box

2007-12-17 Thread Kenneth Ölwing
$/=\015; You're giving it a (reference to a) number (hence the fixed size buffer); instead give it the character: '$/=\r' should work. ken1 ___ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe:

Re: Help with USB Printer

2007-12-10 Thread Kenneth Ölwing
I have written a PERL/Tk program to take input from a user and to print a report back based on the data. It works fine on my Windows XP system with an HP Laserjet 6MP connected to a standard parallel port (LPT1). When I copy the program to a different computer running the same OS but

Re: Start the browser as background process

2007-11-22 Thread Kenneth Ölwing
system \C:\\Programme\\Internet Explorer\\iexplore.exe\ $website; wait, until the browser window is closed. Some: Look into Win32::Process (I believe it's called). The CreateProcess call has flags to control this. Crude, but since you're using 'system', run cmd.exe and there use the

Re: Getting the process information on windows !!

2007-08-03 Thread Kenneth Ölwing
The states that are supported by the ps in *nix environment are (using the s option of ps command): DUninterruptible sleep (usually IO) RRunning or runnable (on run queue) SInterruptible sleep (waiting for an event to complete) TStopped, either by a job control signal or

Re: Getting the process information on windows !!

2007-08-03 Thread Kenneth Ölwing
I am trying to build a script for finding the state of the processes that are running in the windows environment. Basically , an attempt to make some thing synonymous to ps command of the *nix for finding the state of processes. Does any body has any clue about a package which is