User Profile

Collapse

Profile Sidebar

Collapse
vijaybabudev81
vijaybabudev81
Last Activity: Jan 5 '08, 01:52 PM
Joined: Oct 29 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Thanks for your help.
    but the problem is different.
    I am starting a perl prog from cgi application. if i get any prob in perl prg(like variable declaration & fatal erro), i should show it to respective user.
    so i have to take the error messages from perl prg & print it in cgi application....
    See more | Go to post

    Leave a comment:


  • Getting error & warnings messages from PERL PRG

    Hi,

    I want to get the error & warnings messages from program.
    like fatal error, variable declaration error in strict mode & etc..
    is it possible in perl? plz give your suggestions.

    Thanks
    Vijay
    See more | Go to post

  • Sorry. try this....
    [code=perl]
    $file = 'c:\Perl\Beth\f 7.txt';
    open(INFO, $file);
    while ($line = <INFO>)
    {
    while($line =~m{(\w)}igs)
    {
    $a = $1;
    if($line =~m{$a{2}}is)
    {
    print "$a-$line\n";
    last;
    }
    }
    }
    close(INFO);
    [/code]
    See more | Go to post
    Last edited by numberwhun; Dec 4 '07, 01:17 PM. Reason: add code tags

    Leave a comment:


  • Plz try this...

    [code=perl]
    $file = 'c:\Perl\Beth\f 7.txt';
    open(INFO, $file);
    while ($line = <INFO>)
    {
    while($line =~m{(\w)}igs)
    {
    $a = $1;
    if($line =~m{$a{2}}is)
    {
    print "$a-$line\n";
    }
    }
    }
    close(INFO);
    [/code]
    See more | Go to post
    Last edited by numberwhun; Dec 4 '07, 01:17 PM. Reason: add code tags

    Leave a comment:


  • Thanks. I have a php application which needs to initiate the perl application in background. When it(perl prg) is in running condition, i have to show "the process is started" in my PHP application. but system command in php is waiting for result from perl prg.

    Now i am using Ajax to resolve this issue.

    but i want to know is there any correct ways of resolving this issue......
    See more | Go to post

    Leave a comment:


  • want to run the perl programs thr PHP in background

    I have a application which need to run the perl prg thr php in background.
    I have tried system command. but it's waiting for perl program completion.
    I want to simply start the prg and the control again comeback to browser.

    is it possible?
    See more | Go to post
No activity results to display
Show More
Working...