PERLFREEBSD(1) Perl Programmers Reference Guide PERLFREEBSD(1)NAME
perlfreebsd - Perl version 5 on FreeBSD systems
DESCRIPTION
This document describes various features of FreeBSD that will affect how Perl version 5 (hereafter just Perl) is compiled and/or runs.
FreeBSD core dumps from readdir_r with ithreads
When perl is configured to use ithreads, it will use re-entrant library calls in preference to non-re-entrant versions. There is a bug in
FreeBSD's "readdir_r" function in versions 4.5 and earlier that can cause a SEGV when reading large directories. A patch for FreeBSD libc
is available (see http://www.freebsd.org/cgi/query-pr.cgi?pr=misc/30631 ) which has been integrated into FreeBSD 4.6.
$^X doesn't always contain a full path in FreeBSD
perl sets $^X where possible to a full path by asking the operating system. On FreeBSD the full path of the perl interpreter is found by
using "sysctl" with "KERN_PROC_PATHNAME" if that is supported, else by reading the symlink /proc/curproc/file. FreeBSD 7 and earlier has a
bug where either approach sometimes returns an incorrect value (see http://www.freebsd.org/cgi/query-pr.cgi?pr=35703 ). In these cases
perl will fall back to the old behaviour of using C's argv[0] value for $^X.
AUTHOR
Nicholas Clark <nick@ccl4.org>, collating wisdom supplied by Slaven Rezic and Tim Bunce.
Please report any errors, updates, or suggestions to perlbug@perl.org.
perl v5.16.3 2013-03-04 PERLFREEBSD(1)
Check Out this Related Man Page
PERLFREEBSD(1) Perl Programmers Reference Guide PERLFREEBSD(1)NAME
README.freebsd - Perl version 5 on FreeBSD systems
DESCRIPTION
This document describes various features of FreeBSD that will affect how Perl version 5 (hereafter just Perl) is compiled and/or runs.
FreeBSD core dumps from readdir_r with ithreads
When perl is configured to use ithreads, it will use re-entrant library calls in preference to non-re-entrant versions. There is a bug in
FreeBSD's "readdir_r" function in versions 4.5 and earlier that can cause a SEGV when reading large directories. A patch for FreeBSD libc
is available (see http://www.freebsd.org/cgi/query-pr.cgi?pr=misc/30631 ) which has been integrated into FreeBSD 4.6.
$^X doesn't always contain a full path in FreeBSD
perl 5.8.0 sets $^X where possible to a full path by asking the operating system. On FreeBSD the full path of the perl interpreter is found
by reading the symlink /proc/curproc/file. There is a bug on FreeBSD, where the result of reading this symlink is can be wrong in certain
circumstances (see http://www.freebsd.org/cgi/query-pr.cgi?pr=35703 ). In these cases perl will fall back to the old behaviour of using
C's argv[0] value for $^X.
Perl will no longer be part of "base FreeBSD"
Not as bad as it sounds--what this means is that Perl will no longer be part of the kernel build system of FreeBSD. Perl will still very
probably be part of the "default install", and in any case the latest version will be in the ports system. The first FreeBSD version this
change will affect is 5.0, all 4.n versions will keep the status quo.
AUTHOR
Nicholas Clark <nick@ccl4.org>, collating wisdom supplied by Slaven Rezic and Tim Bunce.
Please report any errors, updates, or suggestions to perlbug@perl.org.
perl v5.12.1 2010-04-26 PERLFREEBSD(1)
my box is FreeBSD4.3 and I use Perl 5.0005_03.
Here is the CGI script.
test.cgi
......
if ($query->action eq 'detail') {
......
print $query->hidden('action', 'modify');
......
}
I found that the result of
test.cgi?action=detail
is not what I expected.
the script does not... (4 Replies)
Hey all :)
I finally got around to installing FreeBSD 4.4, which considering it's my first attempt with *nix, didn't go too badly. I've managed to configure X and everything else, but I've got a bit of a problem, lol.
I installed KDE and GNOME. I had a rough idea as to what they were, but I... (5 Replies)
Hi, would anybody kindly help me as I am new in FreeBSD 4.4 (downloaded iso image from FreeBSD.org) and have installed it to an HP VEctra Pentium 1-166Mhz PC, have installled all the devices mouse,video card,monitor and some ports specifically to Xfree86 and all gnome related to "X" but when I type... (3 Replies)
From FreeBSD how could I access files/directories in my Windows XP machine (networked) Is there any program in FreeBSD/Unix that I could use to emulate/control my Windows XP machine and what do I need to enable or install in my Windows XP machine (6 Replies)
Hey, new to thse boards :)
Running FreeBSD 5, i have got a basic knowledge of Unix, and freeBSD so should not be that hard. I use freebsd to run some game servers since it's stable and uses less resources than windows and what not.
Only problem is that the game i am running doesn't have a... (3 Replies)
Hello,
I am using FreeBSD on my laptop (R60) and currently it is working great, however, I am having trouble connecting to open or WEP secured networks.
I have read the FreeBSD handbook regarding this many times. That is how I found out how to connect to WPA networks. If anyone could post a... (4 Replies)
/ ports / textproc / htmlisehttp://cvsweb.freebsd.org/ports/textproc/htmlise
I've installed this but I can't find any documentation -anywhere- on how to use it. There is no man or help switch available for this. Can anybody give me some insight on what syntax it requires or a simple example on... (3 Replies)
Dear friends out there, i hope u'll have enough time to read this problem of mine and try to help me solve it. well, i've been a long time user of microsoft products and happened to come across FreeBSD when one fellow referred me to it saying that it was a wonderful OS which one could use for web... (6 Replies)
I have used FreeBSD for sometime now and i find it great lest its ACPI support
My Question is for a recent laptop
AMD TURION X2 2GHZ TL-60 Tyler
3GB RAM
8400M G
Are there any other GUIs that is great with these specs
I have been using GNOME lite
I hate KDE because of the K
What will i lose... (4 Replies)
I'm using Windows mostly and the only *nix thing I used during my life was cygwin (I like command line :)).
But currently I have (by an occasion) a DVD with latest FreeBSD. I don't know why, but I want to install it...
But probably, this OS is too difficult for a beginner. I heard, it's used on... (3 Replies)
Hi,
i'm working on micro$oft windows based networking environment's. i want learn other os than micro$oft windows. i tested FreeBSD & Gnu/Linux (Fedora). both are similar. which of following is best choice for me? for networking? and which of them has future (for e.g not discontinued after 2... (3 Replies)
Hi guys, i'm programming in C for Linux but i preferred to program in FreeBSD and some FreeBSD system calls are not available in Linux and i want to make my code portable but i don't now really how, but i think if i used some C preprocessors i can make it portable, and the problems is that i don't... (8 Replies)
After just posting a query on beginners@perl.org inquiring about the perl API for automating useradd/userdel/usermod on FreeBSD, I got to thinking:
Maybe perl is not the best approach to automating useradd/usermod/userdel.
We have a list of users from a windows system and we want to run a... (5 Replies)