I have used the substitution method before with good success, wrapping keywords like this: %keyword%
However, you might also consider using function calls...
#! /usr/bin/env perl use strict; use warnings; use 5.10.0; sub url { 'http://something.com/api_stuff/' . shift } say 'POST->' . url('1234');
πάντων χρημάτων μέτρον έστιν άνθρωπος.
In reply to Re: Strings with undefined variables?
by jimpudar
in thread Strings with undefined variables?
by 23skiddoo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |