At 11:36 -0700 06/07/1999, John Kristian wrote: >Thank you for creating this list! I hope we'll have fun > >Vicki Brown <vlb@cfcl.com> wrote: > > > system("date | perl -p -e 'chop' >> $timef"); > > > > no comment required here, I think... (if you want one, let me know). > >Please. Why not Because you don't need one :-) You've figured it out. > > { local *F; ... best to use my rather than local these days, and I believe there is no reason to use either on the glob but >{ open F, ">> $timef"; print F (scalar localtime); close F } yup :-) >which are less compact, but faster, safer and more portable? But not nearly as mindboggling as opening a shell process so as to call perl from perl (and to do so solely for the purpose of removing the trailing newline) > >I started using Perl a few months ago. I enjoy it thoroughly, and hope to >master it, in time. As do we all. -- -- |\ _,,,---,,_ Vicki Brown <vlb@cfcl.com> ZZZzz /,`.-'`' -. ;-;;,_ Journeyman Sourceror: Scripts & Philtres |,4- ) )-,_. ,\ ( `'-' P.O. Box 1269 San Bruno CA 94066 '---''(_/--' `-'\_) http://www.cfcl.com/~vlb http://www.macperl.org ==== Want to unsubscribe from this list? (Don't you love us anymore?) ==== Well, if you insist... Send mail with body "unsubscribe" to ==== fwp-request@technofile.org </x-flowed>