Gary Nielson wrote:
>
> Hi,
>
> I am trying to figure out the best way to read a file from point A to
> point B. For example, I have a file with many specialized tags that start
> on one line and then the end tag is a few lines down and I want to be able
> to 1) recognize when the tag starts, 2)
Charles Barilleaux wrote:
>
> Hi!
>
> I'm a long-time ActivePerl user, but recently became intriuged with the
> notion of building my own copy of Perl from source. I did so on a
> development box for my own amusement, and, along with building a lot of
> extras, was able to get most of my scripts
maybe you could try something simpler, say;
<%@ LANGUAGE="PerlScript" %>
<% $Response->Write("Hello World !"); %>
try running this. should simply print "Hello World !" to your browser.
t0by
> -Original Message-
> From: john z [SMTP:[EMAIL PROTECTED]]
> Sent: 17/04/2001 12:54
> To: T
I don't think PerlScript worked correctly until 5.6.0.620 or later under
IIS 5.0. Depending on what version of PerlScript and what version of
IIS you have you may be seeing some of these issues.
Justin Rogers
[EMAIL PROTECTED]
[EMAIL PROTECTED]
-Original Message-
From: [EMAIL PROTECTED]
what's the error? any example code?
you do know that <%@ perlscript> really looks like <%@ LANGUAGE="PerlScript"
%> ... i guess you were abbreviating it.
t0by
> -Original Message-
> From: john z [SMTP:[EMAIL PROTECTED]]
> Sent: 17/04/2001 12:31
> To: [EMAIL PROTECTED]
> Subject:
i wonder if somebody knows how to fix the following. when i run an asp, it
seems that the <%@ perlscript> tags get ignored. i know that perlscript is
running ok, cause the code wrapped with
Gary Nielson wrote:
>
> Hi, there:
>
> What does the == 2 do in the line below?
>
> > $var = $_ if ( m!! .. m!! ) == 2;
This info IS available in the docs (from perlop pod):
The value returned is
either the empty string for false,
Hello:
Does anyone know which module allows you to assign share level (NOT
NTFS)permissions? Will the Win32::NetResource module allow you to do this?
Thanks.
Dean Theophilou
Genisar
___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://
Hi, there:
What does the == 2 do in the line below?
> $var = $_ if ( m!! .. m!! ) == 2;
On Mon, 16 Apr 2001, Nick Pomponio wrote:
> At 03:24 PM 4/16/2001, you wrote:
> >Hi,
> >
> >I am trying to figure out the best way to read a file from point A to
> >point B. For example, I have a file
Gary
To grab the lines between tags and include the tags then you can use code
like the following:-
open(HTM, "file_to_scan.txt");
@lines = ;
close(HTM);
$longline = join "\n", @lines;
$longline =~ s/()//si;
print $1;
$result = $1;
$result now contains the first match in the file or
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, April 17, 2001 6:22 AM
Subject: Scan help
> I have a variable that contains "\rmcnt\public", I want to change it to
> "rmcnt\\public "
>
Hi Bill,
#!perl -w
$var = '\rmcn
> my( $var );
> while( <> ) {
> $var = $_ if ( m!! .. m!! ) == 2;
> # Other line-by-line processing, if any, goes here.
> }
For those who are boggled by that, its explained in the Cookbook:
while (<>) {
if (/BEGIN PATTERN/ .. /END PATTERN/) {
# line falls between BEGIN and E
Out of curiosity I decided to revisit the PPM problem I had last week. I found,
by looking in the PPM configuration file (ppm.xml) for my distribution
(5.6.0.613), that my version of PPM points at what appears to be an old package
repository:
http://www.activestate.com/packages/
I've searched t
Bill
It looks ugly, I know, but it works...
$myvariable =~ s/\\rmcnt\\public/rmcntpublic
/;
Add the g option if there are multiple instances of the string to change in
the variable
Andy
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAI
On Mon, 16 Apr 2001, Rousseau, Paul wrote:
> Hello,
>
>the 623 version, perlfunc descriptions of grep and map functions do not
> readily distinguish themselves. Can anyone provide reasons for using one
> over the other?
>
The map function is a one-for-one function. The grep allow one
to pic
Hello,
the 623 version, perlfunc descriptions of grep and map functions do not
readily distinguish themselves. Can anyone provide reasons for using one
over the other?
Thank you.
___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.Ac
At 03:24 PM 4/16/2001, you wrote:
>Hi,
>
>I am trying to figure out the best way to read a file from point A to
>point B. For example, I have a file with many specialized tags that start
>on one line and then the end tag is a few lines down and I want to be able
>to 1) recognize when the tag start
17 matches
Mail list logo