($rc,$outputHash)= $::device2->SEOS->Subscriber->Active(INPUT => \%INP +UTS, SUB_REC_APP => \%SUB_ATTRS_APP_DUAL, SUB_REC_EXP => \%SUB_ATTRS_EXP_DUAL, SUB_REC_EXT => \@SUB_ATTRS_EXT); $::test->checkPoint($rc, "CHECKPOINT for verifying subscriber +attributes."); $circuitHash{$sub} = $outputHash->{"Circuit"}; $internalCircuitHash{$sub} = $outputHash->{"Internal Circuit"} +; my %ipHostEntryArrayReferenceHash; $ipHostEntryArrayReferenceHash{$sub} = $outputHash->{"IP host +entries installed by DHCP"}; $ipAddressHash{$sub} = (split /\s+/, $ipHostEntryArrayReferenc +eHash{$sub}->[0])[0]; $outputHash->{"Framed-IPV6-Prefix"} =~ /^(.*)\s+\(applied/; $framedIpv6PrefixHash{$sub} = $1; $pdPrefixArrayReferenceHash{$sub} = $outputHash->{"ipv6host en +tries installed by PD"}; $pdPrefixHash{$sub} = $pdPrefixArrayReferenceHash{$sub}->[0]; $::test->log_info("Circuit: $circuitHash{$sub}."); $::test->log_info("Internal Circuit: $internalCircuitHash{$sub +}."); $::test->log_info("IP address: $ipAddressHash{$sub}"); $::test->log_info("Framed-IPV6-Prefix: $framedIpv6PrefixHash{$ +sub}."); $::test->log_info("ipv6PrefixHash: $pdPrefixHash{$sub}."); #} if ($subscriberMetaData{protocolstack}->{$sub} eq "IPV4") { $::test->log_info("\n#---------------------------------------- +-----------------------------------"); $::test->log_info("Extracting & verifying attributes for subsc +riber $sub for v4."); $::test->log_info("#------------------------------------------ +---------------------------------"); my %INPUTS=(CONTEXT => $::CONTEXT, USERNAME => $sub); }

In reply to need help Not printing the output by ulakshmi

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.