Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

dbd::sybase string cut at 78 characters?

by rgcosma (Beadle)
on Jun 14, 2010 at 20:15 UTC ( [id://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
Domain Nodelet?
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?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (8)
As of 2024-04-23 14:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found