Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Redirection problem / question

by Anonymous Monk
on Apr 30, 2015 at 01:15 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others about the Monastery: (3)
As of 2024-04-19 22:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found