Changes

File I/O in Perl

505 bytes removed, 17:49, 24 November 2010
Reverted edits by [[Special:Contributions/Atekysepiko|Atekysepiko]] ([[User_talk:Atekysepiko|Talk]]); changed back to last version by [[User:Admin|Admin]]
The following lines were added (+) and removed (-):
>== Open a file to READ ==== Open a file to READ ==  $strVariable = &lt;BOBSFILE&gt;;  $strVariable = <BOBSFILE>;  open (FILE,&quot;$guestbk&quot;) || die &quot;Can't Open $guestbk: $!\n&quot;;  open (FILE,"$guestbk") || die "Can't Open $guestbk: $!\n";  while( $line = &lt;FILE&gt; ){  while( $line = <FILE> ){   print &quot;$lnum: $line\n&quot;;   print "$lnum: $line\n";  @eachline = &lt;FILE&gt;;  @eachline = <FILE>;  print &quot;@eachline&quot;;  print "@eachline";&amp;nbsp;&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>
Bureaucrat, administrator
16,192
edits