|
Perl 6
Perl 6 IO Tablet: Revision 27
Overview - Chapter: 0:History, 1:Design, 2:Basics, 3:Var, 4:Op, 5:IO, 6:{}, 7:Sub, 8:OOP, 9:Rx, 10:Meta This tablet is about the old core business of Perl. Command Linesay^^^printf notewarnpromtreadDirectoriesdirmkdirrmdirrenameFilesslurplinesopenreadlinegetgetcreadprint in filesayopenSynopsis: 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 closeSocketsProcessesrunruninsteadforkwaitkill
Overview - Chapter: 0:History, 1:Design, 2:Basics, 3:Var, 4:Op, 5:IO, 6:{}, 7:Sub, 8:OOP, 9:Rx, 10:Meta |