Hi,

no sorry it is not use but use lib $datadir."Module";
just a typo

awards

"Jeff 'Japhy' Pinyan" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On Aug 2, awarsd said:
>
> >I messed around and found that
> >if in config i do $datadir = "/my/path/";
> >instead o f$datadir= "/my/path";
> >
> >then in my script i do
> >#!/usr/bin/perl
> >require 'config.pl';
> >use $datadir."Module";
> >
> >everything works again.
>
> I don't know how "everything works".  You haven't changed the problem at
> all.  That gives me a syntax error.  And even if it didn't, you haven't
> changed the fact that 'use' is using $datadir, which HAS NOT BEEN DEFINED
> yet.
>
> -- 
> Jeff "japhy" Pinyan      [EMAIL PROTECTED]      http://www.pobox.com/~japhy/
> RPI Acacia brother #734   http://www.perlmonks.org/   http://www.cpan.org/
> <stu> what does y/// stand for?  <tenderpuss> why, yansliterate of course.
> [  I'm looking for programming work.  If you like my work, let me know.  ]
>
>



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to