Jump to content

output from perl script


Recommended Posts

I do not know how to do one simple (but important!) thing.

 

How do I output from my perl script so that I have a {query} to post as a notification?

 

My workflow looks like this...

 

KEYWORD   ------->   RUN SCRIPT (/usr/bin/perl)   -----------> POST NOTIFICATION (from {query})

 

My perl script says...

$i = '{query}';

#$print "$i";
#system("echo $i");
#return $i;
 
I commented out all three because none of them worked.  How do I output to the NOTIFICATION?
 
Thanks!
Link to comment

 

I do not know how to do one simple (but important!) thing.

 

How do I output from my perl script so that I have a {query} to post as a notification?

 

My workflow looks like this...

 

KEYWORD   ------->   RUN SCRIPT (/usr/bin/perl)   -----------> POST NOTIFICATION (from {query})

 

My perl script says...

$i = '{query}';

#$print "$i";
#system("echo $i");
#return $i;
 
I commented out all three because none of them worked.  How do I output to the NOTIFICATION?
 
Thanks!

 

 

I know nothing about perl but doing a simple..

$i = "{query}";
print $i;

Seemed to work when passing to a notification. In the notification, set the message to {query}

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...