Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: regexp match up to but not incliuding...

by gjb (Vicar)
on Dec 18, 2003 at 16:19 UTC ( #315553=note: print w/replies, xml ) Need Help??


in reply to regexp match up to but not incliuding...

Look for zero-width positive look-ahead in the perldocs ((?=pattern)) and you might be interested in using the s regex switch (same document as refered to above).

Hope this helps, -gjb-

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://315553]
help
Chatterbox?
[usemodperl]: yea but http only has tar.gz, i wanna download modules with core perl, but http seems to make it impossible, that's my only question, how to find http mirrors like meta, or how to do it with core perl, but options now seem totally broken (on purpose :-(
marto wanders off
[usemodperl]: Corion it's really not misguided, it's the only way, to do something... wonderful IMHO
[Corion]: usemodperl: Why don't you set up your own (http-only) CPAN mirror? Or just fatpack your scripts? I wonder what problem you're trying to solve here.
[usemodperl]: don't worry about that, it's really cool, i promise!
[Corion]: usemodperl: Well, if the world changes and makes your "wonderful" approach not work anymore, you can either change your approach, or change the world. You seem to want to change others instead.
[usemodperl]: no dude i'm just asking how to access meta via http and you are getting defensive for some reason (did you turn off http at meta? :-)
[choroba]: why do you need to access metacpan via http?
[usemodperl]: stop asking why, just say how

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (8)
As of 2018-06-24 16:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?



    Results (126 votes). Check out past polls.

    Notices?