Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: perl string extract

by eyepopslikeamosquito (Archbishop)
on Oct 04, 2010 at 06:29 UTC ( [id://863266]=note: print w/replies, xml ) Need Help??


in reply to perl string extract

Try making the comma optional?

$line =~ /logfile\s*=\s*([^,]*),?/;

Replies are listed 'Best First'.
Re^2: perl string extract
by anu_1 (Acolyte) on Oct 04, 2010 at 06:50 UTC
    Thanks a lot ..

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://863266]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2024-04-25 13:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found