> -Original Message-
> From: [EMAIL PROTECTED] [mailto:perl-
> [EMAIL PROTECTED] On Behalf Of Arnold Wiegert
> Sent: June 11, 2004 3:05 PM
> To: Perl-Win32
> Subject: TK update via CPAN (&Spinbox)
>
> I just tried to update my Perl/Tk via CPAN.
>
> I am running ActiveState perl 5.8.3 wi
Hi chris,
sorry for the cause of alarm. (i did not know about this)
let me state that, this is for my private network.
my reason, is all my ip's change from time to time, because they are
connected to a router with a built in dhcp server.
I am working on a client/server app, and i need to keep tra
"bruce" <[EMAIL PROTECTED]> wrote:
hi...
need to know if there's a quick regex to remove everything after a given
character.
ie
$foo = http://ww.rr.bb/cat/dog/index.html
or
$foo = http://ww.rr.bb/cat/dog/ball/abc.html
i'd like to know how to remove everything after the last "/"...
Not a regex, but
This is your offending line.
system ('BAT2EXEC.COM $file') # $file contains the batch file(s) name.
You might want to try this if you can't figure out what is wrong with that
line.
if($file =~ /(.*).bat/) {
system('RENAME', "$file", "$1.exe");
}
-Original Message-
I just tried to update my Perl/Tk via CPAN.
I am running ActiveState perl 5.8.3 with Win32 0.22 and Tk 800.024 and
was trying to use the Spinbox widget. Seems it can't be found.
The latest doc on CPAN say it is part of Tk 800.027. So I fired up CPAN
and tried to install the latest version. After
I don't completely understand why we need to convert all
these. I have a solution though "I think". My below snippet
goes into a directory where all the .bat files and the
bat2exe.com utility is. How can I as I loop through all the
files automatically, and the utility to execute them ..
Something l
On Fri, 11 Jun 2004 12:05:07 -0700, you wrote:
># Ensure year is four digits
> if ($year <= 1900)
> {
> if ($year > 05)
> {
> $year += 1900;
> }
> else
> {
> $year += 2000;
>
Hi Barons,
Forgot to cc the list so we don't keep going on with this OT post:
This really has nothing to do with Perl but a quick Google search
shows this shareware program:
http://www.bdargo.com/info/batcompp.htm
My feeling is that Barons is more interested in compiling the bat
files than actu
[EMAIL PROTECTED] [EMAIL PROTECTED] writes:
> Actually I need to convert all .bat files to .exe files..
It has to be asked: "Why?"
I'm at a loss to see the reasons behind the percieved
need for such an action. By the way, not all .BAT actions
could successfully be done via compiled code (EXE or
Actually I need to convert all .bat files to .exe files..
On Fri, 11 Jun 2004 14:29:28 -0400
[EMAIL PROTECTED] wrote:
> Are u trying to convert .bat to .cmd files, not .com
> files?
>
> - Original Message -
> From: Mike Jackson <[EMAIL PROTECTED]>
> Date: Friday, June 11, 2004 12:40 pm
Are u trying to convert .bat to .cmd files, not .com files?
- Original Message -
From: Mike Jackson <[EMAIL PROTECTED]>
Date: Friday, June 11, 2004 12:40 pm
Subject: Re: Convert .bat files to .com
> .com files are fundamentally different to .bat files: a .bat file
> holds a list of comma
Hello,
I would like to write a Perl script
with the following functionalities.
Detect
MAC addresses connected to each port of our switches.
Shutdown
the port if the MAC address is not on a specific list.
Could anybody help me on this?
Any help would be apprecia
.com files are fundamentally different to .bat files: a .bat file holds a list of
commands to be executed by the shell/command interpreter. a .com file is a compiled,
native machine code binary program. To convert one into the other, you would have to
write a program that creates a .com file tha
"Perl Developer" <[EMAIL PROTECTED]> wrote:
You can always use Date::Format. If you need to convert it from the string
first ("June 02, 2004"), you might want to look into Date::Manip -- namely
the ParseDate function.
Here is the URL on cpan:
Date::Manip (ParseDate function)
http://search.cpan.o
Change "Net::SMTP" to "libnet"
- Original Message -
From: Jeremy Junginger
To: [EMAIL PROTECTED]
Sent: Friday, June 11, 2004 10:13
Subject: Perl and Net::SNMP
Hey guys,
How do you get the Net::SNMP module installed on a windows machine running
PERL 5.8+?
I'm trying the following:
per
Hey guys,
How do you get the Net::SNMP module installed on a windows machine running
PERL 5.8+?
I'm trying the following:
perl -MCPAN -e shelll
cpan> install Net::SNMP
But when I attempt to use the Net::SNMP module, I'm getting the following
failure:
Can't locate net\snmp.pm in @INC (@INC con
Hello,
I am getting CGI error
CGI Error
The specified CGI application misbehaved by not returning a complete set of
HTTP headers.
This used to work prefectly file on IIS5 and perl 5.0 version.
Now we upgraded our server to IIS6 and perl5.8
My scripts are throwing the error.
Is there anything
I'm not sure if this will help, but check the script at the bottom of
this link. I believe that it runs on the client side and assumes that
Outlook is open. There are nice tips at least for connecting to Outlook
and running the necessary keystrokes.
http://perlmonks.thepen.com/185757.html
After
18 matches
Mail list logo