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: [tc] Remove any amount of char from front and back of a string in a file: Edit Log



Laurent_R
Veteran / Moderator

Jun 7, 2018, 11:26 PM


Views: 6802
Re: [tc] Remove any amount of char from front and back of a string in a file

Chris and Bill have said it all about strict, I won't add anything on that.

I would strongly suggest that you also uncomment the use warnings; pragma. Warnings catch in a split second a lot of errors that you would otherwise have to find through long hours of debugging session. In brief, always enable strict and warnings (except possibly for one-liners).


(This post was edited by Laurent_R on Jun 10, 2018, 11:22 PM)


Edit Log:
Post edited by Laurent_R (Veteran) on Jun 10, 2018, 11:22 PM: Fixed typo: /unable/enable/


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

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