Can someone explain this to me?
From: Stan Brown (stanb_at_panix.com)
Date: 10/31/03
- Next message: Uri Guttman: "Re: Projects"
- Previous message: James Willmore: "Re: Need help with OCIDefineObject"
- Next in thread: Jeff 'japhy' Pinyan: "Re: Can someone explain this to me?"
- Reply: Jeff 'japhy' Pinyan: "Re: Can someone explain this to me?"
- Reply: A. Sinan Unur: "Re: Can someone explain this to me?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 31 Oct 2003 16:07:42 +0000 (UTC)
I'm trying to use the Video::Capture module (which has no docs) to capture
images from multple cards. I've finally found the following snippet of
code in the perl module itself:
sub new(;$) {
my $class = shift;
my $device = shift || "/dev/video0";
my $self = bless { device => $device }, $class;
It looks like the devie needs to be passed as the 2nd argument to the new
call., and if a 2nd arg is not received it defaults to the first card.
So far so good. Probel is the example cdoe I have passes _NO_ arguments to
the new call. Any idea what the first one should be?
-- "They that would give up essential liberty for temporary safety deserve neither liberty nor safety." -- Benjamin Franklin
- Next message: Uri Guttman: "Re: Projects"
- Previous message: James Willmore: "Re: Need help with OCIDefineObject"
- Next in thread: Jeff 'japhy' Pinyan: "Re: Can someone explain this to me?"
- Reply: Jeff 'japhy' Pinyan: "Re: Can someone explain this to me?"
- Reply: A. Sinan Unur: "Re: Can someone explain this to me?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|