Perl Monk, Perl Meditation | |
PerlMonks |
Re: write command failingby shmem (Chancellor) |
on May 07, 2018 at 23:59 UTC ( [id://1214179]=note: print w/replies, xml ) | Need Help?? |
The variables used in the format spec for the format directive and those used by write must be compiled into the same scope, or be visible in each other's. Just an idea, can't tell from the code you posted whether that's not the case.
perl -le'print map{pack c,($-++?1:13)+ord}split//,ESEL'
In Section
Seekers of Perl Wisdom
|
|