in reply to Re^3: searching data lines between keywords
in thread searching data lines between keywords
I would like to create the array if it doesn't exist and not do anything otherwise. This is similar to the touch command in Unix-like environments. The command push @{$ref}; does exactly that: it pushes nothing onto the array, which creates it if necessary but doesn't change it if it exists.
|
|---|