editi has asked for the wisdom of the Perl Monks concerning the following question:
thanks in advance.#!/usr/bin/perl open FILE, ">123.txt" or die $!; print pack("b*","a","b","c") or die $!; close FILE;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Write a File in Binary?
by Adrade (Pilgrim) on Jul 03, 2007 at 17:27 UTC | |
|
Re: Write a File in Binary?
by kyle (Abbot) on Jul 03, 2007 at 17:31 UTC | |
|
Re: Write a File in Binary?
by marto (Cardinal) on Jul 03, 2007 at 17:33 UTC | |
|
Re: Write a File in Binary?
by Limbic~Region (Chancellor) on Jul 03, 2007 at 17:28 UTC |