Re: Question about activestate perl

[email protected] ("Saiful Amin")
Newsgroups perl.perl4lib
Message-ID <[email protected]>
On Tue, Apr 22, 2008 at 8:25 PM, Anne L. Highsmith <[email protected]> wrote:

> ---------------------------------------------------------------
> #!/usr/local/ActivePerl-5.8/bin/perl -w
>
> my $test = shift;
> print "$test\n";
> ----------------------------------------------------------------
>

I don't know if I'm getting what you want to achieve. But this works in my
installation of ActiveState Perl:

my $test = <>;
print "$test\n";

I think $ARGV() is used for command line parameters.

-- 
Saiful Amin
+91 9343826438
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.