Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

dbd::sybase string cut at 78 characters?

by rgcosma (Beadle)
on Jun 14, 2010 at 20:15 UTC ( #844724=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    while (<STDIN>) {$orig .= $_; $count++; last if ($count>100 || /\w{70,
    +}/);
    chomp($orig);$orig=~s/\r//g;$orig=~s/\n/\t/g; #print STDERR $orig;
    $db1 = DBI->connect("dbi:Sybase:server=$dbserver;database=$dbase;", $u
    +ser, $passwd, { syb_err_handler => \&err_handler }) || exit 1;
    $st1 = $db1->prepare("insert into bounces (recipientid, documentid, bo
    +uncecode, bouncesubject, bounceheaders) values (?,?,?,?,?)") || exit 
    +1;
    $st1->execute($recid, $docid, $msg, $subj, $orig) || exit 1;
    
  2. or download this
    From MAILER-DAEMON  Mon Jun 14 08:54:23 2010 Return-Path: <> X-Origina
    +l-To: a2@e
    From MAILER-DAEMON  Mon Jun 14 08:54:24 2010 Return-Path: <> X-Origina
    +l-To: a3@e
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://844724]
Approved by NetWallah
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2021-01-21 08:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?