Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^2: IO::All is sliced bread

by Jaap (Curate)
on Jun 21, 2006 at 12:44 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://556640]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2024-03-19 05:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found