|
Perl 6
Perl 6 IO Tablet: Revision 26
Overview - Chapter: 0:History, 1:Design, 2:Basics, 3:Var, 4:Op, 5:IO, 6:{}, 7:Sub, 8:OOP, 9:Rx, 10:Meta Command Line
Directoriesdir Filesslurp openSynopsis: open('new', :w).close given open('foo', :w) { # "Anonymous" filehandle.say('Hello, world!');} Valid modes are: r : read w : write a : append (Note: you must specify "wa", not just "a") p : pipe SocketsProcessesrun runinstead fork wait kill
Overview - Chapter: 0:History, 1:Design, 2:Basics, 3:Var, 4:Op, 5:IO, 6:{}, 7:Sub, 8:OOP, 9:Rx, 10:Meta |