Hacker News new | ask | show | jobs
by ksherlock 1378 days ago
It's more from sed/awk/shell I suppose.

eg, open FH, "<filename"

vs FILE *fh = fopen("filename","r")

1 comments

For the <,> and variations, sure. Though IO::File has been there a long time and looks a lot more like your C example. IO::Handle also.

Supports, for example:

$fh = IO::File->new("filename", "r");

Or, as with C, things like O_WRONLY|O_APPEND in place of "r".