>Basically, it's shorthand for the current syntax: > $message = <<" EOF" =~ s/^\s*\| ?//g; > | Attention criminal slacker, we have yet > | to receive payment for our legal services. > | > | Love and kisses > | > EOF > print $message; >But any inconsistencies or errors in my examples should not detract from the >general idea. But you don't need that when you can and possibly should just write this: print <<" EOF" =~ /^\s*\| ?(.*\n)/g; | Attention criminal slacker, we have yet | to receive payment for our legal services. | | Love and kisses | EOF {--tom
- Re: RFC 111 (v1) Whitespace and Here Docs Bryan C . Warnock
- Re: RFC 111 (v1) Whitespace and Here Docs Michael G Schwern
- Re: RFC 111 (v1) Whitespace and Here Docs Peter Scott
- Re: RFC 111 (v1) Whitespace and Here Docs Tom Christiansen
- Re: RFC 111 (v1) Whitespace and Here Docs Peter Scott
- Re: RFC 111 (v1) Whitespace and Here Docs Casey R. Tweten
- Re: RFC 111 (v1) Whitespace and Here Do... Tom Christiansen
- Re: RFC 111 (v1) Whitespace and Here Docs Michael Fowler
- Re: RFC 111 (v1) Whitespace and Here Docs Tom Christiansen
- Re: RFC 111 (v1) Whitespace and Here Docs Michael Fowler
- Re: RFC 111 (v1) Whitespace and Here Do... Tom Christiansen
- Re: RFC 111 (v1) Whitespace and He... Michael Fowler
- Re: RFC 111 (v1) Whitespace and Here Docs Peter Scott
- Re: RFC 111 (v1) Whitespace and Here Docs Michael Fowler
- Re: RFC 111 (v1) Whitespace and Here Docs Nathan Wiger
- Re: RFC 111 (v1) Whitespace and Here Docs Bart Lateur
- Re: RFC 111 (v1) Whitespace and Here Docs Richard Proctor
- Re: RFC 111 (v1) Whitespace and Here Docs Tom Christiansen