CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner: Re: [HaHaMan] 2 beginner questions: Edit Log



Laurent_R
Veteran / Moderator

Aug 16, 2012, 10:00 AM


Views: 1364
Re: [HaHaMan] 2 beginner questions

tr// does not deal with regular expressions and will not lead you anywhere near where you want to go.


Code
my $XXX = $1 if $line =~ m{([^\\]+)$};


For the other on e, I'll come back later, it is a bit more difficult than you think.


(This post was edited by Laurent_R on Aug 16, 2012, 10:15 AM)


Edit Log:
Post edited by Laurent_R (Veteran) on Aug 16, 2012, 10:15 AM


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives