Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Redirection problem / question

by Anonymous Monk
on Apr 30, 2015 at 01:15 UTC ( #1125184=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $input = do { binmode STDIN; local $/; <STDIN>; };
    
  2. or download this
     use Path::Tiny qw/ path /; 
    use Data::Dump qw/ dd /; 
    my $input = path( 'input' )->slurp_raw ;
    my $output = Net::CIDR::cidr2octets( $input );
    path( 'output')->spew_raw( $output );
    dd( $input, $output ); ## for debugging/SOPW :)
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (3)
As of 2022-08-17 16:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?