in reply to perl's command line snippet which I read from a perl article ( perl tutrous )

Read perlrun or perldoc perlrun, especially about the -i switch.