hi,
I've visited most of the perl site such perl.com, webreference
Is there any site that offer detailed perl documentation for modules,
I don't find POD very clear.
Thanks in advance
__
Click, Laugh and Enjoy @ www.sallini.com
tips and tricks, free
> >> >Any one got any idea if there is a way of compiling a string in a
> >> variable
> >> >into a regexp?
> >> >(other than eval "qr/$regexp/" ?).
> >>
> >> During construction of the regular expression string, would it be too
> much
> >> trouble to perform something of the following...?
> >>
> >
Bennett Haselton wrote:
> Am I reading it wrong? It seems like
> $ref->{eggs}
> and
> ($ref)->{eggs}
> ought to look the same when printed, but they don't.
They do look the same when printed.
But you aren't printing ($ref)->{eggs}; you're printing $ref.
-w would have told you so (lines marked
> Hi,
> I've been trying to get through the same tutorial using MS VC++ 6.0 - and
> have come to a grinding halt at example 4.
> Have you checked that 'perl -V:make' returns 'nmake' and that 'perl -V:libc'
> returns 'msvcrt.lib' ?
Yep. They both checkout.
> Any problems with 'perl makefile.pl'
- Original Message -
From: "$Bill Luebkert" <[EMAIL PROTECTED]>
To: "Walter Torres" <[EMAIL PROTECTED]>
Cc: "Perl-Win32-Users" <[EMAIL PROTECTED]>
Sent: Tuesday, March 27, 2001 7:34 PM
Subject: Re: Regular Expression questions
> Walter Torres wrote:
> >
> > OK, I have to ask...
> >
> >
Dirk Bremer wrote:
>
> I want to build a regular expression that will separate a filename string into the
>root name, filename, and extension name, placing
> the results in $1, $2, $3.
[remainder snipped]
Why not just use File::Basename? It does just what you want, if I read
your question corr
- Original Message -
From: "Lee Goddard" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; "Walter Torres" <[EMAIL PROTECTED]>
Cc: "Perl-Win32-Users" <[EMAIL PROTECTED]>
Sent: Wednesday, March 28, 2001 7:31 AM
Subject: Re: Regular Expression questions
> At 17:34 27/03/2001 -0800, $Bill Luebk
Searching for files? Use File::Find.
Glen
> -Original Message-
> From: Gray, Martha J. [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, March 28, 2001 10:02 AM
> To: 'Perl List'
> Subject: Searching a directory tree
>
>
> Hi all,
> I was wondering if there was a way to search (traverse
- Original Message -
From: Bill Catlan <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 28, 2001 11:31 PM
Subject: Linker Error when building XS "Hello World" example on Win32
> Hello Everyone,
>
> I am attempting build a Perl extension to part of the openssl library.
-start-
> "Nadav Popplewell" <[EMAIL PROTECTED]>
>at03/28/2001 08:18 AM
>> >Any one got any idea if there is a way of compiling a string in a
>> variable
>> >into a regexp?
>> >(other than eval "qr/$regexp/" ?).
>>
>> During construction of the regular expression string, would it be too
mu
> >Any one got any idea if there is a way of compiling a string in a
> variable
> >into a regexp?
> >(other than eval "qr/$regexp/" ?).
>
> During construction of the regular expression string, would it be too much
> trouble to perform something of the following...?
>
> $regexp = '\b' . quotemeta(
Thanks for the tip on the patch requirement. I suspected as much, but I don't
know if I can get the patch.
You might want to check out Dave Roth's book on the Standard Extensions ... it
includes a detailed chapter (Ch. 10) on building custom extensions ... including
compiler macro settings. You
Lee Goddard [mailto:[EMAIL PROTECTED]] wrote:
> At 17:31 27/03/2001 -0600, Walter Torres wrote:
> >Also, some wrote this...
> > s/.(?=)/*/g;
> >
> >
> > s/ # substitute
> > . # anything ??
> > (?=) # but the last 4
> > /# de
-start-
> "Nadav Popplewell" <[EMAIL PROTECTED]>
>at03/28/2001 06:55 AM
>> /\b\Qa\E\b/: Unrecognized escape \Q passed through at c:\TEMP\test.pl
line
>> 3.
>> /\b\Qa\E\b/: Unrecognized escape \E passed through at c:\TEMP\test.pl
line
>what perl version are you using?
>I don't get those w
> --- Nick Pomponio <[EMAIL PROTECTED]>
> wrote:
>
> > How about this:
> >
> > my $x = '10043546756565';
> > $x =~ s/.(?=)/*/g;
> >
> >
> Okay, time out. My copy of _Mastering Regular
> Expressions_ is at home - 85 miles away.
Did you leave perldoc at home too? I hope not :)
``perdoc pe
May as well go to VS SP4 if you're going to the trouble.
On 28 Mar 2001, at 17:27, Campbell wrote:
> On Wed, 28 Mar 2001, Bill Catlan wrote:
>
> >Hello Everyone,
>
> You have to download 100 megabytes of patch from Microsoft.com :)
>
> Installing the Visual Studio Service Pack 3 remedied th
At 03:56 PM 3/27/01 +0100, Lee Goddard wrote:
>There's also a lot of snobbery, so make sure that
>you're not talked into anything by either someone
>who slags off to make himself look better.
>
>If you're in the, make sure they are at least a
>member of the Professional Contractors Group:
>check t
At 17:31 27/03/2001 -0600, Walter Torres wrote:
>OK, I have to ask...
>
>Lee wrote this...
>
>$a =~ s/^(\d+)(\d{4})$/\1/;
>
>I brake this down to this...
>
> @s =~ s/# substitute
> ^ # start at the top
> (\d+) # grab 1 or more digi
> -Original Message-
> From: Trever Furnish [mailto:[EMAIL PROTECTED]]
> Sent: 27 March 2001 14:57
> To: Perl-win32 list
> Subject: Non-blocking sockets are impossible on win32?
> Ok, I'll go ahead and risk looking like an idiot, in the
> hopes of getting
> someone to enlighten me: I've
I gave up the below code in favour of the module ;)
Pick at it if you will.
lee
accepts path
returns dir, fn
if ($path !~ /\.(html?|xml)$/)
if ($path !~/(\\|\/)$/){
$path =~ m/(\\|\/)/;
$path.=$1;
}
At 17:34 27/03/2001 -0800, $Bill Luebkert wrote:
>Walter Torres wrote:
> >
> > OK, I have to ask...
> >
> > Lee wrote this...
> >
> >$a =~ s/^(\d+)(\d{4})$/\1/;
> >
> > I brake this down to this...
>
>That's break not brake. :)
Broke.
:P
___
On Wed, 28 Mar 2001, Bill Catlan wrote:
>Hello Everyone,
You have to download 100 megabytes of patch from Microsoft.com :)
Installing the Visual Studio Service Pack 3 remedied this problem on my
systems.
cheers
campbell
___
Perl-Win32-Users mailing
Hello Everyone,
I am attempting build a Perl extension to part of the openssl library. But, I
figured, let me try to crawl before I walk... I successfully built the
Mandelbrot extension in the Advanced Programming in Perl book, but this is my
first attempt in a Win32 environment. I'm using Act
If I get a mo, I'll send some code to the list;
it's long gone now. But it wasn't anything really:
I opened a file, and on the next line just printed
to nowhere specific, assuming it'd go to STDOUT.
It generated the error weird, and probably worth
me investigating for my own good
There's
> > "Joe Schell" <[EMAIL PROTECTED]>
> >at03/27/2001 10:02 AM
> >Interesting
>
> >If you modify the script
>
> >my $x='\ba\b';
> >my $qx=qr/$x/;
> >print "$x $x:", " a "=~/$qx/,"\n";
>
> >my $xq='\b\Qa\E\b';
> >my $qxq=qr/$xq/;
> >print "$xq $qxq:", " a "=~ /$qxq/,"\n
25 matches
Mail list logo