Hmmm.

Although its sufficing my needs but I wanted a way to pass an undef. May be
I will have make it undef manually if an input parameter is an empty string
or something like that.

Anyway thanks. :)

Cheers,
Parag




On Sun, Jan 10, 2010 at 1:49 AM, Shlomi Fish <[email protected]> wrote:

> Hi Parag!
>
> On Saturday 09 Jan 2010 22:04:40 Parag Kalra wrote:
> > Or let me put it this way - How can we pass an input parameter as an
> undef
> >
>
> You can't put an undef in an @ARGV argument from the command line because
> all
> command-line arguments are strings. However, you can have it as an empty
> string:
>
> <<<
> $ perl input.pl One "" Three
> >>>
>
> Regards,
>
>        Shlomi Fish
>
> > Cheers,
> > Parag
> >
>
> --
> -----------------------------------------------------------------
> Shlomi Fish       http://www.shlomifish.org/
> Parody on "The Fountainhead" - http://shlom.in/towtf
>
> Bzr is slower than Subversion in combination with Sourceforge.
> ( By: http://dazjorz.com/ )
>

Reply via email to