Re: installing CPAN modules with ActivePerl

2001-02-13 Thread Aldo Calpini

Bennett Haselton wrote:
> What is standard procedure for ActivePerl users to install a
> module from CPAN, if the module doesn't come with a .ppd file?
> I have ActivePerl build 623 of perl 5.6.0, on Windows 98.

build your own ActivePerl!
if you have Visual C++, download the AP623 source tree and compile
it. it's really easy, and the produced Perl will be able to
successfully download and compile the vast majority of CPAN modules
with the usual procedure (perl Makefile.PL, nmake, nmake test, nmake
install).


cheers,
Aldo

__END__
$_=q,just perl,,s, , another ,,s,$, hacker,,print;


___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users



RE: newbie alphanumeric counter

2001-02-13 Thread Peter Eisengrein

the other way to do it would be to have a counter increase from 0 to 255 (or
whatever the range you define) and unpack/pack each into an ascii character.

-Original Message-
From: Mark Meyer [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 12, 2001 11:09 PM
To: [EMAIL PROTECTED]
Subject: Re: newbie alphanumeric counter


>>

Howdy,
to test control panel displays
I wanted to make a alphanumeric counter,  eg I want to count from 1 to z
using both upper and lower case.
<<

hi..

i am sort of confused as to what you are doing...

wouldn't it be better to just work through your loop and then map the look
counter back to something else ..maybe a value in a hash?  then you can use
the loop counter as a key into the hash table.

mark



___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users
___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users



RE: Winnt: How to set the time on a remote machine

2001-02-13 Thread Steven Manross

To my recollection, I do not believe that Time functions are remotely
available.

However..

The NT Resource Kit has a utility called timesrv.exe (I do not know of any
W9X solutions).

This is an NT Service that syncs up via a "Master" Time Server (A server you
specify to run as Master) or an NTP server on the net N times a day.. (W2K
has this type of functionality already installed - W32Time)  

So, to a certain degree, your systems are running pretty close to what some
of the Atomic clocks on the NET think time is (Providing your Time Zone is
set up correctly)...  

You can set up 1 or 2 servers in your network to contact the NTP servers on
the net and the rest of your systems contact your primary or secondary time
servers for time updates...

This is controllable via the ini file that is distributed with the EXE or
via the registry entries in the service's Parameters subkey.

The documentation that comes with this util is okay at best.

Installing the service is where Perl comes in..

Use something Like Win32::Lanman::CreateService to set up the service
remotely..

Hope this helps...

Steven 

-Original Message-
From: Loesche, Ralf [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 13, 2001 7:26 AM
To: [EMAIL PROTECTED]
Subject: Winnt: How to set the time on a remote machine


I would like to control the time on a couple of NT machines from one central
NT machine. How would I do this ? 
The NET command allows me to set the time on the local machine but not on a
remote machine.
Is there a Perl modul that can do this ?
 
Thanks
Ralf 
___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users
___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users



RE: Text obfuscating

2001-02-13 Thread Jeremiah Fletcher

I haven't tried it yet but, reading through it, I thought it was sort of
tied to the site.  Does it give you control of the messages that it sends (I
don't think I'd want it to look like spam)?  But, either way, I'll
definitely be testing it out soon. -Thanks


-Original Message-
From: Mark Thomas [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 13, 2001 10:01
To: Jeremiah Fletcher
Subject: RE: Text obfuscating


Have you tried the module I wrote? Just name it Spamcode.pm
and write a script like my sample. Let me know if you do 
that.

- Mark.
 
> That's pretty cool.  Yeah, mail is exactly what I was 
gonna use this with,
> too.  I've got a working script now that uses the 'tr' 
function to switch
> chars around but, this is getting pretty fun. I think I'm 
gonna upgrade to a
> more complex algorithm, next.  Or maybe I'll try 
something like what
> spammimic is using where words become other words and the 
message actually
> looks like something else. 
> 
> Anyway, thanks again for your help.
> 
> -jer
> 
> -Original Message-
> From: Mark Thomas [mailto:[EMAIL PROTECTED]]
> Sent: Monday, February 12, 2001 21:17
> To: [EMAIL PROTECTED]
> Subject: RE: Text obfuscating
> 
> 
> 
> Jeremiah Fletcher [mailto:[EMAIL PROTECTED]] wrote:
>  
> > I'm mostly just playing around with this but, does 
anyone 
> > know a script (or module) that can transpose a string
> > into some nonsense string and then
> > change it back to the original?  I thought of taking 
each 
> > character in the string and changing it to another
> > character without it being too obvious how
> > it got to that "something else."  This is a sort of
> > simple encryption script.
>  
> Heh. This question amuses me because I had just read 
about an interesting
> site ( www.spammimic.com  ) 
that encodes text into
> spam (really!) and decodes it too.
>  
> It is both amazing and hilarious. On the train home 
today, I wrote a module
> that interfaces with the site. Sample usage:
> 
> ---
>   #perl -w
>   use Spamcode;
>  
>   $text = Spamcode::encode('hello');
>   print $text;
>   print "\n\n";
>  
>   $response = Spamcode::decode($text);
>   print "$response\n";
> ---
>  
> Here's the module:
>  
> ---
> #!/usr/local/bin/perl -w
> # spamplify.pl
> # Obfuscate/Deobfuscate short phrases, using spammimic.com
> package Spamcode;
> use strict;
> use LWP::UserAgent; # for grabbing web pages
> use HTML::TokeParser; # for easy HTML parsing
> sub encode ($) {
>  my $input = shift;
>  $input =~ s/([^a-zA-Z0-9_.-])/uc sprintf("%%%02x",ord
($1))/eg;
>  my $ua = new LWP::UserAgent;
>  my $req = new HTTP::Request
('POST','http://www.spammimic.com/encode.cgi');
>  $req->content_type('application/x-www-form-urlencoded');
>  $req->content("submit=Encode\&plaintext=$input");
> my $res = $ua->request($req);
>  die "Failed to access encode page" unless ($res-
>is_success);
>  my $page = $res->content;
> my $parser = HTML::TokeParser->new(\$page);
>  my $output;
>  while (my $token=$parser->get_tag("textarea")){
> $output = $parser->get_trimmed_text
("/textarea") if
> ($token->[1]{name}=~/cyphertext/i);
>  }
>  return $output;
> }
> sub decode ($) {
>  my $input = shift;
>  $input =~ s/([^a-zA-Z0-9_.-])/uc sprintf("%%%02x",ord
($1))/eg;
>  my $ua = new LWP::UserAgent;
>  my $req = new HTTP::Request
('POST','http://www.spammimic.com/decode.cgi');
>  $req->content_type('application/x-www-form-urlencoded');
>  $req->content("submit=Decode\&cyphertext=$input");
>  my $res = $ua->request($req);
>  die "Failed to access encode page" unless ($res-
>is_success);
>  my $page = $res->content;
>  my $parser = HTML::TokeParser->new(\$page);
>  my $output;
>  while (my $token=$parser->get_tag("input")){
> $output = $token->[1]{value}
>   if ($token->[1]{name}=~/plaintext/i);
>  }
>  return $output;
> }
> 1;
> __END__
>  
> --
> Mark Thomas
> [EMAIL PROTECTED]  
> 
> 
> 

___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users



Winnt: How to set the time on a remote machine

2001-02-13 Thread Loesche, Ralf

I would like to control the time on a couple of NT machines from one central
NT machine. How would I do this ? 
The NET command allows me to set the time on the local machine but not on a
remote machine.
Is there a Perl modul that can do this ?
 
Thanks
Ralf 
___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users



RE: File tests

2001-02-13 Thread Jeremiah Fletcher

I've had some problems with -f (and -e for that matter) in the past.  It
seems random but I'm sure there's some reason for it.  Just haven't figured
it out yet.  In the meantime, I usually just do a conditional check (-f "the
file" OR -e "the file") and then look into any dir/file security that might
be keeping you out (I'm not even sure that's possible but, it's worth a
shot).

-Original Message-
From: Sisyphus [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 12, 2001 18:34
To: [EMAIL PROTECTED]; Justin Ko
Subject: Re: File tests


Hi,
'-f' looks only for plain files. For files of all types use '-e'.

Cheers,
Rob
Visit our website at http://www.kalinabears.com.au
- Original Message -
From: Justin Ko <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, February 13, 2001 6:54 AM
Subject: File tests


>
> Hey everyone,
> Has anyone noticed weird behavior of the file test ( -f ) in ActivePerl
> v5.6.0.620
> Maybe it's just because I am new to this whole perl thing, but it doesn't
> seem to be actually testing for files. I'd pass it some text files and
some
> MP3's, and it wouldn't return true for them. What am I doing wrong?
>
>
> -Justin Ko
>
>
> _
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
>
> ___
> Perl-Win32-Users mailing list
> [EMAIL PROTECTED]
> http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users

___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users
___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users



RE: installing CPAN modules with ActivePerl

2001-02-13 Thread bowman

>A friend suggested getting cygwin32 (sort of a UNIX shell for Windows) and
>running their version of "make".  I tried that about a year ago and wasted
>two days on it before finding that cygwin32 doesn't work on Windows 9x.

Cygwin works on Win9x. You might try rewriting the make file in nmake
syntax.






___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users



Re: Path in autoexec.bat

2001-02-13 Thread Sisyphus

Hi Will,
There was no semi-colon at the end of the line - but I don't think one is
required there. However, I did notice that there was one white space
occurring before 'PATH'. Could that be it ? Are you telling me that the
'PATH' specification should be sufficient and that I should not need the
'SET PATH' setting ?
DOS 3.3 ? I've got 4.something.  ( I believe they are both fully documented
in the 'Dead Sea Scrolls'. )

Cheers,
Rob
Visit our website at http://www.kalinabears.com.au
- Original Message -
From: Will W <[EMAIL PROTECTED]>
To: Sisyphus <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Wednesday, February 14, 2001 12:59 AM
Subject: Re: Path in autoexec.bat


> This seems more OSish than Perlish, but there is certainly a tie to
> perl...
>
> Back in a younger day, when DOS v3.3 ruled, we all found that appending
> to PATH was dicey since whether it worked depended on whether the last
> guy to do so put a terminating ";" in place. Otherwise, silent failures.
> It was easier to prepend with an assured ";" at the tail of our own
> addition than to use the batch file tools to determine whether a
> trailing ";" was present (nobody wanted to waste precious bytes with
> unnecessary ";"s-- we only had 127 chars for the entire path statement,
> which was tight on those early networks).
>
> Did you check whether the PATH causing the failure has semicolons in all
> the right places? You may yet have other problems in your configuration.
>
> - Original Message -
> From: Sisyphus <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, February 13, 2001 4:36 AM
> Subject: Path in autoexec.bat
>
>
> > Hi,
> > When I first installed perl on my PC I was unable to run perl scripts
> by
> > entering at the prompt:
> > perl somefile.pl
> > Instead I had to specify the path to the perl interpreter. So, to run
> > somefile.pl I would enter:
> > \perl\bin\perl somefile.pl
> >
> > This was the case, even though the 'PATH' variable contained the
> setting
> > 'C:\PERL\BIN;'
> >
> > It wasn't until I added 'SET PATH=C:\PERL\BIN;%PATH%' to the
> autoexec.bat
> > file that I was able to run scripts by entering:
> > perl somefile.pl
> >
> > Can someone explain this to me - why was the 'PATH' setting, by
> itself,
> > unable to provide the functionality I was after ? What functionality
> does it
> > provide ?
> > And does that 'PATH' setting (in regards to perl) currently serve any
> useful
> > purpose now that 'SET PATH' is specified ?
> > Things are now working fine - but these questions still bug me.
> >
> > I should add that the scripts I was running were not being run from
> the root
> > directory (ie. I'd first 'cd' to the directory in which the scripts
> were
> > saved, and run them from that directory). I mention that in case it's
> > relevant.
> >
> > Cheers,
> > Rob
> > Visit our website at http://www.kalinabears.com.au
> >
> > ___
> > Perl-Win32-Users mailing list
> > [EMAIL PROTECTED]
> > http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users
> >
>

___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users



Help on Apache::DBI

2001-02-13 Thread Pires Claudio

Hi everybody! I am using Apache::DBI for a project... I know that Apache DBI
keeps database handles between sessions so I don't have to worry on call to
disconnect method... Is this true?
I am confused because I get the following message in the apache logfile in
every call to my script:

Database handle destroyed without explicit disconnect at
/usr/local/lib/perl5/site_perl/5.005/Sample/AuthCookieHandler.pm line 73.

My question is: should I call to disconnect method anyway? what will happen
with the conection to database? will be closed or Apache::DBI ignores this
method?

Thanks a lot!

Claudio

___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users



Re: Path in autoexec.bat

2001-02-13 Thread Will W

This seems more OSish than Perlish, but there is certainly a tie to
perl...

Back in a younger day, when DOS v3.3 ruled, we all found that appending
to PATH was dicey since whether it worked depended on whether the last
guy to do so put a terminating ";" in place. Otherwise, silent failures.
It was easier to prepend with an assured ";" at the tail of our own
addition than to use the batch file tools to determine whether a
trailing ";" was present (nobody wanted to waste precious bytes with
unnecessary ";"s-- we only had 127 chars for the entire path statement,
which was tight on those early networks).

Did you check whether the PATH causing the failure has semicolons in all
the right places? You may yet have other problems in your configuration.

- Original Message -
From: Sisyphus <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, February 13, 2001 4:36 AM
Subject: Path in autoexec.bat


> Hi,
> When I first installed perl on my PC I was unable to run perl scripts
by
> entering at the prompt:
> perl somefile.pl
> Instead I had to specify the path to the perl interpreter. So, to run
> somefile.pl I would enter:
> \perl\bin\perl somefile.pl
>
> This was the case, even though the 'PATH' variable contained the
setting
> 'C:\PERL\BIN;'
>
> It wasn't until I added 'SET PATH=C:\PERL\BIN;%PATH%' to the
autoexec.bat
> file that I was able to run scripts by entering:
> perl somefile.pl
>
> Can someone explain this to me - why was the 'PATH' setting, by
itself,
> unable to provide the functionality I was after ? What functionality
does it
> provide ?
> And does that 'PATH' setting (in regards to perl) currently serve any
useful
> purpose now that 'SET PATH' is specified ?
> Things are now working fine - but these questions still bug me.
>
> I should add that the scripts I was running were not being run from
the root
> directory (ie. I'd first 'cd' to the directory in which the scripts
were
> saved, and run them from that directory). I mention that in case it's
> relevant.
>
> Cheers,
> Rob
> Visit our website at http://www.kalinabears.com.au
>
> ___
> Perl-Win32-Users mailing list
> [EMAIL PROTECTED]
> http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users
>

___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users



Re: Net::SSH Help?

2001-02-13 Thread Steven Wadding

At 11:56 AM 2/13/01 +, Martin Moss wrote:
>Has anybody had any experience with using Net::SSH?
>
>Am trying to implement a CVS system (was going to use VCS::CVS), but just
>been told we're only allowing ssh across all our servers, so I need to 
>find
>a replacement for telnet and FTP. So basically I'm looking for any scripts
>or advice on using perl to send ssh/scp commands.

I know there's also a Net::SCP module, which needs Net::SSH to be 
installed.  I expect to have to use it soon, but haven't got that far 
yet.

Steve W.

___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users



RE: Sending mail (Sorry for the long post)

2001-02-13 Thread Trevor Joerges
Title: RE: Sending mail (Sorry for the long post)





Ron,
It looks like the ISPs script is simply storing the different variables into a hash. Depending on how the rest of the mail script is reading and using these hash values you may need to escape the @. If you ISP is like mine they also limit the use of CGI scripts and the mail sending functionality they provide is all you can use.

Cheers,
Trevor J. Joerges


$_=q;$TTnzyUUifyIIz!;;s;z;xdl;g;
y;x;b;;y;B-x;A-w;s;y;y; ;;print;




-Original Message-
From: Ted S. [mailto:[EMAIL PROTECTED]]
Sent: February 12, 2001 10:59 PM
To: Ron Pero
Cc: [EMAIL PROTECTED]
Subject: Re: Sending mail (Sorry for the long post)



At 2/11/01 9:43:00 PM, you wrote:
>Not sure this is it, but try changing
>To: [EMAIL PROTECTED]
>to
>To: tedstennis\@bigfoot.com
>
>Depending on how the script parses the template, it could consider @bigfoot
>to be an array unless you escape it.


First, I want to apologise for taking so long to respond, but as always, I wanted to wait 
several hours to see if perhaps the email from Tripod is simply slow in getting to my box.  
Still no emails from the script I'm running.  :-( 


I thought about that after posting, and so changed my script slightly:



my %variables;


$variables{email} = $CGI->param('email');
$variables{name} = $CGI->param('name');
$variables{comments} = $CGI->param('comments');


#here I added:


$variables{mailto} = '[EMAIL PROTECTED]';


Since it's in a single quote, I shouldn't have to escape the @, right?  I changed the mail 
template to read "To: $mailto".  But this still doesn't help. 


Would it help anybody on the list if I include the code of TripodMail.pm? 


Ted S.
[EMAIL PROTECTED]
My cat likes to sit on my lap while I'm at the computer.
If only I could get her to hack Perl code for me.






___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users





RE: DBI:Oracle tnsnames.ora

2001-02-13 Thread stanley . g . martin

I believe that one of the problems with using Oracle on NT is that the ORA_HOME is in 
the registry.  Whereas in UNIX you can set it in the Perl script with:

# Location of the tnsnames.ora file you want to use
$ENV{'TNS_ADMIN'} = "/home/oracle/admin/sqlnet/tnsname.dir";

# ORACLE_HOME
$ENV{'ORACLE_HOME'} = "/home/oracle/product/8.0.5";




Stanley G. Martin
Midwest Consulting Group
Sprint Platform & Strategy Mgmt
913.315.3133
[EMAIL PROTECTED]

 -Original Message-
From:   jschell [mailto:[EMAIL PROTECTED]] 
Sent:   Monday, February 12, 2001 3:17 PM
To: Robert.Jones2
Cc: jschell; activeperl; perl-win32-users
Subject:Re: DBI:Oracle tnsnames.ora

Jones Robert Contr 81 CS/SCK wrote:
> 
> OS: Windows 2000 & NT
> Perl 5.005 activestate build 522
> DBI [1.13.1] Database independent interface for Perl
> 
> On our systems we run Oracle 7.0, 8.0 and 8.1 servers.  Each of these has
> it's own tnsnames.ora file for hostnames that the Oracle driver queries.
> 
> 1) Which tnsnames.ora will Oracle default to using DBI:Oracle ?
> 
> 2) How can you change the tnsnames.ora file being referenced by DBI:Oracle ?
> 

I would guess that 8.1 will access 8.0 and 7.0, so I would probably set
it up that way.

If that doesn't work, I would guess that setting the PATH env var
correctly, before running each script, would do the trick.
___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users



Re: File tests

2001-02-13 Thread $Bill Luebkert

Lee Goddard wrote:
> 
> perldoc -f -f says:  -f  File is a plain file.
> So, it won't see the binary MP3s.

I think binary files still fall under the plain/regular file category.
Links, pipes, dirs, special files and sockets don't.

-- 
  ,-/-  __  _  _ $Bill Luebkert   ICQ=14439852
 (_/   /  )// //   DBE Collectibles   http://www.todbe.com/
  / ) /--<  o // //  Mailto:[EMAIL PROTECTED] http://dbecoll.webjump.com/
-/-' /___/_<_http://www.freeyellow.com/members/dbecoll/
___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users



Re: Perl App or something similar .. . . . .

2001-02-13 Thread Alexander F. Gutfeldt

On Mon, 12 Feb 2001,  Jan Dubois wrote:

>>On that subject, does PerlApp create smaller executables than Perl2Exe?
>
>No, they are about the same size.  PerlApp already has the -small and
>-tiny option that you only get with the Pro version of Perl2Exe.

AFAIR Perl2Exe produces (automagic) a bunch of DLLs for the
modules/packages I require/use in my projects when I use the -tiny
option.

How do I achieve a similar result using PerlApp? 


___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users



Path in autoexec.bat

2001-02-13 Thread Sisyphus

Hi,
When I first installed perl on my PC I was unable to run perl scripts by
entering at the prompt:
perl somefile.pl
Instead I had to specify the path to the perl interpreter. So, to run
somefile.pl I would enter:
\perl\bin\perl somefile.pl

This was the case, even though the 'PATH' variable contained the setting
'C:\PERL\BIN;'

It wasn't until I added 'SET PATH=C:\PERL\BIN;%PATH%' to the autoexec.bat
file that I was able to run scripts by entering:
perl somefile.pl

Can someone explain this to me - why was the 'PATH' setting, by itself,
unable to provide the functionality I was after ? What functionality does it
provide ?
And does that 'PATH' setting (in regards to perl) currently serve any useful
purpose now that 'SET PATH' is specified ?
Things are now working fine - but these questions still bug me.

I should add that the scripts I was running were not being run from the root
directory (ie. I'd first 'cd' to the directory in which the scripts were
saved, and run them from that directory). I mention that in case it's
relevant.

Cheers,
Rob
Visit our website at http://www.kalinabears.com.au

___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users



Re: File tests

2001-02-13 Thread Lee Goddard

perldoc -f -f says:  -f  File is a plain file.
So, it won't see the binary MP3s.

hth
lee

Justin Ko wrote:
> 
> Hey everyone,
> Has anyone noticed weird behavior of the file test ( -f ) in ActivePerl
> v5.6.0.620
> Maybe it's just because I am new to this whole perl thing, but it doesn't
> seem to be actually testing for files. I'd pass it some text files and some
> MP3's, and it wouldn't return true for them. What am I doing wrong?
> 
> -Justin Ko
-- 

Lee Goddard <[EMAIL PROTECTED]>
-
Perl : XML : XSLT : XHTML / JS : Java

"Post-modernismthe meta-narrative that denies meta-narrative."
   - Cedric Watts, Sussex 1997
___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users



Net::SSH Help?

2001-02-13 Thread Martin Moss

Hi everyone,

Has anybody had any experience with using Net::SSH?

Am trying to implement a CVS system (was going to use VCS::CVS), but just
been told we're only allowing ssh across all our servers, so I need to find
a replacement for telnet and FTP. So basically I'm looking for any scripts
or advice on using perl to send ssh/scp commands.

Regards

Marty


___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users