User Profile

Collapse

Profile Sidebar

Collapse
pagarwalla1234
pagarwalla1234
Last Activity: Mar 11 '08, 08:04 PM
Joined: Mar 10 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • pagarwalla1234
    replied to Calling subroutine
    in Perl
    I have included the lib pragma and the code run good now. Thanks a lot for the help.

    You are right, TestCalender is not a CPAN module. Still I have a doubt (if you dont mind me asking it again).

    Why Perl is not able to look for the module ONLY WHEN the "self->SUPER::LogFile Gen($test_name) ;" line in included in the code BUT able to look for the module when I comment this out.

    Sorry If I am...
    See more | Go to post

    Leave a comment:


  • pagarwalla1234
    replied to Calling subroutine
    in Perl
    Also, let me know how can I make sure that perl is able to find the module.

    Thanks,
    See more | Go to post

    Leave a comment:


  • pagarwalla1234
    replied to Calling subroutine
    in Perl
    Thanks . I will surely keep that in mind.
    If you see the code, there is :
    [CODE=perl]Class::Autouse->load( $_ ); # @ line 10. whick loads all the modules.[/CODE]

    I am not getting the error when I run the code as it is. But when I insert

    [CODE=perl]$self->SUPER::LogFile Gen($test_name) ; #priti - I see the error.[/CODE]
    Hope my question is clear now.

    Thanks.
    See more | Go to post
    Last edited by eWish; Mar 10 '08, 09:09 PM. Reason: Fixed Ccde tags

    Leave a comment:


  • pagarwalla1234
    replied to Calling subroutine
    in Perl
    It is already. The error is coming only when I call the LogFileGel subrouting from this subroutine.
    See more | Go to post

    Leave a comment:


  • pagarwalla1234
    started a topic Calling subroutine
    in Perl

    Calling subroutine

    Hi,

    Below is the part of code from a test FW I am working on :
    [CODE=perl]sub run {

    [I]my $self = shift;
    $self->SUPER::LogDirG en( ); # priti
    my $config = new Config::Simple( $self->{ config } );
    my %config_hash = $config->vars( );
    print ("1............ ......");
    foreach ( @{ $self->{ queue } } ) {
    print ("2............ ......");...
    See more | Go to post
    Last edited by eWish; Mar 10 '08, 08:31 PM. Reason: Please use [CODE][/CODE] tags
No activity results to display
Show More
Working...