9 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
First of all -- thanks for being patient with me. I hope I'm submitting this correctly. Also I haven't done UNIX Admin since the early 1990's. I'm actually a DBA. But, since I'm the one in the office with the UNIX experience, I'm the SA.
I haven't been able to compile GCC 6.3.0 which I need... (9 Replies)
Discussion started by: PJ_Namias
9 Replies
2. UNIX for Advanced & Expert Users
Hi,
I noticed a weird behavior in extundelete way to choose the filename to which it will restore a given inode. Here is an example :
root@rescue:~# for after in '' 0 740 741 $(date -d 'now - 1 year' +%s); do rm -rf RECOVERED_FILES/; echo -e "$(date -d@$after 2> /dev/null || echo No... (4 Replies)
Discussion started by: chebarbudo
4 Replies
3. Red Hat
I need to install a older version of gnupg but not delete the current version of gnup2 on RHEL 6.4. What would be the correct syntax to install this? Tried to install and relocate it and still getting conflicts.
aXXXXXX:root# rpm -ivh /root/rpmbuild/RPMS/x86_64/gnupg-1.4.16-1.x86_64.rpm... (2 Replies)
Discussion started by: soupbone38
2 Replies
4. Programming
Hi: in the info page for readline library I read
-- Function: void rl_variable_dumper (int readable)
Print the readline variable names and their current values to
`rl_outstream'. If READABLE is non-zero, the list is formatted in
such a way that it can be made part of an... (1 Reply)
Discussion started by: stf92
1 Replies
5. UNIX for Dummies Questions & Answers
Hi just wondering really ......
I've done a showrev -p and am somewhat surprised to see apparently multiple different versions of the same patches ......
112161-02
112161-03
112161-04
It's my understanding that a newer revision of a patch , -04 in this case supercedes all previous... (2 Replies)
Discussion started by: Martincorneuk
2 Replies
6. Programming
Ok I was trying to test if I installed correctly gsl, I followed the INSTALL file and still I don't know what is wrong. Here is a sample code to test gel,I got it from Random Number Generator Examples - GNU Scientific Library -- Reference Manual
(note: made a few changes in the code)
#include... (2 Replies)
Discussion started by: joseamck
2 Replies
7. UNIX and Linux Applications
Since apt-get and yum won't let you install multiple versions of firefox I will explain how to here.
1. Go to this page and decide which version of firefox you want.
ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/
I used this one. ... (0 Replies)
Discussion started by: cokedude
0 Replies
8. UNIX for Dummies Questions & Answers
Hello
we are using java 1.2 in our shell / env
it is also set in the main JAVA_HOME env var ,
but we have also java 1.4 installed , now we need to use new application that uses only java1.4
is there any way to point this specific application to use java 1.4 without changing the global... (2 Replies)
Discussion started by: umen
2 Replies
9. Shell Programming and Scripting
Hi all ---
I have the need to manage multiple versions of a set of utility scripts -- both shell and SQL and other .dat files. I am wondering if anyone out there knows of a good way to "PATH" to SQL and text files in a way similar to how PATH facilitates finding executables in a pre-specified... (2 Replies)
Discussion started by: DennisB
2 Replies
Courriel::Part::Multipart(3pm) User Contributed Perl Documentation Courriel::Part::Multipart(3pm)
NAME
Courriel::Part::Multipart - A part which contains other parts
VERSION
version 0.29
SYNOPSIS
my $headers = $part->headers();
my $ct = $part->content_type();
for my $subpart ( $part->parts ) { ... }
DESCRIPTION
This class represents a multipart email part which contains other parts.
API
This class provides the following methods:
Courriel::Part::Multipart->new( ... )
This method creates a new part object. It accepts the following parameters:
o parts
An array reference of part objects (either Single or Multipart). This is required, but could be empty.
o content_type
A Courriel::Header::ContentType object. This defaults to one with a mime type of "multipart/mixed".
o boundary
The part boundary. If none is provided, a unique value will be generated.
o preamble
Content that appears before the first part boundary. This will be seen by email clients that don't understand multipart messages.
o epilogue
Content that appears after the final part boundary. The spec allows for this, but it's probably not very useful.
o headers
A Courriel::Headers object containing headers for this part.
$part->parts()
Returns an array (not a reference) of the parts this part contains.
$part->part_count()
Returns the number of parts this part contains.
$part->boundary()
Returns the part boundary.
$part->mime_type()
Returns the mime type for this part.
$part->content_type()
Returns the Courriel::Header::ContentType object for this part.
$part->headers()
Returns the Courriel::Headers object for this part.
$part->is_inline(), $part->is_attachment()
These methods always return false, but exist for the sake of providing a consistent API between Single and Multipart part objects.
$part->is_multipart()
Returns true.
$part->preamble()
The preamble as passed to the constructor.
$part->epilogue()
The epilogue as passed to the constructor.
$part->container()
Returns the Courriel or Courriel::Part::Multipart object to which this part belongs, if any. This is set when the part is added to another
object.
$part->stream_to( output => $output )
This method will send the stringified part to the specified output. The output can be a subroutine reference, a filehandle, or an object
with a "print()" method. The output may be sent as a single string, as a list of strings, or via multiple calls to the output.
See the "as_string()" method for documentation on the "charset" parameter.
$part->as_string()
Returns the part as a string, along with its headers. Lines will be terminated with "
".
ROLES
This class does the "Courriel::Role::Part" and Courriel::Role::Streams roles.
AUTHOR
Dave Rolsky <autarch@urth.org>
COPYRIGHT AND LICENSE
This software is Copyright (c) 2012 by Dave Rolsky.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)
perl v5.14.2 2012-03-07 Courriel::Part::Multipart(3pm)