Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: hmm - - - something has changed in perl (from 5.34 to 5.36

by tybalt89 (Monsignor)
on Nov 23, 2022 at 18:34 UTC ( #11148336=note: print w/replies, xml ) Need Help??


in reply to hmm - - - something has changed in perl (from 5.34 to 5.36

try replacing the code you showed with

foreach my $arg (@ARGV) { if( $arg =~ /^-B(\d+)$/ ) { $before = $1; } elsif ( $before eq '-B' ) { $before = $arg; if( $before !~ /^\d+/ ) { die "Bad before argument ($before)\n"; } } elsif ( $arg eq '-B' ) { $before = $arg; } }

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11148336]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2023-06-08 02:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How often do you go to conferences?






    Results (29 votes). Check out past polls.

    Notices?