Re: calling Adobe to print a PDF

2003-01-08 Thread T.P.Afamdi Okeke
Thanks guys with everyone's help combinedwe were able to getting going over here (on windows 2000) withtwo simple statements: @sysargz = ("\"C:\\PROGRAM FILES\\ADOBE\\ACROBAT 4.0\\READER\\ACRORD32.EXE\" /t $filename $server\\$printer"); system(@sysargz); Thanks again! :) From: michael

Variables

2003-01-08 Thread Sabherwal, Balvinder \(MBS\)
Hi folks, I wanted to know if it is ok to do something like $var = substring($var,10,20); in the perl script. I am trying to save the use of another variable in my script. If not, is there any other better method of doing this?? Thanks for your inputs.

Re: Variables

2003-01-08 Thread Jenda Krynicky
From: Sabherwal, Balvinder \(MBS\) [EMAIL PROTECTED] I wanted to know if it is ok to do something like $var = substring($var,10,20); in the perl script. I am trying to save the use of another variable in my script. Yes this is all right. Jenda = [EMAIL PROTECTED] ===

RE: Problem with perl and system calls

2003-01-08 Thread Matthew Walkup
Sorry for cross-posting, but Im unsure if this is a ActivePerl or general Win32 perl issue. Accourding to perldoc -q how can i capture stderr: With system(), both STDOUT and STDERR will go the same place as the script's STDOUT and STDERR, unless the system() command

RE: how to install GD module in perl 5.8 for windows

2003-01-08 Thread Marc Weinmann
Title: RE: how to install GD module in perl 5.8 for windows If it were available as a PPM download for ActivePerl 5.8 you'd just do 'ppm' and then 'install GD' to install it from activestate's ppm archive.(which is the default/preconfigured repository in PPM) GD uses XS stuff, so its not

File::List issue

2003-01-08 Thread Tony Bass
Hi Everyone, I am trying to use the File-List 0.3.1 module to get a directory listing of a group of subdirectory's that contain a certain file. My problem is that I don't know in advance the case of the file name. According to the doc's File::List is supposed to take a regex argument for the

RE: File::List issue

2003-01-08 Thread Tariq Dennison
Tony: An alternative approach (and one of my favorites in Perl) is to loop through the files in a directory using: while($filename = glob($directory_one/*.extension $directory_two/*.txt)) { # Do something with each $filename } Note that this matches on traditional shell wildcards, not

RE: File::List issue

2003-01-08 Thread King, Jason G
Tony writes.. I am trying to use the File-List 0.3.1 module to get a directory listing of a group of subdirectory's that contain a certain file. My problem is that I don't know in advance the case of the file name. According to the doc's File::List is supposed to take a regex argument for the

perl base

2003-01-08 Thread kris
hi, i have a huge problem. I do a linux patch and install a new one to a second hd. my installscripts are in perl. But when i first step into the sytsem ( using chroot ) there is no perl installed ( of course ) know i have two choices: first coping the base binarys to the target system

perl5 script port to ActivePerl 5.6?

2003-01-08 Thread kimac
I need to port some perl5 scripts from UNIX to ActivePerl 5.6 on NT. The scripts are just basic perl, nothing fancy. Does ActivePerl 5.6 support most of the basic perl5 statements? Can the scripts still use the /usr/local/bin/perl in their header ? Kim

Re: perl5 script port to ActivePerl 5.6?

2003-01-08 Thread kris
The source is not a problem ( if you using plainperl ). be shure you have all the modules you use in the script ( some modules are OS-oriented ). The #!/usr/local... is ok, because win ignores it (*normaly*) but if you add some win things it is easyer for you to be shure that is my win

Re: perl5 script port to ActivePerl 5.6?

2003-01-08 Thread $Bill Luebkert
[EMAIL PROTECTED] wrote: I need to port some perl5 scripts from UNIX to ActivePerl 5.6 on NT. The scripts are just basic perl, nothing fancy. Does ActivePerl 5.6 support most of the basic perl5 statements? Can the scripts still use the /usr/local/bin/perl in their header ? All of the