Zo has asked for the wisdom of the Perl Monks concerning the following question:
Hello all..
I'm just curious if AWK and Perl can be used simultaniously.. I mean, AWK basically (in my opinion) not very friendly, I kinda hate it, but have to use it... and my task at hand is to compare files of info using AWK. A very simple thing for me to do in Perl (done it before)... but is there a way within an AWK script to run a Perl funtion?.. and how would that be done?.. I know in AWK there's a 'SYSTEM' command.
I'm not looking for how do to my job, but is it do-able what I'm asking?.. I don't know if this sounds right, easier for me to say than to type.. cause I can talk ALOT!!! Just curious if others have done anything similar and if it's do-able, or should I just keep on trying with AWK and stay in my mode of frustration when I know that I can do this in Perl, but having hands tied here.. a slave to "da- man" at work...
in the dungeon I stay....
-Zo
I'm just curious if AWK and Perl can be used simultaniously.. I mean, AWK basically (in my opinion) not very friendly, I kinda hate it, but have to use it... and my task at hand is to compare files of info using AWK. A very simple thing for me to do in Perl (done it before)... but is there a way within an AWK script to run a Perl funtion?.. and how would that be done?.. I know in AWK there's a 'SYSTEM' command.
I'm not looking for how do to my job, but is it do-able what I'm asking?.. I don't know if this sounds right, easier for me to say than to type.. cause I can talk ALOT!!! Just curious if others have done anything similar and if it's do-able, or should I just keep on trying with AWK and stay in my mode of frustration when I know that I can do this in Perl, but having hands tied here.. a slave to "da- man" at work...
in the dungeon I stay....
-Zo
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: AWK and Perl on UNIX
by kschwab (Vicar) on Mar 30, 2001 at 04:20 UTC | |
by grinder (Bishop) on Mar 30, 2001 at 19:30 UTC | |
by davorg (Chancellor) on Mar 30, 2001 at 19:38 UTC | |
by grinder (Bishop) on Mar 30, 2001 at 19:51 UTC | |
Re: AWK and Perl on UNIX
by stephen (Priest) on Mar 30, 2001 at 02:58 UTC | |
Re: AWK and Perl on UNIX
by Zo (Scribe) on Mar 30, 2001 at 18:42 UTC |
Back to
Seekers of Perl Wisdom