Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.

Re: Hash will not print if a value begins with 2 under certain conditions

by Anonymous Monk
on Jul 27, 2014 at 04:00 UTC ( [id://1095195]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download

  1. or download this
    my %ref;
    my $threelinefakein = "...\n...";
       refLogic( \%ref, \$fake );
  2. or download this
    ## Usage: fillRef( $hashref, $infilename );
    sub fillRef {
    ## fake out for testing
       local *OUT = \*STDOUT;
  3. or download this
        my %ref    = ... ; ## Data::Dump::dd(%ref)    output here
        my @probes = ... ; ## Data::Dump::dd(@probes) output here
                if ( $temp[0] == 2 ) { print $key. "\t" . $ref{$key} . "\n
    +"; }

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1095195]
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2024-06-21 11:25 GMT
Find Nodes?
    Voting Booth?

    No recent polls found

    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.