North, Wesley J writes:
First off, thanks for all the input, I installed the Tk module and have
created a couple of cool little widgets. I am just about to go searching for
some additional help, but I thought I would kick this out to the group. What
part of Tk, if any, would I use to
I want to determine if a particular exectuable file is
available/exists within the path. Is there a switch or function
available to with/instead of the -x test? I have an example to
illustrate the results of what I want to do with a simpler approach.
If you want it nicely packaged you
Hello Group
I have the following setup when I run my code:
#!/usr/local/bin/perl -wT
# Limit the path the script can run under.
$ENV{PATH} = /bin:/usr/bin;
use strict;
use CGI qw(:standard);
use CGI::Carp qw(fatalsToBrowser);
My question regards $ENV{PATH} = /bin:/usr/bin;
I
Is there a 'native' perl suite for messaging and action handling
at the managed node? There are command-line interfaces but they are
clumsy to use. Any info appreciated.
--Steve
___
ActivePerl mailing list
[EMAIL PROTECTED]
Hi,
I am currently running activeperl build 522 . I would like to test build
629.
I am running perl on NT4.0 sp6a and IIS4.0 .
Is it possible to install the new build without affecting the earlier build.
Can I just create a new web site on my IIS and relate the new build with
this site
leaving
Jenda,
WOW.. ask and you shall receive. Thanks!
Nice work. It is almost as if you just created that as if I wrote that
email?
I was looking at the module and I was wondering ... in the following routine
-
if ($^O =~ /MSWin32/i) {
foreach $extn (@extn) {
-e $dir.'/'.$file.$extn and
... meant to include this in previous email
Example:
D:\test_file.pl
Path to perl is : C:\Perl\bin\/perl.EXE
D:\test_file.pl
Path to notepad is : C:\WINNT\system32/notepad.EXE
John
Jenda Krynicky wrote:
I want to determine if a particular exectuable file is
available/exists
Jenda,
What do think about these changes I propose to your module?
I didn't realize it was so easy to write perl module?
Man, I love Perl.
foreach $dir (@dirs) {
$dir = '.' unless $dir;
chop $dir if $dir =~ /\\$|\/$/; # Change 1 - strip off ending slash if it
exists
if ($^O =~
Even better, use the File::Spec::* modules to get portable file
handling routines:
use File::Spec;
foreach $dir (@dirs) {
$dir = File::Spec-curdir unless $dir;
$dir = File::Spec-canonpath( $dir );
if ($^O =~ /MSWin32/i) {
foreach $extn (@extn) {
-e File::Spec-catfile(
Jenda,
WOW.. ask and you shall receive. Thanks!
Nice work. It is almost as if you just created that as if I wrote that
email?
No. I only dug it up in my old files.
I was looking at the module and I was wondering ... in the following
routine -
if ($^O =~ /MSWin32/i) {
foreach
Actually,
I would bet that the other instances of detecting the OS could be resolved
using the File::Spec module as well?
I have attached Jenda's Which.pm Version 0.3
John
John Pataki wrote:
Jenda,
I used the routine proposed by Jeremy in his reply and that also works very
nicely.
I would to know hou to get mail with pop3client, and then how to decode
each mail
with their attachments.
any response will be welcome
thanks in advance
Martin DomÃnguez
___
ActivePerl mailing list
[EMAIL PROTECTED]
Through a Perl script, I am attempting to access a remote device that
resides in a different NT domain. As such, I need to pass through the name
and password of a valid Administrator in that domain. Through the various
GUI WMI/CIM tools, I can provide these credentials and connect to the
John Pataki ([EMAIL PROTECTED]):
Actually,
I would bet that the other instances of detecting the OS could be resolved
using the File::Spec module as well?
I have attached Jenda's Which.pm Version 0.3
I'm not sure what you mean John.
I suggested File::Spec to portably handle file
Jeremy,
Is there a method in the File::Spec module, that returns the path directories in
a list no matter what the OS? Is so, wouldn't the File::Spec module, be able to
handle the need for the use of the $splitchar and the need to build the list of
dirctories via a loop? Perhaps there is no
15 matches
Mail list logo