Re: Module Proposal: Video::FourCC

2009-01-14 Thread Ben Morrow
Quoth jonathan.i...@gmail.com ("Jonathan Yu"): > All: > > I like the idea of using SQLite because it's small, runs on most > operating systems and fast. It's also got less memory overhead, which > is certainly a good thing. > > However, with respect to using File::ShareDir; the module finds the

Re: S_IFLNK() Availability on Win32 (and other non-UNIX systems)

2009-01-14 Thread Ben Morrow
Quoth rgarciasua...@gmail.com ("Rafael Garcia-Suarez"): > > Dunno. Does Windows 7 implement symbolic links ? I think that's > unlikely. Windows has had symlinks (and hard links) when using NTFS since at least Win2k, but they aren't much used and there isn't any libc support (also, Explorer tends

Re: S_IFLNK() Availability on Win32 (and other non-UNIX systems)

2009-01-14 Thread Aristotle Pagaltzis
* Rafael Garcia-Suarez [2009-01-14 17:45]: > That's what _ is for : it stores the result of the last stat or > lstat. (see perldoc -f stat) Only if you do those extra tests right away. You can’t store it in an object member field for later inspection and expect that its value will be unchanged a

Re: S_IFLNK() Availability on Win32 (and other non-UNIX systems)

2009-01-14 Thread Rafael Garcia-Suarez
2009/1/14 Shlomi Fish : >> What's wrong with using _ instead ? > > Well, I'm storing the result of stat somewhere, and then checking for whether > it's a link or not only later. I guess I can also store the return code of -l > and other things I'm interested in. That's what _ is for : it stores th

Re: S_IFLNK() Availability on Win32 (and other non-UNIX systems)

2009-01-14 Thread Alexandr Ciornii
Hi. 2009/1/14 Rafael Garcia-Suarez : > 2009/1/14 Shlomi Fish : >> Obviously, it doesn't work on Windows at that report. My questions are: >> >> 1. Can I ever expect it to work on Windows? > > Dunno. Does Windows 7 implement symbolic links ? I think that's > unlikely. Vista has symbolic links. >>

Re: S_IFLNK() Availability on Win32 (and other non-UNIX systems)

2009-01-14 Thread Rafael Garcia-Suarez
2009/1/14 Shlomi Fish : > Hi all, > > I recently uploaded File-Find-Object-0.1.6 to CPAN and got this errror report > on MSWin32: > > http://www.nntp.perl.org/group/perl.cpan.testers/2009/01/msg3039451.html > > Reading from there, we see the following: > > {{{ > Your vendor has not defined Fcntl ma

Re: Module Proposal: Video::FourCC

2009-01-14 Thread Jonathan Yu
All: I like the idea of using SQLite because it's small, runs on most operating systems and fast. It's also got less memory overhead, which is certainly a good thing. However, with respect to using File::ShareDir; the module finds the directory appropriately, but I'm at a loss as to how to config

Re: S_IFLNK() Availability on Win32 (and other non-UNIX systems)

2009-01-14 Thread Shlomi Fish
On Wednesday 14 January 2009 11:29:03 Rafael Garcia-Suarez wrote: > 2009/1/14 Shlomi Fish : > > Hi all, > > > > I recently uploaded File-Find-Object-0.1.6 to CPAN and got this errror > > report on MSWin32: > > > > http://www.nntp.perl.org/group/perl.cpan.testers/2009/01/msg3039451.html > > > > Read

S_IFLNK() Availability on Win32 (and other non-UNIX systems)

2009-01-14 Thread Shlomi Fish
Hi all, I recently uploaded File-Find-Object-0.1.6 to CPAN and got this errror report on MSWin32: http://www.nntp.perl.org/group/perl.cpan.testers/2009/01/msg3039451.html Reading from there, we see the following: {{{ Your vendor has not defined Fcntl macro S_IFLNK, used at C:/Perl/lib/Fcntl.pm