in reply to Re^5: creating utility in perl
in thread creating utility in perl

i did write these commands at the top of script it said
syntax error at modify.pl line 2, near "% pp -o " "use" not allowed in expression at modify.pl line 8, at end of line BEGIN not safe after errors--compilation aborted at modify.pl line 9. Press any key to continue . . .
and this is how code head looks like </code > # makes packed.exe % pp -o packed.exe source.pl # Now, deploy 'packed.exe' to target machine... # on the target machine now do this.... $ packed.exe #!/bin/perl -w use strict; use warnings; </code>

Replies are listed 'Best First'.
Re^7: creating utility in perl
by marto (Cardinal) on Jul 04, 2013 at 09:35 UTC

    You don't do this within a your perl code, this runs from the command line.

      where should the path be directed to before typing these commands

        For the example you have, you need to be in the directory containing your perl script which you want to package.