Re: Regex and Email address.

2003-08-06 Thread gregg
I'm not clear on what you're trying to do. I recommend reading "Mastering Regular Expressions" by O'Reilly press. http://www.oreilly.com/catalog/regex/ I am currently reading it. I am not associated with O'Reilly press, I assure you. ;-) Gregg Allen Blessed are they who expect nothing, for t

RE: Perl line breaks

2003-08-06 Thread Mike Harrison
Hi all, Well, here is my 'header' and 'ender' file module that I put in a require('html.pm') statement near the beginning of my perl scripts. When I am ready to output info back to the browser, I do something like: &HTML_header($some_header_text); print "\n"; print "$msg\n"; # prints required me

Re: Flock and Sleep

2003-08-06 Thread Bob Showalter
Sara wrote: > (sub get_number { > open(NUMBER,">>data.txt"); > flock (NUMBER, 2); Use the constants from the Fcntl module. > > Do blah blah blah > > close (NUMBER); > > closing a file automatically removes the lock?? Yes. > or should I have to > unlock it by placing > > flock (NUMBER, 8); > clo