From: [EMAIL PROTECTED]
It appears that the following unlink is failing on Win2k (Service Pack
3). It did work on Win 2k (sp2) Win NT 4.0.
Have any one seen this?
I am using network setup Active Perl 5.6.1 (Build 633)
$unlink_ccpid = unlink($cc_ppid);
exit (0);
Maybe the file is
From: Administrador Internet | Intranet ESSAL S.A. [EMAIL PROTECTED]
Is there a way to maintain one variable after the script (app) has
finished? understood to me? i mean that this variable i can invoke it
in an other script, executed after the first?
You have to write it somewhere (to a file
From: Trainor, Nick [EMAIL PROTECTED]
Newcomer to the world of Active Perl 5.8. Does this
perlcc utility work? Did I not install some missing libs? Any help
appreciated.
From the docs:
The code generated in this way is not guaranteed to work.
The whole codegen suite
From: jon sof [EMAIL PROTECTED]
i have the following function call
$filename_winword=C:/Program Files/Microsoft
Office/Office/WINWORD.EXE;
$result-{DOCUMENT_NAME}= the filename from the database.
system (start, ,$filename_winword,/n ,
docs/$result-{DOCUMENT_NAME});
You really should
From: jon sof [EMAIL PROTECTED]
Perl is that same. I tried system(start,$result-{DOCUMENT_NAME})
and it seems to work, however under win2k it doesn't as fas as on an
win98 system.
Obviously, there are some changes between these systems concerning the
Dos Shell.
Actually not. In this case
From: intertwingled [EMAIL PROTECTED]
Threads are for wussies. Real programmers use processes and
communicate with semaphores. ;-)
Tony
Real programmers use whatever allows them to acomplish the task!
Jenda
= [EMAIL PROTECTED] === http://Jenda.Krynicky.cz =
When
From: Carlos Lopes [EMAIL PROTECTED]
i've unistalled ActivePerl 5.6 and installed ActivePerl 5.8 Build 806
because i've seen on activestate.com that DBI module is already
included on version 5.8, but seems to me that DBI isn't included since
i've got the same problem saying:
Can't locate
From: oscar gil [EMAIL PROTECTED]
Hello everybody,
Can anyone tell me why this simple code does not work?
Job ID=Test
script language=PerlScript
$objFSO = $WScript-CreateObject(Scripting.FileSystemObject);
$objFile = $objFSO-CreateTextFile(test2.txt, ForWriting);
From: Barry Brevik [EMAIL PROTECTED]
OK, I've stumped myself. I wanted to assign 0 to several variables,
except for a single variable that should be set to 1.
Before I knew what I was doing I whipped this code into my editor:
($frow = $ax = $bx = $cx = 0)++;
...and it works as I
From: listmail [EMAIL PROTECTED]
I've been using Net::SSH::W32perl 0.06 originally provided by a repo on
http://www.soulcage.net/ (Scott Scecina) for a few years now. And my
install still works great. Unfortunately this site is down and I can no
longer find that specific version and
From: Michael Ellery [EMAIL PROTECTED]
I've been trying to use Net::SFTP recently, without luck. When I try to
execute a simple fetch with code like:
use strict;
use Net::SFTP;
my $scp = new Net::SFTP(
'SOMEHOST',
user = 'SOMEUSER',
password = 'SOMEPASS',
) or die
From: [EMAIL PROTECTED]
I want to call a Perl script ( assume test.pl ) in VB script
(final.vbs). Is it possible to do this?
If it is, could you please send me a snippet of the code?
Ask in a VB group. I think it had to be done wia the Scripting.WShell
or somesuch object, but I
From: Avraham Shapiro [EMAIL PROTECTED]
I'm crossposting this to Perl and XML listservs since it involves XML parsing
from within Perl.
I'm having trouble parsing a simple bit of XML with XML::XQL::DOM.
Why would anyone want to use DOM to work with XML? I doubt there is
any more wordy and
From: Curtis Leach [EMAIL PROTECTED]
I'm using a Perl 5.8.8 build on a Windows Server platform and I need to
work with XML files.
Is there a preferred module for use when working with XML in Perl? I'm
new to XML I'm just looking for directions to XML modules to look at
so I don't waste
From: zilore mumba [EMAIL PROTECTED]
After brouwsing a lot ofdocumentation I cannot find how to get
yesterday's or tomorrow's date in Perl, like `date --date -1 day
+%Y%m%d` in bash. Is this possible in Perl?
I am making date directories, like 20081203. If I add, I get a problem
at the
From: Patrick Schiess [EMAIL PROTECTED]
can someone of you guys telling me why e.g. this command:
print ([EMAIL PROTECTED] =~ /[EMAIL PROTECTED]/i);
on a system with perl 5.10 does not give me back a matching, as the
same expression gives me back a matching on a perl 5.8.8 system?
From: deane.rothenma...@walgreens.com
I'm almost ashamed to have to post this, because I know this is a newbie
question, and I'm not really one of those any more, but I'm drawing a
blank. Isn't there an easier way to initialize a list of variables, to a
common value, than this:
my ($a,
From: Zarabozo, Francisco \(GE, Corporate\) fzarab...@hotmail.com
I'm getting the Out of memory! error from ActivePerl 5.10 (1003) running
on a box with Intel Core 2 Duo 2.4 Ghz with 4 GB in ram with Windows XP Pro.
I'm using XML::Simple to parse a 120 MB XML file.
Don't. While XML::Simple
From: Dr. Mario Sanchez msanc...@cs.fiu.edu
i *have* to use a hosting service that does not have/allow Mime::Lite so i
am pretty much stuck with the classic sendmail. but i need to send
attachments. the hosting service is godaddy - i mention them not to
denigrate but in case someone else found
I have ActivePerl v5.8.8 build 822 and Windblows Vista Home Premium
with its builtin IIS (but I see the same behaviour under MS Windows
Server 2003) and was using the following to print the CGI headers:
print HTTP/1.0 200 OK\n if($ENV{'PerlXS'} eq 'PerlIS');
print Content-type:
From: Bill Luebkert dbec...@roadrunner.com
Jenda Krynicky wrote:
How's it going man - long time no talk.
Well, you know :-)
Obviously it's got something to do with the IS version. You should
check for kicks to see what binmode returns (T/F) when you do the :crlf
option on STDOUT.
I did
From: Oeschey, Lars (I/ET-83, extern) extern.lars.oesc...@audi.de
I have to switch databases for some applications, before we had MSSQL,
and now it's oracle. I used DBI::ODBC for this, so I only changed the
ODBC connection to be an Oracle one, and it *should* work. However I
get this error:
From: Oeschey, Lars (I/ET-83, extern) extern.lars.oesc...@audi.de
I'm writing a simple network copy script, but fail at disconnecting an
already connected drive. I got this so far:
snip
use strict;
use warnings;
use Win32::FileOp;
my $user=xx;
my
Yesterday I noticed that by webbased Perl scripts stopped working.
That is the scripts ran OK, but the webserver (IIS7.0 under Windows
Vista SP1) only sent part of the output. Both IE8 and Google Chrome
kept on waiting for the rest of the pare until timeout,
LWP::UserAgent sometimes returned
From: David Evans dev...@monsoon.co.uk
This is my Perl:
*Begin Perl Code*
use DBIx::SQLEngine;
$sqllist1 = IF EXISTS (\nSELECT 1 FROM
INFORMATION_SCHEMA.ROUTINES\nWHERE ROUTINE_NAME = 'GetDriveSize'\nAND
ROUTINE_SCHEMA = 'dbo'\nAND ROUTINE_TYPE =
Premature optimization is the root of all evil!
Are you sure you do need to fiddle with these things? Does it make a
measurable difference?
From: deane.rothenma...@walgreens.com
This may be merely a philosophical debate, but I have a
performance-related question regarding pre-allocation to
Because it's all backwards!
Why is that?
Because it's hard to read.
Why?
Please do not top post!
Francisco Zarabozo
I have thousands of files that I need to analyze with Perl and discard any
duplicates. I also need to implement a way to *not* save on disk any file
that a visitor uploads on
From: Rothenmaier, Deane C. deane.rothenma...@walgreens.com
Question one: I've inherited a program (if it matters, the program's
compiled to an executable, rather than run by the interpreter) that
uses about a dozen different modules and, picky soul that I am, I'd
like to list them in
From: Phillip Richcreek pwrichcr...@gmail.com
I'm going to use a package called Data::Money in place of a similar
module that I had previously used but is no longer available for
downloading/ installing. Data::Money does everything that the other
package does (as far as the features that I am
101 - 129 of 129 matches
Mail list logo