[Dbix-class] How to insert multiline fields

Ash Berlin ash at cpan.org
Wed Oct 4 16:47:22 CEST 2006


Marc Logghe wrote:
> Hi all,
> Is there a way to fill clob fields or varchar fields having line feed
> characters ?
> When using DBI directly (DBD::Oracle) I had to do parameter binding like
> this:
>
> $insert_st->bind_param( $param_id, $value, { ora_type => ORA_CLOB,
> ora_field => $colname } );
> $insert_st->execute;
>
>
> What is the DBIC way to do this ?
>
> Regards,
> marc
>
> _______________________________________________
> List: http://lists.rawmode.org/cgi-bin/mailman/listinfo/dbix-class
> Wiki: http://dbix-class.shadowcatsystems.co.uk/
> IRC: irc.perl.org#dbix-class
> SVN: http://dev.catalyst.perl.org/repos/bast/trunk/DBIx-Class/
> Searchable Archive: http://www.mail-archive.com/dbix-class@lists.rawmode.org/
>   
First of - did you try it like you would with any normal parameter?

$row->$colname($value);




More information about the Dbix-class mailing list