Hi
I am very very sorry for questioning like an idiot. Please forgive me for
such a silly question.

Thanks & Regards in advance
Anirban Adhikary.



On Thu, Jul 10, 2008 at 11:55 AM, Anirban Adhikary <
[EMAIL PROTECTED]> wrote:

>
> Hi
> Can u please tell me where i need to use ' instead of " and what will be
> the syntax of that string. Because when I am using perl -MDBI -e "print
> $DBI::VERSION;" on my linux system I am not getting any output but the
> second option is working fine.
>
> Thanks & Regards in advance
> Anirban Adhikary.
>
>
>
> ---------- Forwarded message ----------
> From: Octavian Rasnita <[EMAIL PROTECTED]>
> Date: Thu, Jul 10, 2008 at 11:02 AM
> Subject: Re: perl module version checking
> To: Anirban Adhikary <[EMAIL PROTECTED]>, beginners@perl.org
>
>
> From: "Anirban Adhikary" <[EMAIL PROTECTED]>> Dear List
> > Can U please tell me how to check the version of any installed module in
> > perl. If I want to check the version of version of DBI module then what
> is
> > the syntax for it?
> >
> > Thanks & Regards in advance
> > Anirban Adhikary
>
> You can do:
>
> perl -MDBI -e "print $DBI::VERSION;"
>
> or shorter:
>
> perl -M"DBI 999" -e1
>
> which will give an error telling that this is a lower version of DBI than
> the one requested and it will also give the version.
>
> If you do it under Unix/Linux, use ' instead of ".
>
> Octavian
>
>
>

Reply via email to