in reply to $mech help

Have you read perlintro? It talks about storing stuff in variables

Replies are listed 'Best First'.
Re^2: $mech help
by helpme123 (Initiate) on Sep 24, 2015 at 10:05 UTC
    Its not that simple. Its not two seperate prints, it prints both names in one print so how do i split them into two variables?

      Then your first step should be to identify the "one print" and split it up into two separate print statements. For example,

      print %s

      could be changed into a loop over the hash keys:

      for my $key (keys %s) { print "Key: %key, Value: $s{ $key }\n"; };
      length and substr, maybe?
      لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ
        What do you mean? I really do need help with this, i have no idea. I know its not straight forward
      What line is that?