[Chicago-talk] string operator question.
Andy Lester
andy at petdance.com
Sat Sep 12 06:53:56 PDT 2009
On Sep 12, 2009, at 8:52 AM, Richard Reina wrote:
> require "/usr/src/laundpad/ORD_processor.pl";
> my $result = process($number);
>
>
> snip
>
> #!/usr/bin/perl -w
> # ORD_processor.pl
>
> sub process {
>
> print "I will attempt to process " . $number . "\n";
> chomp (my $XX = <STDIN>);
>
> }
You're not taking number as the arg to process(). You need
my $number = shift;
xoxo,
Andy
--
Andy Lester => andy at petdance.com => www.theworkinggeek.com => AIM:petdance
More information about the Chicago-talk
mailing list