[Catalyst] Catalyst/Manual/Cookbook.pod seems a mistake
chunzi
chunzi at perlchina.org
Sat Apr 16 16:37:14 CEST 2005
DQppbiBodHRwOi8vc2VhcmNoLmNwYW4ub3JnL35zcmkvQ2F0YWx5c3QtNS4wMC9saWIvQ2F0YWx5
c3QvTWFudWFsL0Nvb2tib29rLnBvZA0Kc2VjdGlvbiBhYm91dCAiTXVsdGlwbGUgZmlsZSB1cGxv
YWQgd2l0aCBDYXRhbHlzdCINCg0KdGhlIGV4YW1wbGUgY29kZToNCi0tLS0tLS0tLS0tLS0tLS0t
LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tDQog
ICAgc3ViIHVwbG9hZCA6IExvY2FsIHsNCiAgICAgICAgbXkgKCRzZWxmLCAkYykgPSBAXzsNCg0K
ICAgICAgICBpZiAoICRjLT5yZXF1ZXN0LT5wYXJhbWV0ZXJzLT57Zm9ybV9zdWJtaXR9IGVxICd5
ZXMnICkgew0KDQogICAgICAgICAgICBmb3IgbXkgJGZpZWxkICggJGMtPnJlcS0+dXBsb2FkICkg
ew0KDQogICAgICAgICAgICAgICAgbXkgJGZpbGVuYW1lID0gJHVwbG9hZC0+ZmlsZW5hbWU7DQog
ICAgICAgICAgICAgICAgbXkgJHRhcmdldCAgID0gIi90bXAvdXBsb2FkLyRmaWxlbmFtZSI7DQog
ICAgICAgICAgICAgICAgDQogICAgICAgICAgICAgICAgdW5sZXNzICggJHVwbG9hZC0+bGlua190
bygkdGFyZ2V0KSB8fCAkdXBsb2FkLT5jb3B5X3RvKCR0YXJnZXQpICkgew0KICAgICAgICAgICAg
ICAgICAgICBkaWUoICJGYWlsZWQgdG8gY29weSAnJGZpbGVuYW1lJyB0byAnJHRhcmdldCc6ICQh
IiApOw0KICAgICAgICAgICAgICAgIH0NCiAgICAgICAgICAgIH0NCiAgICAgICAgfQ0KDQogICAg
ICAgICRjLT5zdGFzaC0+e3RlbXBsYXR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LT57dGVtcGxhdGV9ID0gJ2Zp
bGVfdXBsb2FkLmh0bWwnOw0KICAgIH0NCi0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t
LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tDQoNCg0KoaGhoaGhoaGhoaGh
oaGhoWNodW56aQ0KoaGhoaGhoaGhoaGhoaGhoWNodW56aUBwZXJsY2hpbmEub3JnDQqhoaGhoaGh
oaGhoaGhoaGhoaGhoTIwMDUtMDQtMTYNCg==
More information about the Catalyst
mailing list