Advertisement

07.06.2005 at 04:37AM PDT, ID: 21481730
[x]
Attachment Details

Perl: Net::Cmd: Callback kind of function for datasend() ??

Asked by dr34m3rs in Perl Programming Language

Tags: perl, datasend

Is there a way to make a callback function so that while you send data you can send the bytes uploaded to a file?

like

Net::Cmd;

open(R,"$file");
while(R($file,&callback,$byte)
{
         datasend() ?
}
close(R);

sub callback
{
        $count = $count + $byte;
}

Thanks for any help anyone can lend.

Best regards,

Dr34m3rStart Free Trial
[+][-]07.07.2005 at 05:31AM PDT, ID: 14386560

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.07.2005 at 05:36AM PDT, ID: 14386594

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.30.2005 at 05:22PM PDT, ID: 14790011

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Perl Programming Language
Tags: perl, datasend
Sign Up Now!
Solution Provided By: dr34m3rs
Participating Experts: 1
Solution Grade: B
 
 
[+][-]08.30.2005 at 06:20PM PDT, ID: 14790204

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32