From: Brian I. <briani@ActiveState.com> - 2001-05-27 19:51:18
|
I just realized that YAML could be used to "tar" up an entire Unix directory structure and transport it. And the content of course would be human readable. usr : #(drwxr-xr-x;root;root) % bin : #(drwxr-xr-x;root;root) % yar : #(-rwxr-xr-x;root;root) `base64encoding of yar` local : #(drwxr-xr-x;root;root) % file : #(-rw-r--r--;ingy;users) |Contents of |the file. \ Pretty neat eh. I wonder how large it would be after gzip? Cheers, Brian PS We should keep a list of potential uses for YAML. -- perl -le 'use Inline C=>q{SV*JAxH(char*x){return newSVpvf ("Just Another %s Hacker",x);}};print JAxH+Perl' |