in reply to 5.pl i have another new example
in thread a new example

This makes no sense as a reply to what I wrote, nor does it make any sense in the context of this thread.

If you'd care to clarify your intent, that would be good. :-)

-- Ken

Replies are listed 'Best First'.
Re^2: 5.pl i have another new example
by Raymond (Novice) on Jul 30, 2013 at 19:08 UTC
    Iam triyng to make a perl site, with examples, this is another one of the samples on perll cookbook and they don't work, and iam asking for help, this one was used on the wrong place, my apologies. Other think I bought a license of Mirc, and i can't use it because it was stolen electroniclly, I don't know were to ask for help, any ideas? I usally put my head intgo work when this thinks happen so:
    #!/usr/bin/perl use strict; use warnings; #extract column with unpack $a = "To be or not to be"; $b = unpack("x6 A6", $a); #skip 6, grab 6 print $b; ($b, $c) = unpack("x6 A2 x5 A2", $a); #forward 6, grab 2; backward 5 +, grab 2 print "$b\n$c\n";
    errors:

    Global symbol "$c" requires explicit package name at 7.pl line 10.

    Global symbol "$c" requires explicit package name at 7.pl line 11.

    Execution of 7.pl aborted due to compilation errors.