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: [iphone] Trying to print all the lines in a file with a .c extension in it: Edit Log



iphone
User

Aug 21, 2010, 11:34 AM


Views: 1940
Re: [iphone] Trying to print all the lines in a file with a .c extension in it

I think if we add" \/ "before $file_name,it worked


Code
print grep /\/$file_name/, (@file_2, @file_3);



(This post was edited by iphone on Aug 22, 2010, 2:01 AM)


Edit Log:
Post edited by iphone (User) on Aug 22, 2010, 2:01 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