++pg for headspin value ! This code does run on linux
, a small mod to &wanted to make it symlink safe(r)
if (($_ ne ".") && ($_ ne "..") && (! -l $_)) {
However when the hash is unrolled, the first key is null, and
keys are generated all the way down to the actual search base.
eg: running this script on /usr/local/html/users/me
returns
VAR1='' => {
'usr'=> {
'local' => {
'html' => {
'me' => {
etc,etc. Before the real search begins.
So to accomodate for that we can change the assignment to @elements
@elements = split("/" , substr($File::Find::name, length($ARGV[0])));
Obviously that shift @ARGV had to be replaced with
$ARGV[0] , which might be
better done assigning to a
(heaven forefend) global.
'b'x2 || ! 'b'x2
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.