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
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
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
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
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 =
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: 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
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: 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
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: 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
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: 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: 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: 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: 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: 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: [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: 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: 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: 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: 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: 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: 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: 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: 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: 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: [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: Stephen Patterson [EMAIL PROTECTED]
On 07 Jul 03, sharanbas raghapur ([EMAIL PROTECTED]) wrote:
Dear Members, Wanted to know if users can contribute to perl (say
in the form of commonly used subroutines etc.)? If answer it yes,
how does it normally happen?
Yes, thats where all
From: [EMAIL PROTECTED]
Subject:BusinessObjects with perl
I try to pilot a BusinessObjects application using perl on a
WinNT platform.
I would like to open a document, refresh, save, export...
Every example of code related to the topic
From: $Bill Luebkert [EMAIL PROTECTED]
News Portal wrote:
Hi, I'm Dave.
I know you must be very busy, but I hope you can help me with this.
I migrated an app from Linux to Windows2000. Now, some of it runs
and access data from the original MySql database but some code
From: Ron Hartikka [EMAIL PROTECTED]
I have a script that slurps a couple of 10-20 MB files and then
processes them.
On my newish xp laptop, the slurps take around 150 of the 200 sec run
time.
On the oldish HPUX ws the slurps take around 20 of the 500 sec run
time.
So, my UX processor
From: Chhabria, Kavita - Apogent [EMAIL PROTECTED]
Can someone kindly explain me what this piece of perl code is doing
step by step, I am new to Perl and am unable to understand this piece
of code contained within a module.
sub new {
my ( $class, %args ) = @_;
This is a constructor.
From: $Bill Luebkert [EMAIL PROTECTED]
You know, I've never found the need to create a sub embedded in a sub.
Well I did quite often. In (Turbo) Pascal where it did make sense.
(If I remember well.)
In Perl it doesn't. And I think Perl should print a warning if you
ever do it. (Except of
From: [EMAIL PROTECTED]
On 30 May 2003 at 14:56, Jenda Krynicky wrote:
From: [EMAIL PROTECTED]
i trys to re-animate a script that (i suppose) work for me a while
ago an my osx-darwin box. Now, i am sitting on a win32 maschine
and get totally confused. I open a Tcp-Socket to port 25
From: john cesta [EMAIL PROTECTED]
On Thu,
I have been working with Microsoft and they have discovered a thread
that show perlis spiking the cpu in the inetinfo.exe process.
What do you mean by spiking? You mean using the whole CPU power for a
short time? Would you like better if it
From: intertwingled [EMAIL PROTECTED]
Oh, I use Perl to write CGI scripts all the time.
I just don't use CGI.pm, because I think it's a
silly module.
Tony
I agree to a degree. Especialy yhe HTML generation code should have
been in a different module.
What do use?
Jenda
= [EMAIL
From: Ed Bachmann [EMAIL PROTECTED]
I am running AS Perl 5.8.0.805 under Windows 2000 and would like to
install the module, TermReadKey. I think it was once available at
ASPN, but it's not there now. I've requested that ASPN make it
available, but so far no luck. Does anyone know whether the
From: Matthew Keene [EMAIL PROTECTED]
There seem to be quite a lot of modules missing from the PPMPackage
list for the 8xx builds (from
http://ppm.activestate.com/PPMPackages/zips/8xx-builds-only/Windows/).
I'm specifically looking for DBD::Oracle(8), but there are 3448
From: Sidhartha Priye \(local\) [EMAIL PROTECTED]
To: '[EMAIL PROTECTED]' [EMAIL PROTECTED]
Subject:Could not connect to SMTP server using Mail::Sender - Revised
Date sent: Wed, 5 Feb 2003 13:30:23 -0500
What's this? Why did I get
From: Damman Pascal [EMAIL PROTECTED]
From: Damman Pascal [EMAIL PROTECTED]
I am trying to use the runtime library netapi32 (using
Win32::API) to enumerate the groups on a domain. I get the result
ERROR_MORE_DATA and 85 groups returned, so the function works well.
BUT: You have to let
From: Moreno, Javier \(GXS, Softtek\) [EMAIL PROTECTED]
I have browsed through the documentation and through responses to this
list. I always see 'use strict' as a best practice for catching
errors. But I always get a whole lot of them because I usually do not
scope variables, the most I do is
From: Ulf Lowig [EMAIL PROTECTED]
I am having some problem whit Mail-sender using MailFile method to
send attachments. When sending a txt file it's being truncated at the
end of the file. Is this a known problem or am I doing something
wrong???
If I change the file extension to something
From: [EMAIL PROTECTED]
I'm still trying to figure out, how to pass variables to a module... I
looked in every book availible to me, but couldn't find anything. A
main::variable also doesn't work...
I don't think I understand what you want.
Could you give us an example of
From: Geert Storme [EMAIL PROTECTED]
Thank you, $Bill Luebkert [[EMAIL PROTECTED]]!!!
That worked! You are the hero of the day!
Pls have your chance incorporated forever into that defective module.
As for CPAN and ASPN, sorry but here come some harsh words...
How is it possible that
From: Arms, Mike [EMAIL PROTECTED]
Jenda Krynicky ([EMAIL PROTECTED]) wrote:
From: [EMAIL PROTECTED]
Did anyone ever use that Dialog? The problem is, it says it can
only use CSIDL_xxx Constants as Parameter for $rootdir. I'd like
to start browsing in the current script path
From: Hudson T Clark [EMAIL PROTECTED]
Is it possiable to get two pipes working between two threads? or a
thread and the main proccess?
Yes. The problem is that under Windows the select() (the four
parameter form!) works only on socket()s :-(((
Therefore you'll have to use Win32::Semaphore or
From: Arms, Mike [EMAIL PROTECTED]
Jenda Krynicky ([EMAIL PROTECTED]) write:
Mike Arms writes:
Normally we just want to to just start our browsing for
a directory from a given start point (e.g. last save dir,
current dir, some arbitrary app dir, etc.) but let the user
fully navigate
From: FARRINGTON, RYAN [EMAIL PROTECTED]
win32::daemon::simple required you to be able to use win32::daemon as
well... daemon has to be installed as a package =(
Oh well ... I did NOT ask you to install Win32::Daemon::Simple !
What do you get if you run
ppm install
From: FARRINGTON, RYAN [EMAIL PROTECTED]
ARG!!! WTF... why does that work and installing it from www.roth.net
doesn't =(
Because Dave did not compile the module for Perl 5.8 yet. I compiled
the module myself. I did send him the DLL and the files I changed so
I think he will add the 5.8
From: [EMAIL PROTECTED]
I have a problem giving a Parameter to a module. The Module is invoked
like this:
use Win32::Daemon::Simple
Service = 'Logrotate',
Name = 'Logrotate',
Version='0.1',
Info = {
display = 'Logrotate',
description =
From: michael higgins [EMAIL PROTECTED]
I want to create an MS Word document from a perl program. Would I
use Win32::OLE or another module? Can you point me to any
documentation /
sample
code / etc.?
Wes
Not sure this is useable at this time, but there is also
From: [EMAIL PROTECTED]
$now=localtime;
print DEBUG $now\n;
btw: When I use the upper lines, I get Mon Jan 20 15:49:26 2003 as
$now. If I do
print DEBUG localtime;
i get some big number. What is that number? Unix-ticks or what it's
called? The difference is the scalar
From: Roland Butler [EMAIL PROTECTED]
If I print to a file the following:
this line of text\n
Word understands the \n to be a paragraph mark, how do I insert a
plain line break?
I don't think you can.
Unless you start creating RTF files instead of plain text ones.
Jenda
= [EMAIL
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] ===
From: James Smith [EMAIL PROTECTED]
Quick question?
How can I search for one string within another?
I have toyed with
grep(right=, $line) but with no success.
Run
perldoc -f index
and read the docs.
Jenda
= [EMAIL PROTECTED] === http://Jenda.Krynicky.cz =
When it comes to
From: Randy W. Sims [EMAIL PROTECTED]
I've never used this module before, but I searched and found a 0.02
version of the sources
http://mirrors.develooper.com/perl/backpan/authors/id/D/DE/DEWEG/
and compiled it for ActivePerl 5.8. No modifications neccessary. All
tests
From: Dmitry Kostyuk [EMAIL PROTECTED]
Date sent: Mon, 09 Dec 2002 02:24:45 +0100
---
#!/usr/bin/perl
#bodytag_v2.3.pl
#regex that matches the body tag
...
html
head
body
From: Dmitry Kostyuk [EMAIL PROTECTED]
Anyway, here goes the new version:
---
#!/usr/bin/perl
#bodytag_v2.2.pl
#regex that matches the body tag
...
A few breakages ...
body onLoad=foo='bar
body onLoad= code = 'if (x d) {alert( 'Don\'t do that')
From: Burchell, James [EMAIL PROTECTED]
Subject:Win32::LookupAccountSid (Can't locate
auto/Win32/LookupAccou.al i
n @INC)
It should be Win32::LookupAccountSID
HTH, Jenda
= [EMAIL PROTECTED] === http://Jenda.Krynicky.cz =
When it comes to wine,
From: Galdamez, Thomas [EMAIL PROTECTED]
Hi, fellow scripters.
For many tasks with ActivePerl, one has the option to choose a
framework to work on.
I was wondering if anyone had any recommendations (or warnings!) to
share for using ActivePerl throught the Windows Scripting Host,
against
From: David Ponevac [EMAIL PROTECTED]
I am running Apache/2.0.36 (Win32) with ActivePerl 5.6.1 build 633. My
problem is that when I sent something to my CGI script with special
characters(example: test.cgi?var=vra ) the server dies with this
message
Server error!
Error message:
couldn't
From: [EMAIL PROTECTED]
I have a question regarding a cgi I'm about to write. The cgi shall
take some user entries from a form and write them into a text file on
a mapped network drive. Is there any possible way to do that? I would
think that if I do a open OUTFILE,
use OLE;
my $comObject=CreateObject OLE NameOfMy.ComObject;
Please don't.
The OLE.pm module is there just for backward compatibility.
From OLE.pm:
# Compatibility layer for applications using the old toplevel OLE.pm.
# New code should use Win32::OLE
use Win32::OLE;
instead.
Jenda
From: [EMAIL PROTECTED]
I am new to this list, (and a bit of a newbie with perl), so apologies
if this has been covered before - I have searched the faqs but can
only find standard examples.
Anyhow, I have some scripts which use Net::SMTP to mail data, and
these have been
;listserv.ActiveState.com]On Behalf Of Jenda
Krynicky Sent: Tuesday, October 22, 2002 7:04 PM To:
[EMAIL PROTECTED];
[EMAIL PROTECTED] Subject: Re: difficulties mailing
on win32 - none on Unix
From:[EMAIL PROTECTED]
I am new to this list, (and a bit of a newbie with perl), so
apologies
From: Ronan Oger [EMAIL PROTECTED]
You wrote:
1. Please do not top-post.
2. Please read the message you reply to! I did not ask, I was
replying to M.Hall. HE was having problems. And he tried Net::SMTP
and Mail::Sender modules that are NOT dependent on sendmail
executable being
From: Tonuzi Selim [EMAIL PROTECTED]
I am sorry but I am not a programmer and I have no
knowledge in C.
Being a programmer and knowing C are two completely unrelated things. I'm even
inclined to say that not
knowing C makes you a better programmer.
I am parsing a text file that contains
From: Tonuzi Selim [EMAIL PROTECTED]
That is what I expect.
I have done some benchmarking on smaller files but I
did not see any time difference between the 2 coding
styles.
I am just wondering if these 2 codes are interpreted
in the same way by perl when it uilts its
From: Toby Stuart [EMAIL PROTECTED]
i'll bet it's because you are passing the literal string
xlUnderlineStyleSingle instead of its underlying value ie. 2
try
$Sheet-Range(a10)-Font-{Underline} = 2;
hth
toby
And if you want to be able to use the constants you have to load them
:
I know this is probably a FAQ, but I couldn't find an answer to this
on the regular Perl newsgroups, so I thought I'd ask.
My question is: Is there a way to create a Perl/Tk program using
ActivePerl on Windows 2000 that does not have a console window?
Run it by wperl.exe instead of
I am on NT 4.0 with ActivePerl 5.6 Build 633.
Is it possible to write a service (Aka Daemon in unix) for NT M/C
using perl? If so, are there any modules which I can use?
This script should be continously running waiting for some commands.
Once it gets the specified command, it should
From: Kristofer Wolff [EMAIL PROTECTED]
Last night i play around with the Inline-tool and search ppm for
inline::java .- no result. So i went to cpan and download it.
Now, since a few weeks i changed my personal pc up to win2000 and my
office to WinXP.
I know there is
From: [EMAIL PROTECTED]
Ok, so to clarify then the use of the grouping operator /(.)/ imposes
the penalty, not the $1 reference to the grouped data?
Exactly.
use Benchmark;
$string = 'sdfg q3wgrasdga wiufeg
From: Joel Hughes [EMAIL PROTECTED]
Hi Jenda,
I like your elegant solution.
Could you talk thru your regex a bit more please? I like the mapping
thing but dont see how the regex knows how to apply it? Is it
something to do with the qr/?
joel
OK I'll go over the code again
I'd do it
From: [EMAIL PROTECTED]
Jenda Krynicky writes:
I'd do it like this :
# set up the mapping
%replace = (
Boulevard = 'Blvd',
Street = 'St',
Drive = 'Dr',
Avenue = 'Ave',
Circle = 'Cir',
);
# prepare the regular expression
$regexp = join
From: Gerry Hickman [EMAIL PROTECTED]
You might like DBD::SQLite
Thanks, is it built in to standard Perl 5 - I don't have any control
over the server.
I'll assume a questionmark after the Perl 5 ;-)
No. It's not part of the core instalation. It might be part of DBI
bundle instalation now
From: Robert Thorpe [EMAIL PROTECTED]
On 17 Jun 2002, at 22:10, Jenda Krynicky wrote:
Defining interfaces - Not really much of a problem in my view.
Again the document compares perl to CL which is certainly better
in this regard, but this says more about how good CL
From: Vitaly Sinitsin [EMAIL PROTECTED]
why almost all Perl packages have: use Carp; ???
Read help, but still not convinced...
Suppose you pass incorrect parameters to a function from a module.
What use will it be to you if you get an error on line XX inside the
module? You need to get the
From: Ken Fair [EMAIL PROTECTED]
I was wondering how I send a reply to the list if I get messages in
Digest mode? I get the messages OK now if I know the answer ( very
seldom) I only have the choice of sending to the particular user not
the list.
Well ... so the address of
From: Uwe Mayer [EMAIL PROTECTED]
Hallo Jenda,
From: [EMAIL PROTECTED]
I'd like to override standard functions like 'print' but I can't
figure out how to do that. Ideas? I've included a sample of how I
*expected* the code to work where a print in main would really be
From: Fred [EMAIL PROTECTED]
I have broken an application into several pieces to make it more
manageable. I use require whatever.pl to load the next piece. It
works fine. Now I want to compile the application and distribute.
How can I achieve the same functionality as the require eg
From: francis Alix [EMAIL PROTECTED]
#!C:\BIN\DEV\Perl\bin\perl.exe -w
my $chem=$0;
$chem=~s/[^\\]*$//;
print path:$chem\n;
N.
$0 is NOT guaranteed to contain the full path.
use FindBin qw($Bin);
is the safe way.
Jenda
=== [EMAIL PROTECTED] ==
It's me again =D Can I use an Image hyperlinked to my .pl program
instead of using the form's submit button?
How can I do this?
Rafferty
Either
a href=...img src=../a - most probably you'll want to
add border=0 to the IMG.
Or
input type=image src=...
this one
From: Rafferty Uy [EMAIL PROTECTED]
I'm using the Net::SMTP module to send mails.. but
It won't work since I'm not receiving any e-mail from
my site. The smtp server that I'm using is
ccs1.dlsu.edu.ph is there anything wrong with my
code?
use Net::SMTP;
my($smtp);
my $from =
From: [EMAIL PROTECTED]
Hello.
I have IIS 5.0, Active Perl, Windows 2000.
This past year, I picked up perl (I'm a VB programmer) and have been
using it solely for cgi scripts. I've been useing notepad to program,
and no debugger software. I don't have any additional modules
installed
From: David Hares [EMAIL PROTECTED]
When ppm is used to install a module from the Activestate library, the
.pod file for the module is installed, but cannot be accessed through
the HTML help system. Modules installed with perl can be. Is there a
way to force new modules inclusion?
The
From: Steve Harper [EMAIL PROTECTED]
Can someone please tell me why the following doesn't work? Observe:
D:\perl -pi.bak -e 's/this/that/g' testtextfile.txt
I'm fairly perplexed by this difference in behaviour, I've read a fair
amount in the documentation to try to
From: Marc S Weintraub [EMAIL PROTECTED]
I use a PC with Win98 SE and ActivePerl 5.6.1 Build 630 for my Perl
development work. Whenever I try to run a perldoc query I see a slight
pause followed by Bad command or file name. What have I failed to
install or configure? How do
From: Eric Logeson [EMAIL PROTECTED]
Is there a way to enumerate all shares on a windows 2000/NT machine
much like the command net share?
I looked at Win32::AdminMisc but didn't see anything about enumerating
shares.
I'm sure Win32::Lanman will have such a function.
From: Mark Graves [EMAIL PROTECTED]
I'm having problems with a very simple perl script that works fine on
PERL5, but doesn't work with ActivePerl - - it's got something to do
with ARGV and the '=' symbol.
On my website, when people link to an outside souce I use a perl
From: Hemphill, Barry [EMAIL PROTECTED]
-Original Message-
From: Jenda Krynicky [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 22, 2002 4:37 PM
To: [EMAIL PROTECTED]
Subject: Re: LWP::Simple - giving me an error while running
Try to change the sue
From: Louie Iturzaeta [EMAIL PROTECTED]
I just got tasked with writing a Perl script that would change the
Terminal Server Profile Path and the Terminal Server Home Directory
for all of our Terminal Server Users. Is there a module or way to
change these settings in perl?
From: edelweiss [EMAIL PROTECTED]
And of course that means there is no real need for the cpp perl
filter. IMHO, a preprocessor written into the core of Perl, like
regexes and associative arrays already are, is the one thing that Perl
is missing.
It's messy enough already.
From: Abhimanyu_Bhola [EMAIL PROTECTED]
Is there somehing in PERL eqvt. to MACRO in C ???
-Abhi
Not really. You can define named constants (that will be replaced
by the values when compiling the script) with either
use constant FOO = 5;
or
sub FOO () {5};
From: srikanth kasha [EMAIL PROTECTED]
I am sending an email with an attached file (XML file) to a user who
has to examine the contents of the file. After examining the file
he/she has to run a script which resides in the same computer where
the email will be opened. This
From: Fifield, Mike [EMAIL PROTECTED]
Does anyone know of a perl mod that allows you to delete a winnt
service? The only thing close that I could find was win32::service but
this only allows you to stop start and get status.
Win32::Daemon
Jenda
=== [EMAIL
From: Charles Knell [EMAIL PROTECTED]
I need to pass an array as one of three arguments to a subroutine.
Once inside the subroutine, the array contains only the first item
(index 0) instead of the whole array. It is the third argument, so I
have attempted to retrieve the
From: Hudson Clark [EMAIL PROTECTED]
So am I to understand that going downward from the top of the e-mail
(lets say its in a @list) that the first line that is full of white
space will be seperating the header from the message?
No. The first line thats EMPTY separates the
1 - 100 of 129 matches
Mail list logo