HEX
Server: Apache
System: Linux opal14.opalstack.com 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64
User: curbgloabal_opal (1234)
PHP: 8.1.29
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //usr/share/ri/2.6.0/system/CSV/foreach-c.ri
U:RDoc::AnyMethod[iI"foreach:ETI"CSV::foreach;TT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph;	[I"RThis method is intended as the primary interface for reading CSV files.  You ;TI"Ppass a +path+ and any +options+ you wish to set for the read.  Each row of ;TI"9file will be passed to the provided +block+ in turn.;To:RDoc::Markup::BlankLineo;
;	[
I"RThe +options+ parameter can be anything CSV::new() understands.  This method ;TI"Ralso understands an additional <tt>:encoding</tt> parameter that you can use ;TI"Rto specify the Encoding of the data in the file to be read. You must provide ;TI"Rthis unless your data is in Encoding::default_external().  CSV will use this ;TI"Oto determine how to parse the data.  You may provide a second Encoding to ;TI";have the data transcoded as it is read.  For example, ;TI"P<tt>encoding: "UTF-32BE:UTF-8"</tt> would read UTF-32BE data from the file ;TI"4but transcode it to UTF-8 before CSV parses it.;T:
@fileI"lib/csv.rb;T:0@omit_headings_from_table_of_contents_below000[I"((path, mode="r", **options, &block);T@FI"CSV;TcRDoc::NormalClass00