in reply to Use of IO::All

I am unable to reproduce your reported problem. Here is my SSCCE:

#!/usr/bin/env perl use strict; use warnings; package Foo; use IO::All; sub foo { my $text = 'bar'; $text >> io ('/tmp/quux.txt'); } package main; Foo::foo ();

It runs to completion without error or warning. With nothing further to go on I can only assume that the problem lies in the code you have not shown.


🦛

Replies are listed 'Best First'.
Re^2: Use of IO::All
by geoffleach (Scribe) on Feb 10, 2024 at 17:59 UTC
    Turns out that the problem stems from my inability to distinguish between {} and () in my code. Thanks for the help; sorry for the trouble.