Thursday, March 19, 2020

Review on Lawrence of arabia essays

Review on Lawrence of arabia essays For a brief background of this film, Lawrence of Arabia is based on the retelling of T.E. Lawrences adventures during WWI. This film is thought to have had the best cinematography of any film of that era, shot with a Super Panavision 70-mm scope. The film tells of the life of a British officer who aided the Arabian Bedouins against the Turks during WWI. The Arabian Desert serves as a back drop for the making of this film. This film focuses on four main events in Lawrences life; the defeating of Aqaba, Lawrences capture and torture in Deraa, the massacre at Tafas, and the fall of Damascus. This film is rated two stars, during this film I tended to lose interest due to the dull graphics of that time period. I also began to fall asleep during some of the uneventful scenes. This film could have easily been broken down to about 45 minutes to an hour. I must however take into consideration what time period this movie was shot in. Maybe I am spoiled with the new technology we have in todays society and that is why I cant get into this movie or it could just be an outdated movie, past its prime of giving us continuous viewing pleasure. Maybe this is not the kind of movie I enjoy or maybe its just a bad movie. Whatever the case, I had to give the movie two stars for mediocre acting by the leading actor and lack of guts and gore that I have come so accustomed to seeing in my day. I do have to say that the movie had a surprising crispness to it that I dont usually see with films from that time period, but that is the only thing that kept it from the dreaded zero stars th at it deserves. So in closing, do yourself a favor and watch Titanic for the 5,000th time and save your money, dont rent this movie. ...

Tuesday, March 3, 2020

Perl Array chop() and chomp() Function - Quick Tutorial

Perl Array chop() and chomp() Function - Quick Tutorial chop(ARRAY); chomp(ARRAY); Perls chop and chomp functions can often be a source of confusion. Not only do they sound similar, they do similar things. Unfortunately, there is a critical difference- ​chop removes the last character of the string completely, while chomp only removes the last character if it is a newline. $myName Jacob\n; chomp($myName); Chomping $myName cuts off the last newline, leaving just Jacob. Once its been chomped, further chomping wont do anything at all. Chopping the name, however, will result in the last character being removed, leaving Jaco: $myName Jacob; chop($myName); Chomping and chopping an array results each element being acted on, and can be a real time saver. chop(ARRAY); chomp(ARRAY); So remember - Chop chops off the last character without question or regret. Chomp only removed the newline, leaving the string itself intact. Chomp does not remove all whitespace characters by default. In fact, by default, chomp only removes what is currently defined as the $INPUT_RECORD_SEPARATOR. If your goal is to trim all whitespace from the end of your string, try using a regex like this one submitted by a reader: $line ~ s/\s*$//g;