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: Regular Expressions: Re: [boobz] split file using ascii code 12: Edit Log



KevinR
Veteran


Mar 26, 2008, 9:27 AM


Views: 3214
Re: [boobz] split file using ascii code 12

When I print the value of this line:

my $chr = chr(12);

I get a dot '.';

Why not check for the dot in the regexp instead of $chr?

if (/\./) {
-------------------------------------------------


(This post was edited by KevinR on Mar 26, 2008, 9:31 AM)


Edit Log:
Post edited by KevinR (Veteran) on Mar 26, 2008, 9:31 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