Mark Bergeron asks:
Hope everyone having a great (sometime of day),
Could be better :-)
Question: If you should be running your scripts with the
PerlIS.dll as PLX but you load (as you must) in most cases your .pm
modules, do they also excecute under the .dll or do they revert
back to the
How can i install for ex. DBI and DBD packages in a computer with no
Internet Connection?
You download the modules from
http://www.activestate.com/PPMPackages/zips/6xx-builds-only/
copy them somehow to the computer in question,
unpack the ZIPs to some temporary directory, set ppm repository
From: Joe Schell [EMAIL PROTECTED]
To: Claves do Amaral [EMAIL PROTECTED]; perl-win32-
You did uninstall the older version first right?
bingo! now it works.
#perlcc.bat formatta_ama.pl
still gives problems, but if I use
#perl -MO=CC formatta_ama.pl
I get the desired result, i.e. a file
-- tried to send this yesterday - no luck. Here goes again
use strict;
use vars qw($one $two);
$one = two;
$two = two;
{
no strict refs; # turns off strict refs for the scope of the
enclosing block
print ${$one}; # prints out two
}
print ${$one}; # blows up
HTH,
Nikhil.
IF it was *you* interested in this topic but without time to check it out, sorry I
lost your name and e-mail, but - the existing
module Lingua::EN::Syllable is so inaccurate that I grabbed some freeware rhyming
dictionary files that contain syllable counts, and
put them in an SQL db with perl
From: Sisyphus [EMAIL PROTECTED]
I'm running perl compiled from AS build 626 (5.6.1) source on Win 2k.
thank you Sisyphus.
I have no luck with your script.
I have a question for you: what compiler did you use to compile the AS 5.6.1
on your system? Probabily you use Visual C. I use Borland
I need to split a string at all full-stops '.'
unless they are part of a sub-string within quotes.
Should I manually loop over the file, setting flags,
or can I do this with a regular expression?
Thanks in anticipation,
lee
___
Perl-Win32-Users
-Original Message-
From: Lee Goddard [mailto:[EMAIL PROTECTED]]
Sent: 07 June 2001 11:14
To: Perl_Users
Subject: Regex Question: splitting at a point unless part of a quoted
substring
I need to split a string at all full-stops '.'
unless they are part of a sub-string within
I need to split a string at all full-stops '.'
unless they are part of a sub-string within quotes.
Should I manually loop over the file, setting flags,
or can I do this with a regular expression?
And of course, I need to have escaped single-quotes too,
\'
Thanks in anticipation...
lee
I need to split a string at all full-stops '.'
unless they are part of a sub-string within quotes.
Should I manually loop over the file, setting flags,
or can I do this with a regular expression?
And of course, I need to have escaped single-quotes too,
\'
In other words, can
I have a XML file which looks like
...
NAMESaurabh/NAME
..
I want to remove the whitespace in the TAG value. I am using
while ()
{
s/\s*\/NAME/\/NAME/; --This will replace the
whitespace/NAME with /NAME
print 4_;
}
On the console it is showing the value as
read
print 4_ as
print $_
in my previous mail
regards
Saurabh
___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users
(1) Use XML::TokeParser.
(2) Use XML::TokeParser.
(3) Use XML::TokeParser.
Lee
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of
Saxena, Saurabh
Sent: 07 June 2001 12:16
To: 'Perl2'; 'Perl1'
Subject: Help on subctitution s///
I have a XML
open IN, 'in.xml';
open OUT, 'temp.xml';
while (IN) {
s/\s*\/NAME/\/NAME/;
print OUT;
}
unlink 'in.xml';
rename 'temp.xml', 'in.xml';
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of
Saxena, Saurabh
Sent: Thursday, June 07, 2001 1:16 PM
To:
Lee Goddard wrote:
Lee Goddard wrote:
I need to split a string at all full-stops '.'
unless they are part of a sub-string within quotes.
Should I manually loop over the file, setting flags,
or can I do this with a regular expression?
And of course, I need
Hello Tom,
Tuesday, June 05, 2001, 7:10:04 PM, you wrote:
TN I am trying to run Komodo under windows. As soon as I load a perl
TN script, the entire system crashes?
TN Any thoughts?
TN Tom Noack
TN ___
TN Perl-Win32-Users mailing list
TN [EMAIL
Charles,
Can the () in your data be nested?
If so, you can't use an re. (See: How do I find matching/nesting anything?
in perlfaq 4.) For example,
while (DATA){
print;
print becomes\n;
s/\([^\)]+\)/()/g; # as Bill suggests
print;
print \n;
}
__DATA__
Hello all,
I am new to the web interaction space. I looked up the topic in the docs and
found Http::Request::Form. I tried that, and it worked on the machine that I
was working on
at that moment (work at multiple locations). I then noticed that I could not
use at another.
I thought maybe I did
Ron Hartikka wrote, on Thursday, June 07, 2001 8:33 AM
: Can the () in your data be nested?
:
: If so, you can't use an re. (See: How do I find matching/nesting anything?
: in perlfaq 4.) For example,
:
: while (DATA){
:
: print;
: print becomes\n;
: s/\([^\)]+\)/()/g; # as Bill
Craig,
Could you be a little more specific than I could not use [it] at another?
What happened? What error message did you get? You are running with strict
and warnings turned on, right?
Also,
perl -e use Http::Request::Form;
from the command line is a quick way of seeing if a given
Ok
while (DATA){
print;
print becomes\n;
s/\([^\(\)]+\)|\(\(\)\)/()/g;
print;
print \n;
}
__DATA__
asdf(asdf)asdf
asdf((asdf))asdf
asdf(as(asdf)df)asdf
prints--
asdf(asdf)asdf
becomes
asdf()asdf
asdf((asdf))asdf
becomes
asdf(())asdf
21 matches
Mail list logo