Deb wrote:
>
> At 17:26:25, on 12.31.03:
> Cracks in my tinfoil beanie
> allowed Rob Dixon to seep these bits into my brain:,
>
> > (full marks for using -w but 'use strict' would help even more).
>
> Ack! Caught me again. I guess I'm not paying attention!
We're not going to leave you alone unti
Please see response, inline:
At 17:26:25, on 12.31.03:
Cracks in my tinfoil beanie
allowed Rob Dixon to seep these bits into my brain:,
>
> Hi Deb.
Hi Rob!
> Perl is trying to expand $2 in your string. Since Perl's $2 is undefined it
> gives you the warning (full marks for using -w but 'use str
Deb wrote:
>
> I need help understanding why I'm getting this complaint,
>
> Use of uninitialized value in concatenation (.) or string at test.pl line 2.
>
> It says its unitialized, but isn't the my $status initializing the scalar?
> I'm so confused.
>
> Here's the code:
>
>
> #!/usr/local/bin/per
I need help understanding why I'm getting this complaint,
Use of uninitialized value in concatenation (.) or string at test.pl line 2.
It says its unitialized, but isn't the my $status initializing the scalar?
I'm so confused.
Here's the code:
#!/usr/local/bin/perl -w
my $status = `ps -ef |