abcdefg has asked for the wisdom of the Perl Monks concerning the following question:
I wrote a script where I am appending three binary files together.The second file being a 32bytes of zeroes in binary format.Now I dont want to have this second file and i want to add these 32 bytes of zeroes in the script itself.I am not sure how to do that.
$cmd = "copy $vrl_1.bin/B + $32bytes.bin/B + $2.bin $3.bin"; system $cmd;
i am not sure how can i hardcode the 32bytes of zeroes in this script.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: accessing randon number from perl script
by TomDLux (Vicar) on May 24, 2012 at 19:10 UTC | |
Re: accessing randon number from perl script
by roboticus (Chancellor) on May 24, 2012 at 18:47 UTC | |
Re: accessing randon number from perl script
by ww (Archbishop) on May 24, 2012 at 22:42 UTC |
Back to
Seekers of Perl Wisdom