Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Re: Red Perl part I

by ysth (Canon)
on May 02, 2004 at 08:44 UTC ( [id://349784] : note . print w/replies, xml ) Need Help??


in reply to Re: Red Perl part I
in thread Red Perl part I

That's strange; if you run it with warnings on, what do you see?

What does this say?

print join ":", map ord, split //, <DATA>;__DATA__ .W&fKq

Replies are listed 'Best First'.
Re: Re: Re: Red Perl part I
by mpolo (Chaplain) on May 02, 2004 at 14:25 UTC
    Here's the output under perl -w
    Argument "*" isn't numeric in array element at index.pl line 7, <DATA> + line 1. Argument "" isn't numeric in array element at index.pl line 7, <DATA> +line 1. Argument "" isn't numeric in array element at index.pl line 7, <DATA> +line 1. The hmneede
    The other code fragment prints 46:87:38:102:75:113:13:10