in reply to Re^2: Simple Perl, to get me started.
in thread Simple Perl, to get me started.

"is there a way to do the same job without these new things, like use strict and use warnings.."

See Use strict and warnings and Use strict warnings and diagnostics or die.

"so im thinking how out of thin air was I meant to have known these from the past codes."

Perhaps you could have done research into the tool you have been asked to use?

Replies are listed 'Best First'.
Re^4: Simple Perl, to get me started.
by Anonymous Monk on Oct 27, 2010 at 16:42 UTC

    For an analogy:
    You got this one recipe that needs adjusting from an eccentric guy with only a poofy hat and a spatula...

    use strict; # Like wearing pants in the kitchen use warnings; # Shirts are good when the boiling grease is flying too