Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Molt's scratchpad

by Molt (Chaplain)
on Jun 03, 2004 at 10:30 UTC ( #360043=scratchpad: print w/replies, xml ) Need Help??

sub do_funky_tag_thing { my ($text1, $text2) = @_; # Build the command-line args from the web-service # args. Some funky logic here.. my %args; $args{'-opt1'} = $text1 if defined $text1; if (defined $text1 and defined $text2) { $args{'-opt2'} = process_text($text2); } # Log the command to L4P for audit purposes. my $external_command = 'tag '; for my $opt (keys %args) { $external_command .= $opt.' '.shell_escape($args{$opt)) } get_logger->info( "Running external command: $external_command"; ); # Now run the actual command.. with no reliance on # shell_escape() system('tag',%args); }
Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
[1nickt]: hm, what did I do wrong? No download link in a code secrtion of a node I just posted ...
[Corion]: I see a download link there?
[Corion]: (at least the curl stuff is in a download link)
[Corion]: Also, I think the OPs problem is on their intranet and not on the internet (also, they should likely use WWW::Mechanize instead, which knows about cookie)
[1nickt]: yes, could be.
[1nickt]: I don;t see the link , definitely, after reloading the node
[1nickt]: Is it possible to disable it?
[Discipulus]: if you mean [download] after the code it is there 1nickt
[1nickt]: yes, Corion sees it too, and I see it when not logged in.

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (10)
As of 2017-05-23 18:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?