Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Perl Beginners > Re: I guess I d...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 2 Topic 10990 of 11518
Post > Topic >>

Re: I guess I don't understand modules

by chas.owens@[EMAIL PROTECTED] (Chas. Owens) Apr 26, 2008 at 06:56 AM

On Sat, Apr 26, 2008 at 1:59 AM, stevem <stevem@[EMAIL PROTECTED]
> wrote:
snip
>  my $f      = Audio::TagLib::FileRef->new("_tune.mp3");
snip
>                 $ft = Audio::Taglib::FileRef->new($f);
snip
>  Can't locate object method "new" via package "Audio::Taglib::FileRef"
>  (perhaps you forgot to load "Audio::Taglib::FileRef"?) at ./sndxfer
line
>  213.
>
>  Of course I have "use Audio::TagLib;" at the beginning of my program.
>  What else do I need to know to use CPAN modules?
snip

Take a closer look at the second package name.  It is TagLib, not
Taglib.  Case is very im****tant in Perl.

-- 
Chas. Owens
wonkden.net
The most im****tant skill a programmer can have is the ability to read.
 




 2 Posts in Topic:
I guess I don't understand modules
stevem@[EMAIL PROTECTED]   2008-04-25 22:59:44 
Re: I guess I don't understand modules
chas.owens@[EMAIL PROTECT  2008-04-26 06:56:03 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Thu Jul 24 13:03:36 CDT 2008.