What am I doing wrong?
Trying to use this feature on a version of Perl that doesn't support it.
Update: I'm not sure why, but I decided to expand on this. If you have Perl prior to version 5.6, then setting $/ to \20 will cause <> to read until it finds the string "SCALAR(0xbadf00d)" (approximately).
- tye (but my friends call me "Tye")In reply to (tye)Re: Reading fixed length records
by tye
in thread Reading fixed length records
by tigervamp
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |