[19818] in Perl-Users-Digest
Perl-Users Digest, Issue: 2013 Volume: 10
daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Thu Oct 25 21:06:01 2001
Date: Thu, 25 Oct 2001 18:05:09 -0700 (PDT)
From: Perl-Users Digest <Perl-Users-Request@ruby.OCE.ORST.EDU>
To: Perl-Users@ruby.OCE.ORST.EDU (Perl-Users Digest)
Message-Id: <1004058309-v10-i2013@ruby.oce.orst.edu>
Content-Type: text
Perl-Users Digest Thu, 25 Oct 2001 Volume: 10 Number: 2013
Today's topics:
Re: 'bash : *.gif' with regex, any nice idea ? <process@club-internet.fr>
Re: current dir location? <bart.lateur@skynet.be>
Re: current dir location? <tintin@snowy.calculus>
Re: extract file extention from file name <jimbo@soundimages.co.uk>
Filling in PDF files using PERL <pikelner@home.com>
Re: Filling in PDF files using Perl <wsegrave@mindspring.com>
Re: Filling in PDF files using PERL <Jon.Ericson@jpl.nasa.gov>
Re: Fork messes up parent file handle? (Chris Fedde)
Re: Formatting numbers - decimal places nobull@mail.com
Re: how to call a sub from anywhere? <jimbo@soundimages.co.uk>
Re: implicit split to @_ <bart.lateur@skynet.be>
Re: implicit split to @_ <lmaddox@us.ibm.com>
Re: Memory management <joe+usenet@sunstarsys.com>
Re: one-liner solution sought <uri@sysarch.com>
OT: Perl.NET (was: Re: Perl Vs. Java) <tim@vegeta.ath.cx>
Re: Perl + Cygwin + CRLF issues <bart.lateur@skynet.be>
Re: Perl + Cygwin + CRLF issues <dtweed@acm.org>
Re: Perl + Cygwin + CRLF issues <my full name @ yahoo . com>
Re: Ping Script Help Needed <nospam_artd@speakeasy.net>
Re: Regex to swap HTML tags <jimbo@soundimages.co.uk>
Searching for text in a file (Mua Bao)
Re: Searching for text in a file (Chris Fedde)
SetComputerName won't <Randy@nospam.net>
Re: String Substitution (Urgent) <darkon@one.net>
Re: Stripping Duplicates From Arrays <tintin@snowy.calculus>
Re: What the **** is WRONG with this!? <tim@vegeta.ath.cx>
Digest Administrivia (Last modified: 6 Apr 01) (Perl-Users-Digest Admin)
----------------------------------------------------------------------
Date: Thu, 25 Oct 2001 02:55:26 +0200
From: Laurent Stefan <process@club-internet.fr>
Subject: Re: 'bash : *.gif' with regex, any nice idea ?
Message-Id: <3BD762FE.F3CD8CB1@club-internet.fr>
Hi,
Bart Lateur a écrit:
>
> Laurent Stefan wrote:
>
> I'm not exactly sure what you mean... You mean you want an equivalent
> regex for this, er, glob?
I was looking for glob(). But it seems that glob method are heavier and
slower compare with a regex one (for my particular need). So i will try
both (nice snippet !).
thanks.
------------------------------
Date: Thu, 25 Oct 2001 22:06:20 GMT
From: Bart Lateur <bart.lateur@skynet.be>
Subject: Re: current dir location?
Message-Id: <k63httkftd7cg2u1h22k8cfvliqv1jk2lp@4ax.com>
MAGiC MANiAC^mTo wrote:
>How can I find the current dir location?...
use Cwd;
print cwd;
--
Bart.
------------------------------
Date: Fri, 26 Oct 2001 08:11:30 +1000
From: "Tintin" <tintin@snowy.calculus>
Subject: Re: current dir location?
Message-Id: <v70C7.2$7X1.111726@news.interact.net.au>
"MAGiC MANiAC^mTo" <mto@kabelfoon.nl> wrote in message
news:9r9mbn$286b$1@news.kabelfoon.nl...
> current location...
>
> How can I find the current dir location?...
Goodness me. You've been asking alot of questions today. You really should
be reading the FAQ's, the Perl documentation and searching the archives of
this ng.
perldoc Cwd
------------------------------
Date: Fri, 26 Oct 2001 00:54:07 +0100
From: "jimbo" <jimbo@soundimages.co.uk>
Subject: Re: extract file extention from file name
Message-Id: <qC1C7.254$l57.1871@NewsReader>
"Bernard El-Hagin" <bernard.el-hagin@lido-tech.net> wrote
> Blah, blah, blah. And what the hell is /\./ if not a regex?
There is a fundamental difference between expressiing an algorithm using
a regex and expressing an algorithm using a builtin function. The
approach one adopts using split will be markedly different from that
adopted when using a regex approach. But, clearly you understood that,
as shown by your insightful analysis.
In fact, I'm absolutely sure you know the difference, as is clear by all
postings attibuted to you. Although it is entirely possible that all
postings attributed by you may not be posted by you at all.
Yes, split *does* use a pattern. The end result is a list of strings
that are delimited by this pattern. The use of parentheses extends this
tokenising further enabling the astute programmer to obtain a ready to
use list of tokens to operate on in an single pass. But, as I said, you
already knew that.
jimbo
;-)
------------------------------
Date: Thu, 25 Oct 2001 23:27:12 GMT
From: "Frank Pikelner" <pikelner@home.com>
Subject: Filling in PDF files using PERL
Message-Id: <kd1C7.100636$5h5.40575694@news3.rdc2.on.home.com>
Hello,
I have a PDF file (application form) in which I would like to create form
fields using Adobe Acrobat (writer). I'm wondering whether there is a way to
fill in the fields I create in the PDF file using PERL?
I've ready about some commercial products, so I know it is possible. I'm
hoping there are free techniques in accomplishing what I need.
Frank Pikelner
pikelner@home.com
------------------------------
Date: Thu, 25 Oct 2001 19:18:06 -0500
From: "William Alexander Segraves" <wsegrave@mindspring.com>
Subject: Re: Filling in PDF files using Perl
Message-Id: <9raac1$prp$1@slb4.atl.mindspring.net>
"Frank Pikelner" <pikelner@home.com> wrote in message
news:kd1C7.100636$5h5.40575694@news3.rdc2.on.home.com...
> Hello,
>
> I have a PDF file (application form) in which I would like to create form
> fields using Adobe Acrobat (writer). I'm wondering whether there is a way
to
> fill in the fields I create in the PDF file using PERL?
>
> I've ready about some commercial products, so I know it is possible. I'm
> hoping there are free techniques in accomplishing what I need.
>
> Frank Pikelner
> pikelner@home.com
>
>
Yes, it is possible to do what you wish with a Perl script. As this is not
really an issue with Perl, you may wish to pursue this on comp.txt.pdf.
The forms at http://segraves.tripod.com use Perl scripts hosted at Tripod to
convert form data into FDF format, so the data can be saved for later use.
If you submit a blank form, the returned FDF will show you the required
format for FDF.
Experts on this NG may recommend you use CGI.pm. For forms data processing
to produce FDFs, you'll find you need to augment CGI.pm with a few methods
it lacks. I do this with added subroutines or my own FDF.lib, all of which
are written in Perl.
Bill Segraves
Auburn, AL
------------------------------
Date: 25 Oct 2001 16:27:48 +0000
From: Jon Ericson <Jon.Ericson@jpl.nasa.gov>
Subject: Re: Filling in PDF files using PERL
Message-Id: <86ofmvwupn.fsf@jon_ericson.jpl.nasa.gov>
"Frank Pikelner" <pikelner@home.com> writes:
> I have a PDF file (application form) in which I would like to create form
> fields using Adobe Acrobat (writer). I'm wondering whether there is a way to
> fill in the fields I create in the PDF file using PERL?
Have you looked at CPAN? <http://search.cpan.org> If you have to
modify or write a module, consider contibuting your code so others can
use it. The details of the PDF format are off-topic for this group.
Jon
--
"Consider carefully what you hear," he continued. "With the measure
you use, it will be measured to you--and even more. Whoever has
will be given more; whoever does not have, even what he has will be
taken from him." -- Mark 4:24-25 (NIV)
------------------------------
Date: Thu, 25 Oct 2001 23:05:12 GMT
From: cfedde@fedde.littleton.co.us (Chris Fedde)
Subject: Re: Fork messes up parent file handle?
Message-Id: <IU0C7.133$X3.171014144@news.frii.net>
In article <3BD52651.C2860FEB@brighton.ac.uk>,
John English <je@brighton.ac.uk> wrote:
>"John W. Krahn" wrote:
>>
>> John English wrote:
>> >
>> > Chris Fedde wrote:
>> > >
>> > > You might create the smallest reasonable bit of code that exhibits
>> > > the problem you are seeing and try posting that. The problem is likely to
>> > > be in the details.
>> >
>
>$file = $ARGV[0];
>$kids = 0;
>$SIG{CHLD} = sub { wait; $kids--; };
>open CFG, $file or die "Can't open $file: $!\n";
>while (<CFG>) {
> print STDERR "Parent: $_";
> $pid = fork;
> if ($pid) { # parent: increment child count
> $kids++;
> }
> elsif (defined($pid)) { # child: process and exit loop
> &child_process;
> last;
> }
> else { # something went wrong!
> die "Failed to create child: $!\n";
> }
>}
>close CFG;
>exit(0);
>
>sub child_process { print "Child $$: $kids\n"; }
>
It works fine on FreeBSD 4.4-STABLE but does wierd and unexplainable things
on Solaris 8. If I move the print out of child_process and put it in the
elsif it goes really wacky and refuses to terminate. I re-compiled my perl
on solaris with useperlio=defined and the problem is still there.
Hum... I'd say you caught a bug.
--
This space intentionally left blank
------------------------------
Date: 24 Oct 2001 17:47:55 +0100
From: nobull@mail.com
Subject: Re: Formatting numbers - decimal places
Message-Id: <u9pu7dq91g.fsf@wcl-l.bham.ac.uk>
"Tomas" <tomboss2@hotmail.com> writes:
> What do I have to do to make the 13.1 output as 13.10?
perldoc -f sprintf
--
\\ ( )
. _\\__[oo
.__/ \\ /\@
. l___\\
# ll l\\
###LL LL\\
------------------------------
Date: Fri, 26 Oct 2001 00:32:41 +0100
From: "jimbo" <jimbo@soundimages.co.uk>
Subject: Re: how to call a sub from anywhere?
Message-Id: <ji1C7.212$l57.1328@NewsReader>
"Steffen Müller" <tsee@gmx.net> wrote
> Better yet if you want to append something to a var:
He could RTFM. Why do you accept such waste for such simplicity?
jimbo
;-)
------------------------------
Date: Thu, 25 Oct 2001 22:12:43 GMT
From: Bart Lateur <bart.lateur@skynet.be>
Subject: Re: implicit split to @_
Message-Id: <7g3htt0f5jj8tctot0halsso4v79v6rusn@4ax.com>
Tassilo von Parseval wrote:
>Better use the tr/// operator for that:
>
>$length = ($string =~ tr / //) + 1;
>
>This counts the number of whitespaces and adds 1 to that, hence should
>result in the number of words.
$string = ' foo ';
print +($string =~ tr / //) + 1;
->
5
Wow. I'd never have guessed that there were five words there.
--
Bart.
------------------------------
Date: 25 Oct 2001 17:35:05 -0500
From: Ren Maddox <lmaddox@us.ibm.com>
Subject: Re: implicit split to @_
Message-Id: <m34ronuz52.fsf@dhcp9-161.support.tivoli.com>
On 25 Oct 2001, aperrin@email.unc.edu wrote:
> Greetings-
>
> I need to count the number of words, separated by /\s+/, in a
> string. I assumed (apparently correctly) that
>
> my $length = scalar split(/\s+/,$string);
>
> would do the trick, but in the process I get:
> Use of implicit split to @_ is deprecated at html2pg.pl line 183.
Depending on your explicit needs, one of the following may suffice:
my $num_words = () = $string =~ /\w+/g;
my $num_words = () = $string =~ /\S+/g;
From your description, I expect the second will work better.
--
Ren Maddox
lmaddox@us.ibm.com
------------------------------
Date: 25 Oct 2001 18:18:10 -0400
From: Joe Schaefer <joe+usenet@sunstarsys.com>
Subject: Re: Memory management
Message-Id: <m3pu7bqs7x.fsf@mumonkan.sunstarsys.com>
logan@cs.utexas.edu (Logan Shaw) writes:
[...]
> For example, in this code Perl will reclaim the storage for $x after
> it leaves the block:
>
> {
> # create a variable with a huge value
> my $x = "random junk" x 1_000_000;
> }
Care to wager on that? The memory allocated to $x is not freed when
the block exits, and it is never "reclaimed" by perl for any other
purpose. And because of constant folding, which is documented in
perlop, the same is true for the RHS of the "=" operator as well. The
only way to prevent the RHS here from devouring RAM is to wrap it in
an eval q{} statement.
In this situation, perl is optimized to make a fast re-execution of
the block. It typically doesn't yield resources allocated to (the pad
of) that block until the program exits.
Getting back to OP's question, there's not much anyone can say about
why a particular program is chewing up ram without actually seeing
the program. There are lots of development tools (Devel::* on CPAN)
that might help, but OP hasn't given enough details to suggest which
one he might need to use.
--
Joe Schaefer "When the end of the world comes, I want to be in Cincinnati.
Everything happens ten years later there."
--Mark Twain
------------------------------
Date: Thu, 25 Oct 2001 22:09:34 GMT
From: Uri Guttman <uri@sysarch.com>
Subject: Re: one-liner solution sought
Message-Id: <x7pu7b1id0.fsf@home.sysarch.com>
>>>>> "LS" == Logan Shaw <logan@cs.utexas.edu> writes:
LS> In article <x7itd52e2q.fsf@home.sysarch.com>,
LS> Uri Guttman <uri@sysarch.com> wrote:
>> perldoc -q pad
LS> That doesn't seem to work:
LS> $ perldoc -q pad
LS> No documentation for perl FAQ keyword `pad' found
works fine for me on 5.005_03 and 5.6.1
and 'pad' is in the title of an faq.
uri
--
Uri Guttman --------- uri@sysarch.com ---------- http://www.sysarch.com
SYStems ARCHitecture and Stem Development ------ http://www.stemsystems.com
Search or Offer Perl Jobs -------------------------- http://jobs.perl.org
------------------------------
Date: Thu, 25 Oct 2001 23:56:47 GMT
From: Tim Hammerquist <tim@vegeta.ath.cx>
Subject: OT: Perl.NET (was: Re: Perl Vs. Java)
Message-Id: <slrn9thahj.c53.tim@vegeta.ath.cx>
Me parece que Jordan Reed <anomie@my-deja.com> dijo:
[ snippage ]
> It'll be interesting to see how Perl.NET runs in terms of performance. One
> would expect that on Windows machines it will run noticeably faster than
> ActiveState's stuff.
I've been curious about this. M$ has condemned many Open Source
software projects as "potentially viral" (Google for it, if you haven't
heard). So if Microsoft hates (read: is threatened by) Perl so much,
why do they support Perl.NET, not to mention ActiveState's Visual Perl?
Or, since ActivePerl isn't under the Artistic License, does that make it
sufficiently "embraced and extended?"
Just wondering.
Tim
--
How do I type "for i in *.dvi do xdvi i done" in a GUI?
-- discussion in comp.os.linux.misc
------------------------------
Date: Thu, 25 Oct 2001 22:08:58 GMT
From: Bart Lateur <bart.lateur@skynet.be>
Subject: Re: Perl + Cygwin + CRLF issues
Message-Id: <m93htt064lb3l8o42fi6lops8of1ng5khn@4ax.com>
"Eric Tetz" <my full name @ yahoo . com> wrote:
>The point is, the script, as far as I can tell, should be writing out
>exactly what it reads in. Where are these extra characters coming from?
Not using binmode(), I'd say. I'm not familiar with Cygwin's
peculiarities, but that should give you a direction to research.
--
Bart.
------------------------------
Date: Thu, 25 Oct 2001 23:28:51 GMT
From: Dave Tweed <dtweed@acm.org>
Subject: Re: Perl + Cygwin + CRLF issues
Message-Id: <3BD89ECD.45DA3CD8@acm.org>
Bart Lateur wrote:
> "Eric Tetz" <my full name @ yahoo . com> wrote:
> >The point is, the script, as far as I can tell, should be writing out
> >exactly what it reads in. Where are these extra characters coming from?
>
> Not using binmode(), I'd say. I'm not familiar with Cygwin's
> peculiarities, but that should give you a direction to research.
I just came across the same peculiarity myself. For some reason, Cygwin
Perl fails to strip the \r on input, yet it adds one on output. Very
inconsistent. binmode() may help; I haven't tried that yet.
I simply shrugged and attributed the lack of \r stripping on input
to Cygwin's attempt to provide a very Unix-ish environment. But then
it shouldn't add anything on output either.
ActiveState Perl on the same machine handles this correctly, in text
or binary mode.
-- Dave Tweed
------------------------------
Date: Thu, 25 Oct 2001 17:23:06 -0700
From: "Eric Tetz" <my full name @ yahoo . com>
Subject: Re: Perl + Cygwin + CRLF issues
Message-Id: <1004056006.710544@sj-nntpcache-3>
"Dave Tweed" <dtweed@acm.org> wrote:
> I just came across the same peculiarity myself. For some reason, Cygwin
> Perl fails to strip the \r on input, yet it adds one on output. Very
> inconsistent. binmode() may help; I haven't tried that yet.
I suspected as much. I know little about Cygwin, so this is the first I heard
of binmode(). I haven't figured out how to just enable this globally, but did
discover I can type 'mount' to find a directory mounted as 'binary'. I copied
my files there and re-ran the script. Works fine.
> ActiveState Perl on the same machine handles this correctly, in text
> or binary mode.
That's what I'll do, too.
Cheers,
Eric
------------------------------
Date: Thu, 25 Oct 2001 19:12:12 -0400
From: "speakeasy" <nospam_artd@speakeasy.net>
Subject: Re: Ping Script Help Needed
Message-Id: <tth73b3944o78b@corp.supernews.com>
I'm no expert, and I'm sure this snippet will get criticized by all the Perl
Gods, but here:
my $p = Net::Ping->new("icmp");
if ($p->ping($ip)) {
# code here
};
"Alex Davidson" <alexd@NOSPAMsynergycsi.com> wrote in message
news:9r9bh6$id3@dispatch.concentric.net...
> I have the following script in a page in order for me to determine an IP
> being available so I can use an alternate site if necessary:
>
> <SCRIPT LANGUAGE="PerlScript" RUNAT="Server">
> use Net::Ping;
> $host = "216.98.200.32";
> $p = Net::Ping->new();
> $retval = $p->ping($host,1);
> $p->close();
> if ($retval = 0) {
> $Response->Redirect("pingresult.asp?Error=Yes");
> } else {
> $Response->Redirect("pingresult.asp?Error=No");
> }
> </SCRIPT>
>
> 216.98.200.32 comes back as "Destination specified is invalid" when I PING
> it yet this script returns no error.
>
> I have tried:
> if ($retval = "0") {
> if ($retval == "0") {
> if ($retval == 0) {
>
> with similar results (bad and good IPs both show either good or bad) - I
> can't find the syntax to discriminate correctly between reachable and
> unreachable IPs.
>
> As you can tell I am a complete neophyte and not sure of the syntax to
use.
>
> Can someone correct it for me?
>
> Thanks.
>
>
------------------------------
Date: Fri, 26 Oct 2001 00:26:23 +0100
From: "jimbo" <jimbo@soundimages.co.uk>
Subject: Re: Regex to swap HTML tags
Message-Id: <tc1C7.194$l57.1469@NewsReader>
"Logan Shaw" <logan@cs.utexas.edu> wrote
> If so, just do this:
>
> $foo =~ s/<b><li>/<li><b>/;
> $foo =~ s/<i><li>/<li><i>/;
This is broke. It is perfectly legal HTML to have
<b
>
<li
>
and so on. Maybe not the usual kind, but legal nonetheless. So,
forgetting all the other issues that may arise while attempting to
process markup, it might be better to write something like
$foo =~ s/<(b[^>]*)>\s*<(li[^>]*)>/<$2><$1>/;
Also, is there, possibly, an imperative to alter the order of the
closing tags? If so, maybe something like this
$foo =~ s/<(/?b[^>]*)>\s*<(/?li[^>]*)>/<$2><$1>/;
There are several HTML::... modules which will do a far more effective
job than using a simple regex.
jimbo
;-)
------------------------------
Date: 25 Oct 2001 15:26:51 -0700
From: muabao@hotmail.com (Mua Bao)
Subject: Searching for text in a file
Message-Id: <f15abf0e.0110251426.f932c57@posting.google.com>
Hi,
How do I search for a text within a file & pass it to a global
variable within the script?
For ex:
I have my.txt that contains these lines:
Name: John Doe
Age: 24
Sex: Male
How do I open my.txt, search for Age & pass 24 to a global variable
called $age?
Thanks for your help.
MB
------------------------------
Date: Thu, 25 Oct 2001 23:13:51 GMT
From: cfedde@fedde.littleton.co.us (Chris Fedde)
Subject: Re: Searching for text in a file
Message-Id: <P01C7.135$X3.171008000@news.frii.net>
#!/usr/bin/perl
#
# Please forgive the Jeopardy style posting
#
my $global_variable;
while (<DATA>) {
/age:\s+(\d+)$/i and $global_variable = $1;
}
print "$global_variable\n";
__DATA__
In article <f15abf0e.0110251426.f932c57@posting.google.com>,
Mua Bao <muabao@hotmail.com> wrote:
>Hi,
>How do I search for a text within a file & pass it to a global
>variable within the script?
>For ex:
>I have my.txt that contains these lines:
>Name: John Doe
>Age: 24
>Sex: Male
>
>How do I open my.txt, search for Age & pass 24 to a global variable
>called $age?
>
>Thanks for your help.
>MB
--
This space intentionally left blank
------------------------------
Date: Thu, 25 Oct 2001 18:23:50 -0400
From: "Randy Harris" <Randy@nospam.net>
Subject: SetComputerName won't
Message-Id: <tth47thjvp0f05@corp.supernews.com>
I am trying to use Dave Roth's Win32::AdminMisc::SetComputerName on a Win2K
system. It seems to run, does not get an error, but is not changing
everything that is needed. When I reboot and login it shows the new name,
but MyComputer properties and hostname still have the old name.
Anyone know of a problem using this module on Win2K? Is there another way to
change the system name?
TIA
------------------------------
Date: Thu, 25 Oct 2001 22:30:52 -0000
From: David Wall <darkon@one.net>
Subject: Re: String Substitution (Urgent)
Message-Id: <Xns9145BC3F522A2darkononenet@207.126.101.97>
David Wall <darkon@one.net> wrote on 25 Oct 2001:
> sgoyal@proplus.com (Saurabh Goyal) wrote on 25 Oct 2001:
>
>> I have an string having alpha and numberic characters, I just want to
>> replace all _ (underscore) (prefix and suffix to numbers) with .
>> (decimal). Somehow subsitution is not working. Example script is given
>> below:
>>
>> ###################################
>> my $str = "A_D_3_B_1_2_3_4_C"; $str =~ s/(\d)(_)(\d)/\1\.\3/g;
>
> $str =~ tr/_/./;
Oops, I read "replace all _ with .", and missed the bit about only the
underscores around numbers. I've GOT to learn to *read carefully* rather
skim along the way I do with novels and such.
I wondered why everyone was making it so hard.... :-)
--
David Wall
darkon@one.net
------------------------------
Date: Fri, 26 Oct 2001 08:06:24 +1000
From: "Tintin" <tintin@snowy.calculus>
Subject: Re: Stripping Duplicates From Arrays
Message-Id: <K20C7.1$732.162972@news.interact.net.au>
"Joe Giordano" <joeg@optonline.net> wrote in message
news:PaWB7.6375$C7.2592557@news02.optonline.net...
> I currently have a script that looks @ a dat file; each line of the dat
file
> is split on a colon seperating the line into columns. Each column is then
> put into an array. I want to take out or ignore the duplicate variables in
> the array. I then use each variable in the first array in a loop (So
> unfortunatley each time the script uses the same variable I get the same
> results. What is the best way to achieve this.
It's strange how these FAQ's seem to come in groups. One week it's email
address validation, the next it is password encryption, the next hiding
source code and now duplicates and unique seem to be flavour of the week.
What will it be next week? Perhaps whatever the auto FAQ will post in the
middle of the week?
BTW, perldoc -q duplicate
------------------------------
Date: Thu, 25 Oct 2001 23:49:46 GMT
From: Tim Hammerquist <tim@vegeta.ath.cx>
Subject: Re: What the **** is WRONG with this!?
Message-Id: <slrn9tha4e.c53.tim@vegeta.ath.cx>
Me parece que Benjamin Goldberg <goldbb2@earthlink.net> dijo:
> Tim Hammerquist wrote:
> [snip]
> > Good think Windows doesn't have symlinks.
>
> Windows NT does, though only if you are using an NTFS filesystem.
I stand corrected. =) Before I happen to stuff my foot in my mouth
again, do they also have hard links?
We know that Win9x supports a poor-man's symlink with MyFilename.lnk
(which unfortunately carried over into KDE as .kdelnk).
And you're saying that WinNT has symlink on NTFS.
Does any current Windows platform support hard links? If so, I assume
it's only on NTFS, right?
Thx
Tim
--
You know, we've got armadillos in our trousers.
It's really quite frightening.
-- Nigel Tufnel, "This is Spinal Tap"
------------------------------
Date: 6 Apr 2001 21:33:47 GMT (Last modified)
From: Perl-Users-Request@ruby.oce.orst.edu (Perl-Users-Digest Admin)
Subject: Digest Administrivia (Last modified: 6 Apr 01)
Message-Id: <null>
Administrivia:
The Perl-Users Digest is a retransmission of the USENET newsgroup
comp.lang.perl.misc. For subscription or unsubscription requests, send
the single line:
subscribe perl-users
or:
unsubscribe perl-users
to almanac@ruby.oce.orst.edu.
To submit articles to comp.lang.perl.announce, send your article to
clpa@perl.com.
To request back copies (available for a week or so), send your request
to almanac@ruby.oce.orst.edu with the command "send perl-users x.y",
where x is the volume number and y is the issue number.
For other requests pertaining to the digest, send mail to
perl-users-request@ruby.oce.orst.edu. Do not waste your time or mine
sending perl questions to the -request address, I don't have time to
answer them even if I did know the answer.
------------------------------
End of Perl-Users Digest V10 Issue 2013
***************************************