Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Archive::Tar->list_archive Properties

by Corion (Patriarch)
on Mar 10, 2015 at 13:36 UTC ( [id://1119496]=note: print w/replies, xml ) Need Help??


in reply to Archive::Tar->list_archive Properties

Note that Perl is not Visual Basic. ,, does not create an empty element:

use strict; use Data::Dumper; sub print_args { print Dumper \@_; }; print "Plain:\n"; print_args( 'foo', 'bar' ); print "With ',,':\n"; print_args( 'foo',, 'bar' ); print "Explicit:\n"; print_args( 'foo', undef, 'bar' );

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (8)
As of 2024-04-18 16:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found