Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^2: IO::All is sliced bread

by Jaap (Curate)
on Jun 21, 2006 at 12:44 UTC ( #556640=note: print w/replies, xml ) Need Help??


in reply to Re: IO::All is sliced bread
in thread IO::All is sliced bread

I thought this example:
use IO::All; io->catdir('my','dir','my_file.txt')->backwards > io->catdir('my','dir','reversed.txt');
was wrong until i read the IO::All documentation and found out that the ">" operator is overloaded by IO::All. You might write it more suggestively by saying:
io->catdir('my','dir','my_file.txt')->backwards > io->catdir('my','dir +','reversed.txt');

Replies are listed 'Best First'.
Re^3: IO::All is sliced bread
by DrWhy (Chaplain) on Jun 21, 2006 at 15:56 UTC
    I dunno -- it got you to read about IO::All, didn't it ;)

    Actually, I wrote it that way on purpose because I didn't like the way the line was wrapped by PM when it was all on one line.

    --DrWhy

    "If God had meant for us to think for ourselves he would have given us brains. Oh, wait..."

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (3)
As of 2020-09-27 04:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If at first I donít succeed, I Ö










    Results (142 votes). Check out past polls.

    Notices?