MIME::Head
Honza Pazdziora
adelton na informatics.muni.cz
Sobota Únor 6 17:28:25 MET 1999
>
> potreboval bych pouzit MIME::Head, ale ono to umi nacitat
> data jen ze souboru. Ja mam bohuzel uz tu hlavicku ve stringu. Takze
> je mozne nejak prevest string na nejaky virtualni soubor (aniz bych
> ten string ukladal do docasneho souboru)?
No, podle man Mail::Header(3) by melo jit
new ( [ ARG ], [ OPTIONS ] )
ARG may be either a file descriptor (reference to a
GLOB) or a reference to an array. If given the new
object will be initialized with headers either from the
array of read from the file descriptor.
Takze
use MIME::Head;
my $headers = "Content-Type: jezek\nX-X: OK\n";
my $header = new MIME::Head([ split /\n/, $headers ]);
------------------------------------------------------------------------
Honza Pazdziora | adelton na fi.muni.cz | http://www.fi.muni.cz/~adelton/
I just got back from vacation and started to clean my mailbox -- sorry
if you had to wait for this email.
Další informace o konferenci Perl