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

so I just have to type these commands before my script to do so , if not then how to do it ??
% pp -o packed.exe source.pl $ packed.exe

sorry for asking so basic questions , first time user

Replies are listed 'Best First'.
Re^5: creating utility in perl
by 2teez (Vicar) on Jul 04, 2013 at 08:31 UTC

    Just like the documentation said.

    # 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
    YES!!!
    what are you afraid of. Worse it won't run, is that not so? Atleast it wouldn't transport you to MARS!!! :)

    If you tell me, I'll forget.
    If you show me, I'll remember.
    if you involve me, I'll understand.
    --- Author unknown to me
Re^5: creating utility in perl
by marto (Cardinal) on Jul 04, 2013 at 08:32 UTC

    What happened when you tried this? Seriously, it would have been quicker for you to do this yourself rather than ask people what will happen.

      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>

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