Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

analysis of text using Perl

  • 26-02-2004 09:00PM
    #1
    Closed Accounts Posts: 5


    If you have a TK GUI with a text area, and you want to allow the user to type code into this text area while the program is running. I want my program to analysis what is in the text area when the user presses a button.
    Does anyone know how I would go about this?


Comments

  • Registered Users, Registered Users 2 Posts: 437 ✭✭Spunj


    Don't use perl myself but I know it has excellent Regular Expression support. They are the main text manipulation method in most languages/platforms. A quick search in google for 'perl regular expression tutorial' shows: http://tlc.perlarchive.com/articles/perl/pm0001_perlretut.shtml.

    That should point you in the right direction.


Advertisement